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

A DtCigiCharacterEntity is a CIGI base entity that loads a character (Di Guy) model. More...

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

Classes

struct  gestureData
 

Public Member Functions

 DtCigiCharacterEntity (DtCigiConnection &connection, DtAgentManagerInterface &sceneInterface, int entityId, int entityType)
 Constructor. More...
 
virtual ~DtCigiCharacterEntity ()
 Destructor. More...
 
virtual void init ()
 Calls down to DtCigiBaseEntity::init(), creates an character model, provides a model definition to it, and adds it to the scene object created in DtCigiBaseEntity::init(). More...
 
virtual void uninit ()
 Calls down to DtCigiBaseEntity::uninit(), and then deletes the character model created in init(). More...
 
virtual void restart ()
 Calls down to DtCigiBaseEntity::restart(), then reinintializes art parts and alive state. More...
 
virtual void setPosition (const DtGeodeticCoord &pos, bool force=false)
 Set the entity's geodetic position. More...
 
virtual void setOrientation (const DtTaitBryan &orientation, bool force=false)
 Set the entity's orientation. More...
 
virtual void setCharacterPaused (bool paused)
 Set paused state without specifying an action. More...
 
virtual void setCharacterActionSpeed (float speed)
 Change action speed of an existing action. More...
 
virtual void unforceAction ()
 If a character action has been given earlier, it overrides any posture / weapon state settings. More...
 
virtual void setCharacterAction (const std::string &action)
 Set a character action. Will used saved previous paused, speed, and offset. More...
 
virtual void setCharacterAction (const std::string &action, bool paused, double speed, bool usePositioning, const DtVector &offset)
 Fully set a character action. More...
 
virtual void setCharacterPosture (DtCharacterModel::Posture posture)
 Set a character's posture. More...
 
virtual void setWeaponDeployed (bool deployed)
 Set whether the character's weapon is deployed. More...
 
virtual bool weaponDeployed () const
 Get whether the character's weapon is deployed. More...
 
virtual void setAlive (bool alive)
 Set whether the character is alive. More...
 
virtual bool alive () const
 Get whether the character is alive. More...
 
virtual void executeGesture (const std::string &gestureName, int reps, float duration, float channelAWeight)
 Execute the specified gesture reps - how many times the gesture should be repeated; default is 1 if no duration is specified, or best fit if there is a duration specified duration - how long the gesture should be executed; default is such that no time scaling occurs channelAWeight - the weight given to channel A of the gesture; ignored if the gesture does not have multiple channels Note that if a gesture with the same name is already executing, this is ignored. More...
 
virtual void endGesture (const std::string &gestureName, float rampDown)
 Stop the named gesture from executing. More...
 
virtual void setItemAppearance (const std::string &itemAppearance)
 Set the appearance of the entity's currently held item. More...
 
virtual const std::string & itemAppearance () const
 Get the appearance of the entity's currently held item, if set. More...
 
virtual void setHeadAppearance (const std::string &headAppearance)
 Set the appearance of the entity's current head. More...
 
virtual const std::string & headAppearance () const
 Get the appearance of the entity's current head. More...
 
virtual void setCharacterScale (const DtVector &scale)
 Set the character scale. More...
 
virtual const DtVectorcharacterScale () const
 
virtual void setCharacterWeight (float characterWeight)
 Set the character weight. More...
 
virtual float characterWeight () const
 Get the character weight. More...
 
virtual void setWaterlineOriginOffset (float offset)
 Set the amount that a bouyant entity's origin is offset from the waterline. More...
 
virtual void startEmbarked ()
 Override to prevent amphibious behavior when embarked. More...
 
virtual void endEmbarked ()
 Override to restore amphibious behavior when disembarked. More...
 
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. More...
 
virtual void setArtPartOrientation (int partId, float yaw, float pitch, float roll, bool yawEnable, bool pitchEnable, bool rollEnable)
 Set the orientation of an articulated part. More...
 
