18 #ifndef AGXPOWERLINE_DETAIL_DIMENSION_STATE_STORAGE
19 #define AGXPOWERLINE_DETAIL_DIMENSION_STATE_STORAGE
Class for writing serialized data in binary format to a stream.
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.
agxPowerLine contains a collection of connected components that transport power across a system.
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.
RigidBody accessor helper that knows how to extract rotational data from a RigidBody.
bool setMassProperty(agx::RigidBody &body, const agx::UInt8 slot, const agx::Real inertia)
void restore(agxStream::StorageStream &in, agx::RigidBody &body, const agx::Vec3 &worldDirection)
agx::Real getSecondGradient(const agx::RigidBody &body, const agx::Vec3 &worldDirection) const
agx::Real getAddedLoad(const agx::RigidBody &body, const agx::Vec3 &worldDirection) const
void setVelocityDamping(agx::RigidBody &body, const agx::UInt8 slot, const float damping)
void store(agxStream::StorageStream &out, const agx::RigidBody &body, const agx::Vec3 &worldDirection) const
agx::Real getMassProperty(const agx::RigidBody &body, agx::UInt8 slot) const
void setGradient(agx::RigidBody &body, const agx::Vec3 &worldDirection, const agx::Real angularVelocity)
static bool getAllowPacking()
agx::Vec3 getValue(const agx::RigidBody &body) const
agx::Vec3f getVelocityDamping(const agx::RigidBody &body) const
void setAddedLoad(agx::RigidBody &body, agx::UInt8 slot, agx::Real load)
float getVelocityDamping(const agx::RigidBody &body, const agx::Vec3 &worldDirection) const
void integrateValue(agx::RigidBody &body, const agx::UInt8 slot, const agx::Real timeStep)
bool setMassProperty(agx::RigidBody &body, const agx::Vec3 &inertia)
bool setMassProperty(agx::RigidBody &body, const agx::Vec3 &worldDirection, const agx::Real inertia)
void addLoad(agx::RigidBody &body, const agx::Vec3 &worldDirection, const agx::Real load)
agx::Real getMassProperty(const agx::RigidBody &body, const agx::Vec3 &worldDirection) const
agx::Vec3 getSecondGradient(const agx::RigidBody &body) const
agx::Vec3 getGradient(const agx::RigidBody &body) const
void writeJacobian(agx::Jacobian6DOFElement &G, const agx::Vec3 &jacobian) const
agx::Vec3 getMassProperty(const agx::RigidBody &body) const
void move(agx::RigidBody &oldBody, const agx::UInt8 oldSlot, agx::RigidBody &newBody, const agx::UInt8 newSlot)
void setGradient(agx::RigidBody &body, const agx::UInt8 slot, const agx::Real angularVelocity)
void setAddedLoad(agx::RigidBody &body, const agx::Vec3 &worldDirection, agx::Real load)
void setValue(agx::RigidBody &body, const agx::Vec3 &worldDirection, const agx::Real angle)
agx::Real getGradient(const agx::RigidBody &body, const agx::UInt8 slot) const
void setVelocityDamping(agx::RigidBody &body, const agx::Vec3 &worldDirection, const float damping)
float getVelocityDamping(const agx::RigidBody &body, const agx::UInt8 slot) const
void store(agxStream::OutputArchive &out) const
agx::Real getValue(const agx::RigidBody &body, const agx::Vec3 &worldDirection) const
void restore(agxStream::StorageStream &in, agx::RigidBody &body, const agx::UInt8 slot)
agx::Real getAddedLoad(const agx::RigidBody &body, const agx::UInt8 slot) const
void store(agxStream::StorageStream &out, const agx::RigidBody &body, const agx::UInt8 slot) const
void setValue(agx::RigidBody &body, const agx::UInt8 slot, const agx::Real angle)
agx::Real getSecondGradient(const agx::RigidBody &body, const agx::UInt8 slot) const
agx::Real getValue(const agx::RigidBody &body, const agx::UInt8 slot) const
void addLoad(agx::RigidBody &body, const agx::UInt8 slot, const agx::Real load)
agx::Vec3 getAddedLoad(const agx::RigidBody &body) const
agx::Real getGradient(const agx::RigidBody &body, const agx::Vec3 &worldDirection) const
void restore(agxStream::InputArchive &in)
RigidBody accessor helper that knows how to extract translational data from a RigidBody.
void setVelocityDamping(agx::RigidBody &body, const agx::UInt8 slot, const float damping)
void setVelocityDamping(agx::RigidBody &body, const agx::Vec3 &worldDirection, const float damping)
void move(agx::RigidBody &oldBody, const agx::UInt8 oldSlot, agx::RigidBody &newBody, const agx::UInt8 newSlot)
agx::Real getMassProperty(const agx::RigidBody &body, agx::UInt8 slot) const
bool setMassProperty(agx::RigidBody &body, const agx::UInt8 slot, const agx::Real mass)
void setValue(agx::RigidBody &body, const agx::Vec3 &worldDirection, const agx::Real position)
agx::Real getGradient(const agx::RigidBody &body, const agx::UInt8 slot) const
void setAddedLoad(agx::RigidBody &body, const agx::Vec3 &worldDirection, agx::Real load)
void writeJacobian(agx::Jacobian6DOFElement &G, const agx::Vec3 &jacobian) const
agx::Vec3 getGradient(const agx::RigidBody &body) const
float getVelocityDamping(const agx::RigidBody &body, const agx::Vec3 &worldDirection) const
agx::Vec3 getAddedLoad(const agx::RigidBody &body) const
bool setMassProperty(agx::RigidBody &body, const agx::Vec3 &worldDirection, const agx::Real mass)
bool setMassProperty(agx::RigidBody &body, const agx::Vec3 &mass)
void restore(agxStream::StorageStream &in, agx::RigidBody &body, const agx::UInt8 slot)
agx::Real getValue(const agx::RigidBody &body, agx::UInt8 slot) const
agx::Real getGradient(const agx::RigidBody &body, const agx::Vec3 &worldDirection) const
void setGradient(agx::RigidBody &body, const agx::Vec3 &worldDirection, const agx::Real velocity)
static bool getAllowPacking()
agx::Real getSecondGradient(const agx::RigidBody &body, const agx::Vec3 &worldDirection) const
agx::Vec3 getValue(const agx::RigidBody &body) const
agx::Real getValue(const agx::RigidBody &body, const agx::Vec3 &worldDirection) const
agx::Real getAddedLoad(const agx::RigidBody &body, const agx::Vec3 &worldDirection) const
agx::Real getAddedLoad(const agx::RigidBody &body, const agx::UInt8 slot) const
void addLoad(agx::RigidBody &body, const agx::Vec3 &worldDirection, const agx::Real load)
agx::Vec3 getSecondGradient(const agx::RigidBody &body) const
void setValue(agx::RigidBody &body, const agx::UInt8 slot, const agx::Real position)
void store(agxStream::StorageStream &out, const agx::RigidBody &body, const agx::Vec3 &worldDirection) const
agx::Real getSecondGradient(const agx::RigidBody &body, const agx::UInt8 slot) const
void addLoad(agx::RigidBody &body, const agx::UInt8 slot, const agx::Real load)
void setAddedLoad(agx::RigidBody &body, agx::UInt8 slot, agx::Real load)
agx::Real getMassProperty(const agx::RigidBody &body, const agx::Vec3 &worldDirection) const
void store(agxStream::StorageStream &out, const agx::RigidBody &body, const agx::UInt8 slot) const
void restore(agxStream::InputArchive &in)
void integrateValue(agx::RigidBody &body, const agx::UInt8 slot, const agx::Real timeStep)
agx::Vec3 getMassProperty(const agx::RigidBody &body) const
void setGradient(agx::RigidBody &body, const agx::UInt8 slot, const agx::Real velocity)
void store(agxStream::OutputArchive &out) const
float getVelocityDamping(const agx::RigidBody &body, const agx::UInt8 slot) const
agx::Vec3f getVelocityDamping(const agx::RigidBody &body) const
void restore(agxStream::StorageStream &in, agx::RigidBody &body, const agx::Vec3 &worldDirection)