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

The DtDIGuyIntrinsicAnimationMap class is a class that stores the DI-Guy animations that are intrinsic motion animations, ones the user would not task the entity to do like walking, running, aiming....This map holds all the intrinsic animations for a character. More...

Public Types

typedef std::list
< DtDiGuyAnimationSharedPtr
AnimationList
 
typedef AnimationList::iterator AnimationListIterator
 
typedef
AnimationList::const_iterator 
const_AnimationListIterator
 
typedef DtBoost::shared_ptr
< AnimationList
AnimationListSharedPtr
 
typedef std::map
< DtLifeformStaticPosture,
AnimationListSharedPtr
IntrinsicAnimationMap
 
typedef
IntrinsicAnimationMap::iterator 
IntrinsicAnimationMapIterator
 
typedef
IntrinsicAnimationMap::const_iterator 
const_IntrinsicAnimationMapIterator
 
typedef std::list
< DtLifeformStaticPosture
PostureList
 
typedef std::map
< DtLifeformStaticPosture,
PostureList
BackupPostureMap
 

Public Member Functions

 DtDiGuyIntrinsicAnimationMap ()
 
 DtDiGuyIntrinsicAnimationMap (const DtFilename &name)
 
 DtDiGuyIntrinsicAnimationMap (const DtDiGuyIntrinsicAnimationMap &orig)
 
DtDiGuyIntrinsicAnimationMapoperator= (const DtDiGuyIntrinsicAnimationMap &orig)
 
virtual ~DtDiGuyIntrinsicAnimationMap ()
 
virtual void init ()
 
virtual const DtDiGuyAnimationfindClosestAnimation (DtLifeformStaticPosture, double speed, const DtString &demeanor, bool randomize=true) const
 
virtual const DtDiGuyAnimationlookupAnimationByName (const DtString &name) const
 
virtual const DtDiGuyAnimationlookupAnimationByName (AnimationListSharedPtr list, const DtString &name) const
 
virtual const DtDiGuyAnimationlookupAnimationByVariant (const DtString &variant) const
 
virtual const DtDiGuyAnimationlookupAnimationByVariant (AnimationListSharedPtr list, const DtString &variant) const
 
virtual const
AnimationListSharedPtr 
lookupAnimationList (DtLifeformStaticPosture post) const
 
virtual void addAnimationToList (AnimationListSharedPtr list, DtDiGuyAnimationSharedPtr animation)
 
virtual void addAnimationToMap (DtDiGuyAnimationSharedPtr animation)
 

Protected Attributes

DtFilename myIntrinsicAnimationMapFile
 
IntrinsicAnimationMap myIntrinsicAnimationMap
 
BackupPostureMap myBackupPostures
 

Detailed Description

The DtDIGuyIntrinsicAnimationMap class is a class that stores the DI-Guy animations that are intrinsic motion animations, ones the user would not task the entity to do like walking, running, aiming....This map holds all the intrinsic animations for a character.

It loads up a mtl file that describes the animations

Further notes: contains list of intrinsic animations available to a particular character/character type.

Member Typedef Documentation

typedef AnimationList::iterator DtDiGuyIntrinsicAnimationMap::AnimationListIterator
typedef AnimationList::const_iterator DtDiGuyIntrinsicAnimationMap::const_AnimationListIterator
typedef IntrinsicAnimationMap::iterator DtDiGuyIntrinsicAnimationMap::IntrinsicAnimationMapIterator
typedef IntrinsicAnimationMap::const_iterator DtDiGuyIntrinsicAnimationMap::const_IntrinsicAnimationMapIterator

Constructor & Destructor Documentation

DtDiGuyIntrinsicAnimationMap::DtDiGuyIntrinsicAnimationMap ( )
DtDiGuyIntrinsicAnimationMap::DtDiGuyIntrinsicAnimationMap ( const DtFilename &  name)
DtDiGuyIntrinsicAnimationMap::DtDiGuyIntrinsicAnimationMap ( const DtDiGuyIntrinsicAnimationMap orig)
virtual DtDiGuyIntrinsicAnimationMap::~DtDiGuyIntrinsicAnimationMap ( )
virtual

Member Function Documentation

DtDiGuyIntrinsicAnimationMap& DtDiGuyIntrinsicAnimationMap::operator= ( const DtDiGuyIntrinsicAnimationMap orig)
virtual void DtDiGuyIntrinsicAnimationMap::init ( )
virtual
virtual const DtDiGuyAnimation* DtDiGuyIntrinsicAnimationMap::findClosestAnimation ( DtLifeformStaticPosture  ,
double  speed,
const DtString demeanor,
bool  randomize = true 
) const
virtual
virtual const DtDiGuyAnimation* DtDiGuyIntrinsicAnimationMap::lookupAnimationByName ( const DtString name) const
virtual
virtual const DtDiGuyAnimation* DtDiGuyIntrinsicAnimationMap::lookupAnimationByName ( AnimationListSharedPtr  list,
const DtString name 
) const
virtual
virtual const DtDiGuyAnimation* DtDiGuyIntrinsicAnimationMap::lookupAnimationByVariant ( const DtString variant) const
virtual
virtual const DtDiGuyAnimation* DtDiGuyIntrinsicAnimationMap::lookupAnimationByVariant ( AnimationListSharedPtr  list,
const DtString variant 
) const
virtual
virtual const AnimationListSharedPtr DtDiGuyIntrinsicAnimationMap::lookupAnimationList ( DtLifeformStaticPosture  post) const
virtual
virtual void DtDiGuyIntrinsicAnimationMap::addAnimationToList ( AnimationListSharedPtr  list,
DtDiGuyAnimationSharedPtr  animation 
)
virtual
virtual void DtDiGuyIntrinsicAnimationMap::addAnimationToMap ( DtDiGuyAnimationSharedPtr  animation)
virtual

Member Data Documentation

DtFilename DtDiGuyIntrinsicAnimationMap::myIntrinsicAnimationMapFile
protected
IntrinsicAnimationMap DtDiGuyIntrinsicAnimationMap::myIntrinsicAnimationMap
protected
BackupPostureMap DtDiGuyIntrinsicAnimationMap::myBackupPostures
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)