virtual void setArtPartLinearRate (int partId, float xRate, float yRate, float zRate)
 Set the linear rate of an articulated part. More...
 
virtual void setArtPartAngularRate (int partId, float yawRate, float pitchRate, float rollRate)
 Set the angular rate of an articulated part. More...
 
virtual void setArtPartEnable (int partId, bool trueFalse)
 Enable/disable an articulated part. More...
 
virtual void setIsAmphibious (bool isAmphibious)
 This is used by the buoyancy model to indicate if checks need to be made for being over water. More...
 
virtual bool isAmphibious () const
 
virtual bool gestureInitialRepetitions (const std::string &gestureName, int &reps) const
 The repetition count this gesture was started with (< 0. More...
 
virtual bool gestureInitialDuration (const std::string &gestureName, float &duration) const
 The duration (in seconds) the gesture was started with (< 0. More...
 
virtual bool gestureChannelAWeight (const std::string &gestureName, float &weight) const
 The weight assigned to the 'A' channel (for a multi-channel gesture) returns false if the gesture isn't found. More...
 
- 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. More...
 
virtual ~DtCigiBaseEntity ()
 Destructor. More...
 
virtual DtUniqueID uniqueId () const
 Returns the element ID of the entity's scene object. More...
 
virtual DtUniqueID elementId () const
 Returns the element ID of the entity's scene object. More...
 
virtual int cigiId () const
 Returns the CIGI Id of the CIGI entity. More...
 
virtual void restartRequest ()
 This is called to request that the entity be restarted. More...
 
virtual int entityType () const
 Get the entity type the entity was created with. More...
 
virtual bool extendedEntityTypeOn () const
 Get whether the entity has extended type on. More...
 
virtual void setExtendedEntityTypeOn (bool onOff)
 Set whether this entity uses extended entity type. More...
 
virtual void setExtendedEntityType (DtEntityType &entityType)
 Set the extended type. More...
 
virtual void setVisible (bool yesNo)
 Set whether the entity is visible. More...
 
virtual bool isVisible () const
 Get the current visibility. More...
 
virtual void setDeadReckoningOn (bool onOff)
 Turns dead-reckoning on/off. More...
 
virtual bool isDeadReckoning () const
 Determine if the entity is ACTUALLY dead reckoning. More...
 
virtual const DtGeodeticCoord & position () const
 Returns the last position set by a CIGI entity control message. More...
 
virtual const DtGeodeticCoord & previousPosition () const
 Returns the entity's position that was set previously. More...
 
virtual const DtVectorlocalPosition () const
 Returns the last computed local position set. More...
 
virtual const DtTaitBryan & orientation () const
 Returns the last orientation set by a CIGI entity control message. More...
 
virtual const DtTaitBryan & localOrientation () const
 Returns the computed last local orientation. More...
 
virtual const DtTaitBryan & geocentricOrientation () const
 Get the last computed geocentric orientation. More...
 
virtual void setLinearRate (const DtVector &rate, bool useWorldCoordinates, bool force=false)
 Sets the entity's linear rate. More...
 
virtual const DtVectorlinearRate () const
 Get the last set linear rate. More...
 
virtual void setAngularRate (const DtVector &rate, bool useWorldCoordinates, bool force=false)
 Set's the entity's angular rate. More...
 
virtual const DtVectorangularRate () const
 Get the last set angular rate. More...
 
virtual void slot_deadReckoningAllowed (bool allowed)
 Called when IG-wide extrapolation is turned on or off. More...
 
virtual void setAlpha (int alpha)
 Sets the entity's alpha value. More...
 
virtual int alpha () const
 Returns the entity's alpha value. More...
 
virtual void setInheritAlpha (bool inherit)
 Set whether the entity should inherit alpha from its parent. More...
 
virtual bool isInheritingAlpha () const
 Determine if the entity is inheriting alpha. More...
 
virtual void slot_alphaChanged (int alpha, DtUniqueID id)
 Slot so we can check if the parent's alpha has changed. More...
 
virtual void slot_entityToBeDeleted (int cigiEntityId)
 Connected to the signal raised by the entity manager when an entity is removed, this is used to insure that signals connected to an embarkation parent are managed correctly if/when that parent is deleted. More...
 
virtual void setGroundClampingOn (DtGroundClampingUpdater::GroundClampingMode clampType)
 Turns ground clamping on/off. More...
 
virtual
DtGroundClampingUpdater::GroundClampingMode 
groundClampingType () const
 Get the current ground clamping type. More...
 
virtual bool getArtPartTranslation (int partId, DtVector &translation)
 Get the art part translation from a specified CIGI part id. More...
 
virtual bool getArtPartOrientation (int partId, DtTaitBryan &orientation)
 Returns false if the part id is not found. More...
 
virtual bool getArtPartLinearRate (int partId, DtVector &rate)
 Get the art part translation rate from a specified CIGI part id. More...
 
virtual bool getArtPartTranslationAndRate (int partId, DtVector &translation, DtVector &rate)
 Get the art part translation and rate from a specified CIGI part id. More...
 
virtual bool getArtPartAngularRate (int partId, DtVector &rate)
 Returns false if the part id is not found. More...
 
virtual bool getArtPartOrientationAndRate (int partId, DtTaitBryan &orientation, DtVector &rate)
 Returns false if the part id is not found. More...
 
virtual DtSceneObjectAgent * findSceneObjectAgent ()
 
virtual void setRelativeTo (DtCigiBaseEntity *parent)
 Attachment control. More...
 
virtual void setRelativePosition (const DtVector &pos)
 Sets the entity's relative position (if attached). More...
 
virtual void setRelativeOrientation (const DtTaitBryan &orient)
 Sets the entity's relative orientation (relative to the parent's body coordinates) if attached. More...
 
virtual bool isEmbarked () const
 Determine if the entity is attached to a parent entity. More...
 
virtual int embarkedParentId () const
 Get the CIGI ID of the entity to which we are attached. More...
 
virtual const DtVectorrelativePosition () const
 Returns the last relative offset position. More...
 
virtual const DtTaitBryan & relativeOrientation () const
 Returns the last relative orientation. More...
 
virtual void addCollisionSegmentID (unsigned int segmentId)
 Methods for adding a removing collision segment IDs that are associated with this entity. More...
 
virtual void removeCollisionSegmentID (unsigned int segmentId)
 
virtual void delayedStartEmbarked ()
 When an embarked entity is restarted, it needs to be reattached to its parent at the start of the next frame (after all other entities have been restarted). More...
 

Protected Types

typedef struct
makVrv::DtCigiCharacterEntity::gestureData 
GestureData
 
typedef boost::unordered_map
< std::string, GestureData
GestureDataMap
 

Protected Member Functions

virtual void startDeadReckoning ()
 Override to specify the correct motion model. More...
 
virtual void endDeadReckoning ()
 Remove the Dead Reckoning updater. More...
 
virtual void startGroundClamping ()
 Override to work with surface clamping updater, because character's are amphibious. More...
 
virtual void endGroundClamping ()
 Remove the ground clamping updater. More...
 
- Protected Member Functions inherited from makVrv::DtCigiBaseEntity
virtual void buildGroundClampingUpdater ()
 Create and intialize the ground clamping updater agents. More...
 
virtual bool isGroundClamping () const
 Returns false if ground clamping type is DtGroundClampingUpdater::ClampNone true otherwise. More...
 
virtual void getExtrapolatedValuesAndRestart ()
 Request position and orientation values from the render thread if this entity is dead reckoned. More...
 
virtual void queryExtrapolatedPositionAndOrientation (DtUniqueID drAgentId, bool relative)
 This is the render thread-run method that collects dead reckoned position and orientation. More...
 
virtual void returnExtrapolatedPositionAndOrientation (const DtVector &resultPos, const DtTaitBryan &resultOri, bool relative, bool invokeRestart)
 This method returns the position and orientation collected from the render thread in the connection thread. More...
 
virtual DtDeadReckonUpdaterfindDRUpdaterInRenderThread (DtUniqueID drAgentId) const
 Helper function called by queryExtrapolatedPositionAndOrientation to look up the the dead reckon updater object given its agent id. More...
 

Protected Attributes

DtCharacterModelAgent * myCharacterModel
 
bool myWeaponDeployed
 
bool myAlive
 
std::string myCharacterAction
 
bool myCharacterPaused
 
float myCharacterActionSpeed
 
bool myCharacterActionUsesPositioning
 
DtVector myCharacterActionOffset
 
DtCharacterModel::Posture myPosture
 
float myWaterlineOriginOffset
 
std::string myItemAppearance
 
std::string myHeadAppearance
 
DtVector myCharacterScale
 
float myCharacterWeight
 
bool myIsAmphibious
 
GestureDataMap myGestureDataMap
 
DtSurfaceClampingUpdaterAgent * mySurfaceClampingUpdaterAgent
 
DtWaterClampingUpdaterAgent * myWaterClampingUpdaterAgent
 
- Protected Attributes inherited from makVrv::DtCigiBaseEntity
DtSceneObjectAgent * mySceneObject
 
DtModelAgent * myModel
 
std::string myEntityModelDefName
 
DtDeadReckonUpdaterAgent * myDeadReckonUpdaterAgent
 
DtGroundClampingUpdaterAgent * myGroundClampingUpdaterAgent
 
DtEmbarkationUpdaterAgent * myEmbarkationUpdaterAgent
 
bool myDeadReckoningOn
 
bool myEmbarked
 
DtGroundClampingUpdater::GroundClampingMode myGroundClampingType
 
DtGeodeticCoord myLastPosition
 
DtVector myLastLocalPosition
 
DtTaitBryan myLastOrientation
 
DtTaitBryan myLastLocalOrientation
 
DtTaitBryan myLastGeocentricOrientation
 
DtVector myLastRelativePosition
 
DtTaitBryan myLastRelativeOrientation
 
DtVector myLastVelocity
 
bool myLastVelocityWorldCoordinates
 
DtVector myLastAngularVelocity
 
bool myLastAngularVelocityWorldCoordinates
 
DtCigiConnectionmyConnection
 
DtAgentManagerInterfacemySceneInterface
 
int myEntityId
 
int myEntityType
 
bool myExtendedEntityTypeOn
 
DtEntityType * myExtendedEntityType
 
DtCigiBaseEntitymyParent
 
int myEmbarkedParentID
 
bool myInheritAlpha
 
int myAlpha
 
bool myVisiblity
 
bool myPositionSet
 
bool myOrientationSet
 
std::map< int, DtTaitBryan > myLastArtPartOrientation
 
std::map< int, DtVectormyLastArtPartTranslation
 
std::map< int, DtVectormyArtPartAngularRate
 
std::map< int, DtVectormyArtPartLinearRate
 
std::list< unsigned intmyCollisionSegmentIdList
 List for Collision Detection Segment IDs from collision segment detection definition packets. More...
 
DtSignalConnectionManager mySignalConnections
 

Additional Inherited Members

- Public Types inherited from makVrv::DtCigiBaseEntity
enum  AnimationStateGroup { Stop = 0, Pause = 1, Play = 2, Continue = 3 }
 AnimationStateGroup in Cigi Order. More...
 
- Public Attributes inherited from makVrv::DtCigiBaseEntity
boost::signalslib::signal
< void(int, DtUniqueID)> 
signal_alphaChanged
 Emitted when this entity's alpha has changed. More...
 

Detailed Description

A DtCigiCharacterEntity is a CIGI base entity that loads a character (Di Guy) model.

Member Typedef Documentation

typedef boost::unordered_map<std::string, GestureData> makVrv::DtCigiCharacterEntity::GestureDataMap
protected

Constructor & Destructor Documentation

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

Constructor.

virtual makVrv::DtCigiCharacterEntity::~DtCigiCharacterEntity ( )
virtual

Destructor.

Member Function Documentation

virtual void makVrv::DtCigiCharacterEntity::init ( )
virtual

Calls down to DtCigiBaseEntity::init(), creates an character model, provides a model definition to it, and adds it to the scene object created in DtCigiBaseEntity::init().

It also provides default values to the character model's character action, paused state, action speed, posture, and weapon deployment. It also creates a surface and water clamping updater, as character models are amphibious (will float in water as well as walk on land).

Reimplemented from makVrv::DtCigiBaseEntity.

virtual void makVrv::DtCigiCharacterEntity::uninit ( )
virtual

Calls down to DtCigiBaseEntity::uninit(), and then deletes the character model created in init().

It also deletes the surface and water clamping updaters.

Reimplemented from makVrv::DtCigiBaseEntity.

virtual void makVrv::DtCigiCharacterEntity::restart ( )
virtual

Calls down to DtCigiBaseEntity::restart(), then reinintializes art parts and alive state.

Reimplemented from makVrv::DtCigiBaseEntity.

virtual void makVrv::DtCigiCharacterEntity::setPosition ( const DtGeodeticCoord &  pos,
bool  force = false 
)
virtual

Set the entity's geodetic position.

Parameters
[in]posis the position set from the CIGI entity control message.
[in]forceis a flag to force handling even if position has not changed.

Reimplemented from makVrv::DtCigiBaseEntity.

virtual void makVrv::DtCigiCharacterEntity::setOrientation ( const DtTaitBryan &  orientation,
bool  force = false 
)
virtual

Set the entity's orientation.

Parameters
[in]orientationis the orientation set from the CIGI entity control message.
[in]forceis a flag to force handling even if orientation has not changed.

Reimplemented from makVrv::DtCigiBaseEntity.

virtual void makVrv::DtCigiCharacterEntity::setCharacterPaused ( bool  paused)
virtual

Set paused state without specifying an action.

virtual void makVrv::DtCigiCharacterEntity::setCharacterActionSpeed ( float  speed)
virtual

Change action speed of an existing action.

virtual void makVrv::DtCigiCharacterEntity::unforceAction ( )
virtual

If a character action has been given earlier, it overrides any posture / weapon state settings.

This needs to be called to go back to using posture/weapon state instead of explicit animation

virtual void makVrv::DtCigiCharacterEntity::setCharacterAction ( const std::string &  action)
virtual

Set a character action. Will used saved previous paused, speed, and offset.

virtual void makVrv::DtCigiCharacterEntity::setCharacterAction ( const std::string &  action,
bool  paused,
double  speed,
bool  usePositioning,
const DtVector offset 
)
virtual

Fully set a character action.

Sets the action to perform, the speed, whether the action is paused or not, and how much offset to apply over the course of the action.

virtual void makVrv::DtCigiCharacterEntity::setCharacterPosture ( DtCharacterModel::Posture  posture)
virtual

Set a character's posture.

virtual void makVrv::DtCigiCharacterEntity::setWeaponDeployed ( bool  deployed)
virtual

Set whether the character's weapon is deployed.

Note that not all postures or animations will support a deployed weapon

virtual bool makVrv::DtCigiCharacterEntity::weaponDeployed ( ) const
virtual

Get whether the character's weapon is deployed.

virtual void makVrv::DtCigiCharacterEntity::setAlive ( bool  alive)
virtual

Set whether the character is alive.

The transition from alive to not alive will result in an animation; and from not alive to alive the entity will be restored to its last state

virtual bool makVrv::DtCigiCharacterEntity::alive ( ) const
virtual

Get whether the character is alive.

virtual void makVrv::DtCigiCharacterEntity::executeGesture ( const std::string &  gestureName,
int  reps,
float  duration,
float  channelAWeight 
)
virtual

Execute the specified gesture reps - how many times the gesture should be repeated; default is 1 if no duration is specified, or best fit if there is a duration specified duration - how long the gesture should be executed; default is such that no time scaling occurs channelAWeight - the weight given to channel A of the gesture; ignored if the gesture does not have multiple channels Note that if a gesture with the same name is already executing, this is ignored.

virtual void makVrv::DtCigiCharacterEntity::endGesture ( const std::string &  gestureName,
float  rampDown 
)
virtual

Stop the named gesture from executing.

Rampdown - the max amount of time spent trying to smooth over any motion seams; set to 0.5 for a smooth transition, set to 0 for an immediate abort

virtual void makVrv::DtCigiCharacterEntity::setItemAppearance ( const std::string &  itemAppearance)
virtual

Set the appearance of the entity's currently held item.

virtual const std::string& makVrv::DtCigiCharacterEntity::itemAppearance ( ) const
virtual

Get the appearance of the entity's currently held item, if set.

virtual void makVrv::DtCigiCharacterEntity::setHeadAppearance ( const std::string &  headAppearance)
virtual

Set the appearance of the entity's current head.

virtual const std::string& makVrv::DtCigiCharacterEntity::headAppearance ( ) const
virtual

Get the appearance of the entity's current head.

virtual void makVrv::DtCigiCharacterEntity::setCharacterScale ( const DtVector scale)
virtual

Set the character scale.

virtual const DtVector& makVrv::DtCigiCharacterEntity::characterScale ( ) const
virtual
virtual void makVrv::DtCigiCharacterEntity::setCharacterWeight ( float  characterWeight)
virtual

Set the character weight.

virtual float makVrv::DtCigiCharacterEntity::characterWeight ( ) const
virtual

Get the character weight.

virtual void makVrv::DtCigiCharacterEntity::setWaterlineOriginOffset ( float  offset)
virtual

Set the amount that a bouyant entity's origin is offset from the waterline.

virtual void makVrv::DtCigiCharacterEntity::startEmbarked ( )
virtual

Override to prevent amphibious behavior when embarked.

Reimplemented from makVrv::DtCigiBaseEntity.

virtual void makVrv::DtCigiCharacterEntity::endEmbarked ( )
virtual

Override to restore amphibious behavior when disembarked.

Reimplemented from makVrv::DtCigiBaseEntity.

virtual void makVrv::DtCigiCharacterEntity::setArtPartTranslation ( int  partId,
float  xOffset,
float  yOffset,
float  zOffset,
bool  xEnable,
bool  yEnable,
bool  zEnable 
)
virtual

Set the relative position of an articulated part.

Reimplemented from makVrv::DtCigiBaseEntity.

virtual void makVrv::DtCigiCharacterEntity::setArtPartOrientation ( int  partId,
float  yaw,
float  pitch,
float  roll,
bool  yawEnable,
bool  pitchEnable,
bool  rollEnable 
)
virtual

Set the orientation of an articulated part.

Reimplemented from makVrv::DtCigiBaseEntity.

virtual void makVrv::DtCigiCharacterEntity::setArtPartLinearRate ( int  partId,
float  xRate,
float  yRate,
float  zRate 
)
virtual

Set the linear rate of an articulated part.

Reimplemented from makVrv::DtCigiBaseEntity.

virtual void makVrv::DtCigiCharacterEntity::setArtPartAngularRate ( int  partId,
float  yawRate,
float  pitchRate,
float  rollRate 
)
virtual

Set the angular rate of an articulated part.

Reimplemented from makVrv::DtCigiBaseEntity.

virtual void makVrv::DtCigiCharacterEntity::setArtPartEnable ( int  partId,
bool  trueFalse 
)
virtual

Enable/disable an articulated part.

Reimplemented from makVrv::DtCigiBaseEntity.

virtual void makVrv::DtCigiCharacterEntity::setIsAmphibious ( bool  isAmphibious)
virtual

This is used by the buoyancy model to indicate if checks need to be made for being over water.

When false (default) use assumes responsibility for keeping entity over land (note that the test for land is expensive, so keep this false unless you need it for an amphibious entity)

virtual bool makVrv::DtCigiCharacterEntity::isAmphibious ( ) const
virtual
virtual bool makVrv::DtCigiCharacterEntity::gestureInitialRepetitions ( const std::string &  gestureName,
int reps 
) const
virtual

The repetition count this gesture was started with (< 0.

means use gesture default) returns false if the gesture isn't found

virtual bool makVrv::DtCigiCharacterEntity::gestureInitialDuration ( const std::string &  gestureName,
float &  duration 
) const
virtual

The duration (in seconds) the gesture was started with (< 0.

means use gesture default) returns false if the gesture isn't found

virtual bool makVrv::DtCigiCharacterEntity::gestureChannelAWeight ( const std::string &  gestureName,
float &  weight 
) const
virtual

The weight assigned to the 'A' channel (for a multi-channel gesture) returns false if the gesture isn't found.

virtual void makVrv::DtCigiCharacterEntity::startDeadReckoning ( )
protectedvirtual

Override to specify the correct motion model.

Reimplemented from makVrv::DtCigiBaseEntity.

virtual void makVrv::DtCigiCharacterEntity::endDeadReckoning ( )
protectedvirtual

Remove the Dead Reckoning updater.

Reimplemented from makVrv::DtCigiBaseEntity.

virtual void makVrv::DtCigiCharacterEntity::startGroundClamping ( )
protectedvirtual

Override to work with surface clamping updater, because character's are amphibious.

Reimplemented from makVrv::DtCigiBaseEntity.

virtual void makVrv::DtCigiCharacterEntity::endGroundClamping ( )
protectedvirtual

Remove the ground clamping updater.

Reimplemented from makVrv::DtCigiBaseEntity.

Member Data Documentation

DtCharacterModelAgent* makVrv::DtCigiCharacterEntity::myCharacterModel
protected
bool makVrv::DtCigiCharacterEntity::myWeaponDeployed
protected
bool makVrv::DtCigiCharacterEntity::myAlive
protected
std::string makVrv::DtCigiCharacterEntity::myCharacterAction
protected
bool makVrv::DtCigiCharacterEntity::myCharacterPaused
protected
float makVrv::DtCigiCharacterEntity::myCharacterActionSpeed
protected
bool makVrv::DtCigiCharacterEntity::myCharacterActionUsesPositioning
protected
DtVector makVrv::DtCigiCharacterEntity::myCharacterActionOffset
protected
DtCharacterModel::Posture makVrv::DtCigiCharacterEntity::myPosture
protected
float makVrv::DtCigiCharacterEntity::myWaterlineOriginOffset
protected
std::string makVrv::DtCigiCharacterEntity::myItemAppearance
protected
std::string makVrv::DtCigiCharacterEntity::myHeadAppearance
protected
DtVector makVrv::DtCigiCharacterEntity::myCharacterScale
protected
float makVrv::DtCigiCharacterEntity::myCharacterWeight
protected
bool makVrv::DtCigiCharacterEntity::myIsAmphibious
protected
GestureDataMap makVrv::DtCigiCharacterEntity::myGestureDataMap
protected
DtSurfaceClampingUpdaterAgent* makVrv::DtCigiCharacterEntity::mySurfaceClampingUpdaterAgent
protected
DtWaterClampingUpdaterAgent* makVrv::DtCigiCharacterEntity::myWaterClampingUpdaterAgent
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)