17 #ifndef AGXPOWERLINE_TRANSLATIONAL_DIMENSION_H
18 #define AGXPOWERLINE_TRANSLATIONAL_DIMENSION_H
37 #define DEFAULT_TRANSLATIONAL_DIRECTION agx::Vec3(0, 1, 0)
39 class TranslationalUnit;
62 TranslationalDimension(
67 bool externalBody =
false);
73 static std::string getStaticTypeName();
78 virtual std::string getTypeName()
const override;
83 virtual void renderDebug()
override;
88 virtual agx::Real getOutputLoad()
const override;
89 virtual agx::Real getInputLoad()
const override;
97 virtual agx::Real getPowerIn()
const override;
98 virtual agx::Real getPowerOut()
const override;
103 virtual agx::Vec3 getWorldDirection()
const;
127 TranslationalDimension();
128 virtual ~TranslationalDimension();
140 TranslationalConnector();
142 virtual PhysicalDimensionMultiBodyConstraintImplementation* createConstraint()
override;
158 virtual ~TranslationalConnector() {}
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
Links two connections together.
Abstract base class for storing/restoring a line/drums with version control.
The rigid body class, combining a geometric model and a frame of reference.
Smart pointer for handling referenced counted objects.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
agxPowerLine contains a collection of connected components that transport power across a system.
DirectionReference
The DirectionReference specifies what the direction attribute of a DimensionState is relative to.
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.