107 void setMomentOfInertiaScale(
agx::Vec3 momentOfInertiaScale );
112 agx::Vec3 getMomentOfInertiaScale()
const;
119 void setPolarMomentOfInertiaScale(
agx::Real polarMomentOfInertiaScale );
124 agx::Real getPolarMomentOfInertiaScale()
const;
136 virtual agx::Vec3 getMomentOfInertia()
const final;
146 virtual agx::Vec3 calculateMomentOfInertia()
const = 0;
152 virtual agx::Real getCrossSectionArea()
const = 0;
158 virtual agx::Vec2 getMaxHeightWidth()
const = 0;
184 bool loadLibraryProperties(
const agx::String& name);
297 virtual agx::Vec3 calculateMomentOfInertia()
const override;
302 virtual agx::Real getCrossSectionArea()
const override;
307 virtual agx::Vec2 getMaxHeightWidth()
const override;
394 virtual agx::Vec3 calculateMomentOfInertia()
const override;
399 virtual agx::Real getCrossSectionArea()
const override;
404 virtual agx::Vec2 getMaxHeightWidth()
const override;
474 virtual agx::Vec3 calculateMomentOfInertia()
const override;
479 virtual agx::Real getCrossSectionArea()
const override;
484 virtual agx::Vec2 getMaxHeightWidth()
const override;
585 virtual agx::Vec3 calculateMomentOfInertia()
const override;
590 virtual agx::Real getCrossSectionArea()
const override;
595 virtual agx::Vec2 getMaxHeightWidth()
const override;
666 virtual agx::Vec3 calculateMomentOfInertia()
const override;
671 virtual agx::Real getCrossSectionArea()
const override;
676 virtual agx::Vec2 getMaxHeightWidth()
const override;
720 virtual agx::Vec3 calculateMomentOfInertia()
const override;
726 virtual agx::Real getCrossSectionArea()
const override;
732 virtual agx::Vec2 getMaxHeightWidth()
const override;
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...
Stiffness and damping data for constraints related to beam models.
Circular cross section beam model with a given radius.
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...
I-beam model with a given width, height, flange thickness and web thickness.
Bulk beam model properties present in all agxModel::BeamModel instances, which in turn propagates the...
#define AGX_DECLARE_POINTER_TYPES(type)
Generic beam model throwing exceptions for non-implemented virtual methods.
Rectangular cross section beam model with a given width and height.
Base class providing referencing counted objects.
Contain classes for higher level modeling primitives, such as Tree, Terrain etc.
Beam model interface requiring moment of inertia (area moment in x, y and polar moment in z)...
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
This class is an abstract base class for all classes that can be stored and retrieved from an Archive...
Class for writing serialized data in binary format to a stream.
#define AGXSTREAM_DECLARE_ABSTRACT_SERIALIZABLE(T)
Use this in a pure abstract Serializable class to add the required methods Important: Use full namesp...
Hollow rectangular cross section beam model with a given width, height and thickness.
#define DOXYGEN_END_INTERNAL_BLOCK()
Hollow circular cross section beam model with a given (outer) radius and thickness.
#define DOXYGEN_START_INTERNAL_BLOCK()