VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes

A DtCigiAnimationEntity is a CIGI entity that loads an articulated model. More...

Inheritance diagram for makVrv::DtCigiEntity:
Inheritance graph
[legend]

List of all members.

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, DtVectormyLastArtPartTranslation
std::map< int, DtVectormyArtPartAngularRate
std::map< int, DtVectormyArtPartLinearRate

Detailed Description

A DtCigiAnimationEntity is a CIGI entity that loads an articulated model.


Constructor & Destructor Documentation

makVrv::DtCigiEntity::DtCigiEntity ( DtCigiConnection connection,
DtAgentManagerInterface mySceneInterface,
int  entityId,
int  entityType 
)

Constructor.

virtual makVrv::DtCigiEntity::~DtCigiEntity ( ) [virtual]

Destructor.


Member Function Documentation

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.


Member Data Documentation

DtArticulatedModelAgent* makVrv::DtCigiEntity::myArticulatedModel [protected]
std::map<int, DtTaitBryan> makVrv::DtCigiEntity::myLastArtPartOrientation [protected]

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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)