![]() |
VR-Forces 4.0.4 Class Documentation
|
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 () |
| DtDIGuyCharacterData & | operator= (const DtDIGuyCharacterData &orig) |
| virtual void | init () |
| virtual void | setDeadAnimation (DtDIGuyAnimationSharedPtr deadAnimation) |
| virtual DtDIGuyAnimation * | deadAnimation () |
| virtual DtDIGuyAnimation * | lookupTaskAnimationByName (const DtString &name) |
| Look up a particular animation. | |
| virtual void | addAppearance (const DtString &app) |
| virtual DtDIGuyAnimation * | lookupIntrinsicAnimationByName (const DtString &name) |
| virtual DtDIGuyCharacterData * | clone () const |
| Returns a newly created clone of this class. | |
| virtual void | setCharacterTypeName (const DtString &name) |
| The name of the character type. | |
| virtual const DtString & | characterTypeName () const |
| The name of the character type. | |
| virtual std::vector< DtString > | appearances () const |
| The list of possible appearances for this character. | |
| virtual TaskAnimationMap * | taskableAnimations () |
| The taskable animations. | |
| virtual AlternateNamesList | taskableAnimationNames () |
| Returns string list of all the taskable animations and their user friendly display name. | |
| virtual AlternateNamesList * | animationNames () |
| 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< DtString > | myCharacterApperances |
| 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. | |
| typedef std::map<DtString, DtDIGuyAnimationSharedPtr> DtDIGuyCharacterData::TaskAnimationMap |
| typedef TaskAnimationMap::iterator DtDIGuyCharacterData::TaskAnimationMapIterator |
| typedef TaskAnimationMap::const_iterator DtDIGuyCharacterData::const_TaskAnimationMapIterator |
| DtDIGuyCharacterData::DtDIGuyCharacterData | ( | const DtString & | name | ) |
| DtDIGuyCharacterData::DtDIGuyCharacterData | ( | const DtDIGuyCharacterData & | orig | ) |
| virtual DtDIGuyCharacterData::~DtDIGuyCharacterData | ( | ) | [virtual] |
| 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] |
| virtual DtDIGuyAnimation* DtDIGuyCharacterData::deadAnimation | ( | ) | [virtual] |
| virtual DtDIGuyAnimation* DtDIGuyCharacterData::lookupTaskAnimationByName | ( | const DtString & | name | ) | [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] |
| virtual TaskAnimationMap* DtDIGuyCharacterData::taskableAnimations | ( | ) | [virtual] |
The taskable animations.
Returns the map of all taskable animations
| virtual AlternateNamesList DtDIGuyCharacterData::taskableAnimationNames | ( | ) | [virtual] |
Returns string list of all the taskable animations and their user friendly display name.
| virtual AlternateNamesList* DtDIGuyCharacterData::animationNames | ( | ) | [virtual] |
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
| virtual DtDIGuyIntrinsicAnimationMap* DtDIGuyCharacterData::intrinsicAnimations | ( | ) | [virtual] |
The intrinsic animations.
| virtual void DtDIGuyCharacterData::addIntrinsicAnimation | ( | const DtString & | name, |
| DtDIGuyAnimationSharedPtr | animation | ||
| ) | [virtual] |
The intrinsic animations.
| virtual DtDIGuyAnimation* DtDIGuyCharacterData::lookupIntrinsicAnimationByName | ( | const DtString & | name | ) | [virtual] |
| virtual DtDIGuyCharacterData* DtDIGuyCharacterData::clone | ( | ) | const [virtual] |
Returns a newly created clone of this class.
DtString DtDIGuyCharacterData::myCharacterTypeName [protected] |
std::vector<DtString> DtDIGuyCharacterData::myCharacterApperances [protected] |
DtFilename DtDIGuyCharacterData::myIntrinsicAnimationsFilename [protected] |
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.