146 virtual
agx::Vec3 calculateMomentOfInertia() const = 0;
152 virtual
agx::Real getCrossSectionArea() const = 0;
158 virtual
agx::Vec2 getMaxHeightWidth() const = 0;
169 virtual
agxCollide::GeometryRef getSegmentGeometry(
agx::Real segmentLength ) const = 0;
177 virtual
agx::String validate() const = 0;
184 bool loadLibraryProperties(const
agx::String& name);
191 static
agx::StringVector getAvailableLibraryProperties();
200 virtual
void store(
agxStream::OutputArchive& out ) const override;
201 virtual
void restore(
agxStream::InputArchive& in ) override;
213 agx::Vec3 m_momentOfInertiaScale;
297 virtual
agx::Vec3 calculateMomentOfInertia() const override;
302 virtual
agx::Real getCrossSectionArea() const override;
307 virtual
agx::Vec2 getMaxHeightWidth() const override;
312 virtual
agxCollide::GeometryRef getSegmentGeometry(
agx::Real segmentLength ) const override;
320 virtual
agx::String validate() const override;
331 agx::Real m_flangeThickness;
332 agx::Real m_webThickness;
394 virtual
agx::Vec3 calculateMomentOfInertia() const override;
399 virtual
agx::Real getCrossSectionArea() const override;
404 virtual
agx::Vec2 getMaxHeightWidth() const override;
410 virtual
agxCollide::GeometryRef getSegmentGeometry(
agx::Real segmentLength ) const override;
416 virtual
agx::String validate() const override;
474 virtual
agx::Vec3 calculateMomentOfInertia() const override;
479 virtual
agx::Real getCrossSectionArea() const override;
484 virtual
agx::Vec2 getMaxHeightWidth() const override;
489 virtual
agxCollide::GeometryRef getSegmentGeometry(
agx::Real segmentLength ) const override;
494 virtual
agx::String validate() const override;
585 virtual
agx::Vec3 calculateMomentOfInertia() const override;
590 virtual
agx::Real getCrossSectionArea() const override;
595 virtual
agx::Vec2 getMaxHeightWidth() const override;
600 virtual
agxCollide::GeometryRef getSegmentGeometry(
agx::Real segmentLength ) const override;
607 virtual
agx::String validate() const override;
618 agx::Real m_thickness;
666 virtual
agx::Vec3 calculateMomentOfInertia() const override;
671 virtual
agx::Real getCrossSectionArea() const override;
676 virtual
agx::Vec2 getMaxHeightWidth() const override;
681 virtual
agxCollide::GeometryRef getSegmentGeometry(
agx::Real segmentLength ) const override;
687 virtual
agx::String validate() const override;
697 agx::Real m_thickness;
720 virtual
agx::Vec3 calculateMomentOfInertia() const override;
726 virtual
agx::Real getCrossSectionArea() const override;
732 virtual
agx::Vec2 getMaxHeightWidth() const override;
738 virtual
agxCollide::GeometryRef getSegmentGeometry(
agx::Real segmentLength ) const override;
744 virtual
agx::String validate() const override;
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE(T)
Use this in a pure abstract Serializable class to add the required methods Important: Use full namesp...
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Bulk beam model properties present in all agxModel::BeamModel instances, which in turn propagates the...
Beam model interface requiring moment of inertia (area moment in x, y and polar moment in z),...
agx::Real getPolarMomentOfInertiaScale() const
void setMomentOfInertiaScale(agx::Vec3 momentOfInertiaScale)
Scale of the calculated moment of inertia of this model, default scale (1, 1, 1).
void setPolarMomentOfInertiaScale(agx::Real polarMomentOfInertiaScale)
Assign new polar moment of inertia scale.
agx::Vec3 getMomentOfInertiaScale() const
BeamModelProperties * getProperties() const
virtual agx::Vec3 getMomentOfInertia() const final
Moment of inertia of the beam model, where: About x (up): Lateral About y (right): Vertical About z (...
BeamStiffnessDamping calculateStiffnessDamping(agx::UInt numBeamSegments, agx::Real beamSegmentLength) const
Calculates stiffness dependent on moment of inertia, cross section area, beam segment length and numb...
void setProperties(BeamModelProperties *properties)
Assign properties instance, a new default will be created if properties is nullptr.
Circular cross section beam model with a given radius.
agx::Real getRadius() const
CircularBeam(agx::Real radius, BeamModelProperties *properties=nullptr)
Construct a circular cross section beam model with a given radius and optional beam model properties.
Generic beam model throwing exceptions for non-implemented virtual methods.
GenericBeamModel(BeamModelProperties *properties=nullptr)
Construct given optional model properties.
Hollow circular cross section beam model with a given (outer) radius and thickness.
agx::Real getRadius() const
agx::Real getThickness() const
agx::Real getHollowRadius() const
HollowCircularBeam(agx::Real radius, agx::Real thickness, BeamModelProperties *properties=nullptr)
Construct a hollow circular cross section beam model given (outer) radius and thickness.
Hollow rectangular cross section beam model with a given width, height and thickness.
agx::Real getHeight() const
agx::Real getHollowHeight() const
HollowRectangularBeam(agx::Real width, agx::Real height, agx::Real thickness, BeamModelProperties *properties=nullptr)
Construct a hollow rectangular cross section beam model given width, height, thickness and optional b...
agx::Real getHollowWidth() const
agx::Real getWidth() const
agx::Real getThickness() const
I-beam model with a given width, height, flange thickness and web thickness.
agx::Real getWebHeight() const
agx::Real getWidth() const
IBeam(agx::Real width, agx::Real height, agx::Real flangeThickness, agx::Real webThickness, BeamModelProperties *properties=nullptr)
Construct an I-beam model given width, height, flange thickness, web thickness and optional propertie...
agx::Real getWebThickness() const
agx::Real getFlangeThickness() const
agx::Real getHeight() const
Rectangular cross section beam model with a given width and height.
RectangularBeam(agx::Real width, agx::Real height, BeamModelProperties *properties=nullptr)
Construct a rectangular beam model with a given width, height and optional beam model properties.
agx::Real getWidth() const
agx::Real getHeight() const
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
Base class providing referencing counted objects.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
This namespace consists of a set of classes for handling geometric intersection tests including boole...
Contain classes for higher level modeling primitives, such as Tree, Terrain etc.
This namespace contain classes for streaming classes into archives, ASCII, binary for storage (serial...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Stiffness and damping data for constraints related to beam models.