AGXDynamics  2.31.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
agxPowerLine::detail::Rotational Struct Reference

RigidBody accessor helper that knows how to extract rotational data from a RigidBody. More...

#include <DimensionStateStorage.h>

Public Member Functions

 Rotational ()
 
void addLoad (agx::RigidBody &body, const agx::UInt8 slot, const agx::Real load)
 
void addLoad (agx::RigidBody &body, const agx::Vec3 &worldDirection, const agx::Real load)
 
agx::Vec3 getAddedLoad (const agx::RigidBody &body) const
 
agx::Real getAddedLoad (const agx::RigidBody &body, const agx::UInt8 slot) const
 
agx::Real getAddedLoad (const agx::RigidBody &body, const agx::Vec3 &worldDirection) const
 
agx::Vec3 getGradient (const agx::RigidBody &body) const
 
agx::Real getGradient (const agx::RigidBody &body, const agx::UInt8 slot) const
 
agx::Real getGradient (const agx::RigidBody &body, const agx::Vec3 &worldDirection) const
 
agx::Vec3 getMassProperty (const agx::RigidBody &body) const
 
agx::Real getMassProperty (const agx::RigidBody &body, agx::UInt8 slot) const
 
agx::Real getMassProperty (const agx::RigidBody &body, const agx::Vec3 &worldDirection) const
 
agx::Vec3 getSecondGradient (const agx::RigidBody &body) const
 
agx::Real getSecondGradient (const agx::RigidBody &body, const agx::UInt8 slot) const
 
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::UInt8 slot) const
 
agx::Real getValue (const agx::RigidBody &body, const agx::Vec3 &worldDirection) const
 
agx::Vec3f getVelocityDamping (const agx::RigidBody &body) const
 
float getVelocityDamping (const agx::RigidBody &body, const agx::UInt8 slot) const
 
float getVelocityDamping (const agx::RigidBody &body, const agx::Vec3 &worldDirection) const
 
void integrateValue (agx::RigidBody &body, const agx::UInt8 slot, const agx::Real timeStep)
 
void move (agx::RigidBody &oldBody, const agx::UInt8 oldSlot, agx::RigidBody &newBody, const agx::UInt8 newSlot)
 
void restore (agxStream::InputArchive &in)
 
void restore (agxStream::StorageStream &in, agx::RigidBody &body, const agx::UInt8 slot)
 
void restore (agxStream::StorageStream &in, agx::RigidBody &body, const agx::Vec3 &worldDirection)
 
void setAddedLoad (agx::RigidBody &body, agx::UInt8 slot, agx::Real load)
 
void setAddedLoad (agx::RigidBody &body, const agx::Vec3 &worldDirection, agx::Real load)
 
void setGradient (agx::RigidBody &body, const agx::UInt8 slot, const agx::Real angularVelocity)
 
void setGradient (agx::RigidBody &body, const agx::Vec3 &worldDirection, const agx::Real angularVelocity)
 
bool setMassProperty (agx::RigidBody &body, const agx::Vec3 &inertia)
 
bool setMassProperty (agx::RigidBody &body, const agx::UInt8 slot, const agx::Real inertia)
 
bool setMassProperty (agx::RigidBody &body, const agx::Vec3 &worldDirection, const agx::Real inertia)
 
void setValue (agx::RigidBody &body, const agx::UInt8 slot, const agx::Real angle)
 
void setValue (agx::RigidBody &body, const agx::Vec3 &worldDirection, const agx::Real angle)
 
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 store (agxStream::OutputArchive &out) const
 
void store (agxStream::StorageStream &out, const agx::RigidBody &body, const agx::UInt8 slot) const
 
void store (agxStream::StorageStream &out, const agx::RigidBody &body, const agx::Vec3 &worldDirection) const
 
void writeJacobian (agx::Jacobian6DOFElement &G, const agx::Vec3 &jacobian) const
 

Static Public Member Functions

static bool getAllowPacking ()
 

Detailed Description

RigidBody accessor helper that knows how to extract rotational data from a RigidBody.

A dimension state using one of these becomes a rotational dimension state. Supports both one dimensional and three dimensional accessing.

Definition at line 52 of file DimensionStateStorage.h.

Constructor & Destructor Documentation

agxPowerLine::detail::Rotational::Rotational ( )

Member Function Documentation

