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

List of all members.

Public Types

typedef std::map< DtString,
DtDIGuyAnimationSharedPtr
TaskAnimationMap
typedef TaskAnimationMap::iterator TaskAnimationMapIterator
typedef
TaskAnimationMap::const_iterator 
const_TaskAnimationMapIterator

Public Member Functions

 DtDIGuyCharacterData ()
 DtDIGuyCharacterData (const DtString &name)
 DtDIGuyCharacterData (const DtDIGuyCharacterData &orig)
virtual ~DtDIGuyCharacterData ()
DtDIGuyCharacterDataoperator= (const DtDIGuyCharacterData &orig)
virtual void init ()
virtual void setDeadAnimation (DtDIGuyAnimationSharedPtr deadAnimation)
virtual DtDIGuyAnimationdeadAnimation ()
virtual DtDIGuyAnimationlookupTaskAnimationByName (const DtString &name)
 Look up a particular animation.
virtual void addAppearance (const DtString &app)
virtual DtDIGuyAnimationlookupIntrinsicAnimationByName (const DtString &name)
virtual DtDIGuyCharacterDataclone () const
 Returns a newly created clone of this class.
virtual void setCharacterTypeName (const DtString &name)
 The name of the character type.
virtual const DtStringcharacterTypeName () const
 The name of the character type.
virtual std::vector< DtStringappearances () const
 The list of possible appearances for this character.
virtual TaskAnimationMaptaskableAnimations ()
 The taskable animations.
virtual AlternateNamesList taskableAnimationNames ()
 Returns string list of all the taskable animations and their user friendly display name.
virtual AlternateNamesListanimationNames ()
 Returns string list of all the animations and their user friendly display name.
virtual void addTaskAnimation (const DtString &name, DtDIGuyAnimationSharedPtr animation)
 The taskable animations.
virtual
DtDIGuyIntrinsicAnimationMap
intrinsicAnimations ()
 The intrinsic animations.
virtual void addIntrinsicAnimation (const DtString &name, DtDIGuyAnimationSharedPtr animation)
 The intrinsic animations.

Protected Attributes

DtString myCharacterTypeName
std::vector< DtStringmyCharacterApperances
TaskAnimationMap myTaskAnimationsMap
DtDIGuyIntrinsicAnimationMap myIntrinsicAnimationsMap
DtFilename myIntrinsicAnimationsFilename
AlternateNamesList myAnimationNames
DtDIGuyAnimationSharedPtr myDeadAnimation
 Keep death animation seperate 1) don't need to loop thru the lists to match-- dead is dead 2) prevents matching death as closest animation to people in prone posture even though they are alive.

Member Typedef Documentation

typedef TaskAnimationMap::iterator DtDIGuyCharacterData::TaskAnimationMapIterator
typedef TaskAnimationMap::const_iterator DtDIGuyCharacterData::const_TaskAnimationMapIterator

Constructor & Destructor Documentation


Member Function Documentation

DtDIGuyCharacterData& DtDIGuyCharacterData::operator= ( const DtDIGuyCharacterData orig)
virtual void DtDIGuyCharacterData::init ( ) [virtual]
virtual void DtDIGuyCharacterData::setCharacterTypeName ( const DtString name) [virtual]

The name of the character type.

virtual const DtString& DtDIGuyCharacterData::characterTypeName ( ) const [virtual]

The name of the character type.

virtual void DtDIGuyCharacterData::setDeadAnimation ( DtDIGuyAnimationSharedPtr  deadAnimation) [virtual]

Look up a particular animation.

virtual std::vector<DtString> DtDIGuyCharacterData::appearances ( ) const [virtual]

The list of possible appearances for this character.

virtual void DtDIGuyCharacterData::addAppearance ( const DtString app) [virtual]

The taskable animations.

Returns the map of all taskable animations

Returns string list of all the taskable animations and their user friendly display name.

Returns string list of all the animations and their user friendly display name.

virtual void DtDIGuyCharacterData::addTaskAnimation ( const DtString name,
DtDIGuyAnimationSharedPtr  animation 
) [virtual]

The taskable animations.

Returns the map of all taskable animations

The intrinsic animations.

virtual void DtDIGuyCharacterData::addIntrinsicAnimation ( const DtString name,
DtDIGuyAnimationSharedPtr  animation 
) [virtual]

The intrinsic animations.

virtual DtDIGuyCharacterData* DtDIGuyCharacterData::clone ( ) const [virtual]

Returns a newly created clone of this class.


Member Data Documentation

Keep death animation seperate 1) don't need to loop thru the lists to match-- dead is dead 2) prevents matching death as closest animation to people in prone posture even though they are alive.


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)