146 virtual
agx::
Vec3 calculateMomentOfInertia() const = 0;
152 virtual
agx::
Real getCrossSectionArea() const = 0;
158 virtual
agx::
Vec2 getMaxHeightWidth() const = 0;
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;
320 virtual
agx::
String validate() const override;
394 virtual
agx::
Vec3 calculateMomentOfInertia() const override;
399 virtual
agx::
Real getCrossSectionArea() const override;
404 virtual
agx::
Vec2 getMaxHeightWidth() 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;
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;
607 virtual
agx::
String validate() const override;
666 virtual
agx::
Vec3 calculateMomentOfInertia() const override;
671 virtual
agx::
Real getCrossSectionArea() const override;
676 virtual
agx::
Vec2 getMaxHeightWidth() const override;
687 virtual
agx::
String validate() const override;
720 virtual
agx::
Vec3 calculateMomentOfInertia() const override;
726 virtual
agx::
Real getCrossSectionArea() const override;
732 virtual
agx::
Vec2 getMaxHeightWidth() 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
virtual agx::Vec3 getMomentOfInertia() const final
Moment of inertia of the beam model, where: About x (up): Lateral About y (right): Vertical About z (...
BeamModelProperties * getProperties() const
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...
agx::ref_ptr< Geometry > GeometryRef
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...
InputRef< T > in(const char *name, T &obj)
Create an object with a name and a reference to the object that should be restored (usually a pointer...
OutputRef< Serializable > out(const char *name, const Serializable *obj)
Return an object that contain the name and the object that should be serialized to an archive.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Vec3T< Real > Vec3
The object holding 3 dimensional vectors and providing basic arithmetic.
Vector< AgXString< std::string > > StringVector
AgXString< std::string > String
Vec2T< Real > Vec2
The object holding 2 dimensional vectors and providing basic arithmetic.
Stiffness and damping data for constraints related to beam models.