![]() |
VR-Forces 4.0.4 Class Documentation
|
A DtCigiAnimationEntity is a CIGI entity that loads an articulated model. More...

Public Member Functions | |
| DtCigiEntity (DtCigiConnection &connection, DtAgentManagerInterface &mySceneInterface, int entityId, int entityType) | |
| Constructor. | |
| virtual | ~DtCigiEntity () |
| Destructor. | |
| virtual void | setState (int stateId, int stateValue) |
| Set the state of a model to a value. | |
| virtual void | setArtPartTranslation (int partId, float xOffset, float yOffset, float zOffset, bool xEnable, bool yEnable, bool zEnable) |
| Set the relative position of an articulated part. | |
| virtual void | setArtPartOrientation (int partId, float yaw, float pitch, float roll, bool yawEnable, bool pitchEnable, bool rollEnable) |
| Set the orientation of an articulated part. | |
| virtual void | setArtPartLinearRate (int partId, float xRate, float yRate, float zRate) |
| Set the linear rate of an articulated part. | |
| virtual void | setArtPartAngularRate (int partId, float yawRate, float pitchRate, float rollRate) |
| Set the angular rate of an articulated part. | |
| virtual void | setArtPartEnable (int partId, bool trueFalse) |
| Enable/disable an articulated part. | |
| virtual void | setAnimationSpeed (const std::string &animationName, double speed) |
| Set the speed of an animation within the model. | |
| virtual void | setAnimationFrame (const std::string &animationName, int frame) |
| Set the frame of an animation within the model. | |
| virtual void | setAnimationRange (const std::string &animationName, int firstFrameIndex, int lastFrameIndex) |
| Set the range of an animation within the model. | |
Protected Attributes | |
| DtArticulatedModelAgent * | myArticulatedModel |
| std::map< int, DtTaitBryan > | myLastArtPartOrientation |
| std::map< int, DtVector > | myLastArtPartTranslation |
| std::map< int, DtVector > | myArtPartAngularRate |
| std::map< int, DtVector > | myArtPartLinearRate |
A DtCigiAnimationEntity is a CIGI entity that loads an articulated model.
| makVrv::DtCigiEntity::DtCigiEntity | ( | DtCigiConnection & | connection, |
| DtAgentManagerInterface & | mySceneInterface, | ||
| int | entityId, | ||
| int | entityType | ||
| ) |
Constructor.
| virtual makVrv::DtCigiEntity::~DtCigiEntity | ( | ) | [virtual] |
Destructor.
| virtual void makVrv::DtCigiEntity::setState | ( | int | stateId, |
| int | stateValue | ||
| ) | [virtual] |
Set the state of a model to a value.
| virtual void makVrv::DtCigiEntity::setArtPartTranslation | ( | int | partId, |
| float | xOffset, | ||
| float | yOffset, | ||
| float | zOffset, | ||
| bool | xEnable, | ||
| bool | yEnable, | ||
| bool | zEnable | ||
| ) | [virtual] |
Set the relative position of an articulated part.
| virtual void makVrv::DtCigiEntity::setArtPartOrientation | ( | int | partId, |
| float | yaw, | ||
| float | pitch, | ||
| float | roll, | ||
| bool | yawEnable, | ||
| bool | pitchEnable, | ||
| bool | rollEnable | ||
| ) | [virtual] |
Set the orientation of an articulated part.
| virtual void makVrv::DtCigiEntity::setArtPartLinearRate | ( | int | partId, |
| float | xRate, | ||
| float | yRate, | ||
| float | zRate | ||
| ) | [virtual] |
Set the linear rate of an articulated part.
| virtual void makVrv::DtCigiEntity::setArtPartAngularRate | ( | int | partId, |
| float | yawRate, | ||
| float | pitchRate, | ||
| float | rollRate | ||
| ) | [virtual] |
Set the angular rate of an articulated part.
| virtual void makVrv::DtCigiEntity::setArtPartEnable | ( | int | partId, |
| bool | trueFalse | ||
| ) | [virtual] |
Enable/disable an articulated part.
| virtual void makVrv::DtCigiEntity::setAnimationSpeed | ( | const std::string & | animationName, |
| double | speed | ||
| ) | [virtual] |
Set the speed of an animation within the model.
| virtual void makVrv::DtCigiEntity::setAnimationFrame | ( | const std::string & | animationName, |
| int | frame | ||
| ) | [virtual] |
Set the frame of an animation within the model.
| virtual void makVrv::DtCigiEntity::setAnimationRange | ( | const std::string & | animationName, |
| int | firstFrameIndex, | ||
| int | lastFrameIndex | ||
| ) | [virtual] |
Set the range of an animation within the model.
DtArticulatedModelAgent* makVrv::DtCigiEntity::myArticulatedModel [protected] |
std::map<int, DtTaitBryan> makVrv::DtCigiEntity::myLastArtPartOrientation [protected] |
std::map<int, DtVector> makVrv::DtCigiEntity::myLastArtPartTranslation [protected] |
std::map<int, DtVector> makVrv::DtCigiEntity::myArtPartAngularRate [protected] |
std::map<int, DtVector> makVrv::DtCigiEntity::myArtPartLinearRate [protected] |