void agxPowerLine::detail::Rotational::addLoad ( agx::RigidBody &  body,
const agx::UInt8  slot,
const agx::Real  load 
)
void agxPowerLine::detail::Rotational::addLoad ( agx::RigidBody &  body,
const agx::Vec3 &  worldDirection,
const agx::Real  load 
)
agx::Vec3 agxPowerLine::detail::Rotational::getAddedLoad ( const agx::RigidBody &  body) const
agx::Real agxPowerLine::detail::Rotational::getAddedLoad ( const agx::RigidBody &  body,
const agx::UInt8  slot 
) const
agx::Real agxPowerLine::detail::Rotational::getAddedLoad ( const agx::RigidBody &  body,
const agx::Vec3 &  worldDirection 
) const
static bool agxPowerLine::detail::Rotational::getAllowPacking ( )
static
agx::Vec3 agxPowerLine::detail::Rotational::getGradient ( const agx::RigidBody &  body) const
agx::Real agxPowerLine::detail::Rotational::getGradient ( const agx::RigidBody &  body,
const agx::UInt8  slot 
) const
agx::Real agxPowerLine::detail::Rotational::getGradient ( const agx::RigidBody &  body,
const agx::Vec3 &  worldDirection 
) const
agx::Vec3 agxPowerLine::detail::Rotational::getMassProperty ( const agx::RigidBody &  body) const
agx::Real agxPowerLine::detail::Rotational::getMassProperty ( const agx::RigidBody &  body,
agx::UInt8  slot 
) const
agx::Real agxPowerLine::detail::Rotational::getMassProperty ( const agx::RigidBody &  body,
const agx::Vec3 &  worldDirection 
) const
agx::Vec3 agxPowerLine::detail::Rotational::getSecondGradient ( const agx::RigidBody &  body) const
agx::Real agxPowerLine::detail::Rotational::getSecondGradient ( const agx::RigidBody &  body,
const agx::UInt8  slot 
) const
agx::Real agxPowerLine::detail::Rotational::getSecondGradient ( const agx::RigidBody &  body,
const agx::Vec3 &  worldDirection 
) const
agx::Vec3 agxPowerLine::detail::Rotational::getValue ( const agx::RigidBody &  body) const
agx::Real agxPowerLine::detail::Rotational::getValue ( const agx::RigidBody &  body,
const agx::UInt8  slot 
) const
agx::Real agxPowerLine::detail::Rotational::getValue ( const agx::RigidBody &  body,
const agx::Vec3 &  worldDirection 
) const
agx::Vec3f agxPowerLine::detail::Rotational::getVelocityDamping ( const agx::RigidBody &  body) const
float agxPowerLine::detail::Rotational::getVelocityDamping ( const agx::RigidBody &  body,
const agx::UInt8  slot 
) const
float agxPowerLine::detail::Rotational::getVelocityDamping ( const agx::RigidBody &  body,
const agx::Vec3 &  worldDirection 
) const
void agxPowerLine::detail::Rotational::integrateValue ( agx::RigidBody &  body,
const agx::UInt8  slot,
const agx::Real  timeStep 
)
void agxPowerLine::detail::Rotational::move ( agx::RigidBody &  oldBody,
const agx::UInt8  oldSlot,
agx::RigidBody &  newBody,
const agx::UInt8  newSlot 
)
void agxPowerLine::detail::Rotational::restore ( agxStream::InputArchive &  in)
void agxPowerLine::detail::Rotational::restore ( agxStream::StorageStream &  in,
agx::RigidBody &  body,
const agx::UInt8  slot 
)
void agxPowerLine::detail::Rotational::restore ( agxStream::StorageStream &  in,
agx::RigidBody &  body,
const agx::Vec3 &  worldDirection 
)
void agxPowerLine::detail::Rotational::setAddedLoad ( agx::RigidBody &  body,
agx::UInt8  slot,
agx::Real  load 
)
void agxPowerLine::detail::Rotational::setAddedLoad ( agx::RigidBody &  body,
const agx::Vec3 &  worldDirection,
agx::Real  load 
)
void agxPowerLine::detail::Rotational::setGradient ( agx::RigidBody &  body,
const agx::UInt8  slot,
const agx::Real  angularVelocity 
)
void agxPowerLine::detail::Rotational::setGradient ( agx::RigidBody &  body,
const agx::Vec3 &  worldDirection,
const agx::Real  angularVelocity 
)
bool agxPowerLine::detail::Rotational::setMassProperty ( agx::RigidBody &  body,
const agx::Vec3 &  inertia 
)
bool agxPowerLine::detail::Rotational::setMassProperty ( agx::RigidBody &  body,
const agx::UInt8  slot,
const agx::Real  inertia 
)
bool agxPowerLine::detail::Rotational::setMassProperty ( agx::RigidBody &  body,
const agx::Vec3 &  worldDirection,
const agx::Real  inertia 
)
void agxPowerLine::detail::Rotational::setValue ( agx::RigidBody &  body,
const agx::UInt8  slot,
const agx::Real  angle 
)
void agxPowerLine::detail::Rotational::setValue ( agx::RigidBody &  body,
const agx::Vec3 &  worldDirection,
const agx::Real  angle 
)
void agxPowerLine::detail::Rotational::setVelocityDamping ( agx::RigidBody &  body,
const agx::UInt8  slot,
const float  damping 
)
void agxPowerLine::detail::Rotational::setVelocityDamping ( agx::RigidBody &  body,
const agx::Vec3 &  worldDirection,
const float  damping 
)
void agxPowerLine::detail::Rotational::store ( agxStream::OutputArchive &  out) const
void agxPowerLine::detail::Rotational::store ( agxStream::StorageStream &  out,
const agx::RigidBody &  body,
const agx::UInt8  slot 
) const
void agxPowerLine::detail::Rotational::store ( agxStream::StorageStream &  out,
const agx::RigidBody &  body,
const agx::Vec3 &  worldDirection 
) const
void agxPowerLine::detail::Rotational::writeJacobian ( agx::Jacobian6DOFElement &  G,
const agx::Vec3 &  jacobian 
) const

The documentation for this struct was generated from the following file: