#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
agx::Real getPosition() const
virtual bool store(agxStream::StorageStream &str) const override
Stores internal data into stream.
virtual bool preUpdate(agx::Real timeStep) override
Functions that have to be public since they are called by static functions.
virtual agx::Real getDeliveredForce() const
virtual bool restore(agxStream::StorageStream &str) override
Restores internal data from stream.
agx::Real getVelocity() const
agxPowerLine::TranslationalDimensionRef m_translationalDimension
virtual ~TranslationalUnit()
TranslationalUnit()
Create a translational unit.
void setVelocityDamping(agx::Real damping)
Set velocity damping for the local direction.
void setMass(agx::Real mass)
Set the mass for the one dimensional body.
virtual agx::Vec3 getWorldDirection() const
returns a vector in world coordinates that defines the linear axis of the transational unit.
agxPowerLine::TranslationalDimension * getTranslationalDimension() const
Abstract base class for storing/restoring a line/drums with version control.
Smart pointer for handling referenced counted objects.
agxPowerLine contains a collection of connected components that transport power across a system.
agx::ref_ptr< TranslationalUnit > TranslationalUnitRef