VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtCigiAnimationEntity Class Reference

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

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

Public Member Functions

 DtCigiAnimationEntity (DtCigiConnection &connection, DtAgentManagerInterface &sceneInterface, int entityId, int entityType)
 Constructor.
virtual ~DtCigiAnimationEntity ()
 Destructor.
virtual void stop ()
 Stop the animation.
virtual void start ()
 Start the animation.
virtual void pause ()
 Pause the animation.
virtual void resume ()
 Resume the animation.
virtual void setLoopMode (bool loopOn)
 Set the loop mode of the animation.
virtual void setReverseAnimation (bool reverse)
 Set the direction of the animation.
- Public Member Functions inherited from makVrv::DtCigiBaseEntity
 DtCigiBaseEntity (DtCigiConnection &connection, DtAgentManagerInterface &sceneInterface, int entityId, int entityType)
 Constructor takes a DtCigiConnection, scene interface, and the CIGI entity ID/type.
virtual ~DtCigiBaseEntity ()
 Destructor.
virtual DtUniqueID uniqueId () const
 Returns the unique ID of the entity's scene object.
virtual int cigiId () const
 Returns the ID of the CIGI entity.
virtual void init ()
virtual void setVisible (bool yesNo)
 Set whether the entity is visible.
virtual void setDeadReckoningOn (bool onOff)
 Turns dead-reckoning on/off.
virtual void setPosition (const DtGeodeticCoord &pos, bool force=false)
 Set the entity's geodetic position.
virtual const DtGeodeticCoord & position () const
 Returns the last position set by a CIGI entity control message.
virtual const DtVectorlocalPosition () const
 Returns the last computed local position set.
virtual void setOrientation (const DtTaitBryan &orientation, bool force=false)
 Set the entity's orientation.
virtual const DtTaitBryan & orientation () const
 Returns the last orientation set by a CIGI entity control message.
virtual void setLinearRate (const DtVector &rate, bool useWorldCoordinates=true)
 Sets the entity's linear rate.
virtual void setAngularRate (const DtVector &rate, bool useWorldCoordinates=true)
 Set's the entity's angular rate.
virtual void setRelativeTo (DtCigiBaseEntity *parent)
 Attachment control.
virtual void setRelativePosition (const DtVector &pos)
 Sets the entity's relative position (if attached).
virtual void setRelativeOrientation (const DtTaitBryan &orient)
 Sets the entity's relative orientation (relative to the parent's body coordinates) if attached.
virtual void slot_deadReckoningAllowed (bool allowed)
 Called when IG-wide extrapolation is turned on or off.
virtual void setAlpha (int alpha)
 Sets the entity's alpha value.
virtual int alpha () const
 Returns the entity's alpha value.
virtual void setInheritAlpha (bool inherit)
 Set whether the entity should inherit alpha from its parent.
virtual void slot_alphaChanged (int alpha, DtUniqueID id)
 Slot so we can check if the parent's alpha has changed.
virtual void setGroundClampingOn (DtGroundClampingUpdater::GroundClampingMode clampType)
 Turns ground clamping on/off.

Protected Attributes

DtAnimationModelAgent * myAnimationModel
- Protected Attributes inherited from makVrv::DtCigiBaseEntity
DtSceneObjectAgent * mySceneObject
DtModelAgent * myModel
DtDeadReckonUpdaterAgent * myDeadReckonUpdaterAgent
DtGroundClampingUpdaterAgent * myGroundClampingUpdaterAgent
DtEmbarkationUpdaterAgent * myEmbarkationUpdaterAgent
bool myDeadReckoningOn
bool myEmbarked
DtGroundClampingUpdater::GroundClampingMode myGroundClampingType
DtGeodeticCoord myLastPosition
DtVector myLastLocalPosition
DtTaitBryan myLastOrientation
DtTaitBryan myLastLocalOrientation
DtTaitBryan myLastGeocentricOrientation
DtVector myLastVelocity
DtVector myLastAngularVelocity
DtCigiConnectionmyConnection
DtAgentManagerInterfacemySceneInterface
int myEntityId
int myEntityType
DtCigiBaseEntitymyParent
DtUniqueID myEmbarkedParentID
bool myInheritAlpha
int myAlpha
bool myVisiblity
DtSignalConnectionManager mySignalConnections

Additional Inherited Members

- Public Attributes inherited from makVrv::DtCigiBaseEntity
boost::signal< void(int,
DtUniqueID)> 
signal_alphaChanged
 Emitted when this entity's alpha has changed.
- Protected Member Functions inherited from makVrv::DtCigiBaseEntity
virtual void startDeadReckoning ()
 Create and set up Dead Reckoning updater.
virtual void endDeadReckoning ()
 Remove the Dead Reckoning updater.
virtual void startEmbarked ()
 Create and set up Embarkation updater.
virtual void endEmbarked ()
 Remove the Embarkation updater.
virtual void startGroundClamping ()
 Create and set up Ground Clamping updater.
virtual void endGroundClamping ()
 Remove the Ground Clamping updater.
virtual void buildGroundClampingUpdater ()

Detailed Description

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

Constructor & Destructor Documentation

makVrv::DtCigiAnimationEntity::DtCigiAnimationEntity ( DtCigiConnection connection,
DtAgentManagerInterface sceneInterface,
int  entityId,
int  entityType 
)

Constructor.

virtual makVrv::DtCigiAnimationEntity::~DtCigiAnimationEntity ( )
virtual

Destructor.

Member Function Documentation

virtual void makVrv::DtCigiAnimationEntity::stop ( )
virtual

Stop the animation.

virtual void makVrv::DtCigiAnimationEntity::start ( )
virtual

Start the animation.

virtual void makVrv::DtCigiAnimationEntity::pause ( )
virtual

Pause the animation.

virtual void makVrv::DtCigiAnimationEntity::resume ( )
virtual

Resume the animation.

virtual void makVrv::DtCigiAnimationEntity::setLoopMode ( bool  loopOn)
virtual

Set the loop mode of the animation.

virtual void makVrv::DtCigiAnimationEntity::setReverseAnimation ( bool  reverse)
virtual

Set the direction of the animation.

Member Data Documentation

DtAnimationModelAgent* makVrv::DtCigiAnimationEntity::myAnimationModel
protected

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

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)