VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Attributes
makVrv::DtDummyCharacterModel Class Reference

Dummy implementation of DtCharacterModel; generates an error message when created. More...

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

List of all members.

Public Member Functions

 DtDummyCharacterModel (DtDe &de, DtUniqueID id)
 CTOR.
virtual ~DtDummyCharacterModel ()
Distributed functions.
virtual void addToScene (const makVrv::DtUniqueID &, int modelSet, int visualizerType)
 Set the action to attempt.
virtual void removeFromScene ()
 Set the action to attempt.
virtual void setCharacterModel (const std::string &appearanceName)
 Set the action to attempt.
virtual void setDefaultAppearance (const std::string &appearanceName)
 Set the action to attempt.
virtual void setAppearance (const std::string &appearanceName)
 Set the action to attempt.
virtual void setHeadAppearance (const std::string &appearanceName)
 Set the action to attempt.
virtual void setDesiredAction (const std::string &action, float speed)
 Set the action to attempt.
virtual void forceAction (const std::string &action, float speed)
 Force an action.
virtual void forceTemporaryAction (const std::string &action, double duration)
 Force an action for a specific amount of time.
virtual void setSpeed (float speed)
 Set the speed of the character.
virtual void setPosture (int posture)
 Set the posture of the model.
virtual bool weaponDeployed () const
 Get whether the weapon is deployed.
virtual void setWeaponDeployed (bool deployed)
 Set whether the weapon is deployed.
virtual void die (const std::string &deathAction)
 Tell the character to 'die.
virtual void revive (const std::string &aliveAction)
 Revive a previously dead character.
virtual void setPaused (bool paused)
 Set that the character is paused.
virtual std::string className () const
 Get the class name of the model instance owner.
virtual void setSolid (bool solid)
 Set that the model should be solid.
virtual void setModelScalingEnabled (bool b)
 Indicate whether or not this model may be model-scaled Default is false.

Static Public Attributes

static bool instanceCreated
 Static variable set to true when first instance is created, used to prevent more than one error popup from being generated.

Detailed Description

Dummy implementation of DtCharacterModel; generates an error message when created.


Constructor & Destructor Documentation

CTOR.


Member Function Documentation

virtual void makVrv::DtDummyCharacterModel::addToScene ( const makVrv::DtUniqueID ,
int  modelSet,
int  visualizerType 
) [virtual]

Set the action to attempt.

Implements makVrv::DtModel.

Set the action to attempt.

Implements makVrv::DtModel.

virtual void makVrv::DtDummyCharacterModel::setCharacterModel ( const std::string &  appearanceName) [virtual]

Set the action to attempt.

Implements makVrv::DtCharacterModel.

virtual void makVrv::DtDummyCharacterModel::setDefaultAppearance ( const std::string &  appearanceName) [virtual]

Set the action to attempt.

Implements makVrv::DtCharacterModel.

virtual void makVrv::DtDummyCharacterModel::setAppearance ( const std::string &  appearanceName) [virtual]

Set the action to attempt.

Implements makVrv::DtCharacterModel.

virtual void makVrv::DtDummyCharacterModel::setHeadAppearance ( const std::string &  appearanceName) [virtual]

Set the action to attempt.

Implements makVrv::DtCharacterModel.

virtual void makVrv::DtDummyCharacterModel::setDesiredAction ( const std::string &  action,
float  speed 
) [virtual]

Set the action to attempt.

Implements makVrv::DtCharacterModel.

virtual void makVrv::DtDummyCharacterModel::forceAction ( const std::string &  action,
float  speed 
) [virtual]

Force an action.

Implements makVrv::DtCharacterModel.

virtual void makVrv::DtDummyCharacterModel::forceTemporaryAction ( const std::string &  action,
double  duration 
) [virtual]

Force an action for a specific amount of time.

Implements makVrv::DtCharacterModel.

virtual void makVrv::DtDummyCharacterModel::setSpeed ( float  speed) [virtual]

Set the speed of the character.

Implements makVrv::DtCharacterModel.

virtual void makVrv::DtDummyCharacterModel::setPosture ( int  posture) [virtual]

Set the posture of the model.

Implements makVrv::DtCharacterModel.

Get whether the weapon is deployed.

Implements makVrv::DtCharacterModel.

virtual void makVrv::DtDummyCharacterModel::setWeaponDeployed ( bool  deployed) [virtual]

Set whether the weapon is deployed.

Implements makVrv::DtCharacterModel.

virtual void makVrv::DtDummyCharacterModel::die ( const std::string &  deathAction) [virtual]

Tell the character to 'die.

Dead characters perform their death action then disable most dynamic behavior (saving CPU cycles).

Implements makVrv::DtCharacterModel.

virtual void makVrv::DtDummyCharacterModel::revive ( const std::string &  aliveAction) [virtual]

Revive a previously dead character.

Implements makVrv::DtCharacterModel.

virtual void makVrv::DtDummyCharacterModel::setPaused ( bool  paused) [virtual]

Set that the character is paused.

Implements makVrv::DtCharacterModel.

virtual std::string makVrv::DtDummyCharacterModel::className ( ) const [virtual]

Get the class name of the model instance owner.

This is used to control how model instances are created.

Reimplemented from makVrv::DtCharacterModel.

virtual void makVrv::DtDummyCharacterModel::setSolid ( bool  solid) [virtual]

Set that the model should be solid.

Implements makVrv::DtModel.

Indicate whether or not this model may be model-scaled Default is false.

Implements makVrv::DtCharacterModel.


Member Data Documentation

Static variable set to true when first instance is created, used to prevent more than one error popup from being generated.


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)