VR-Forces Developer's Guide
 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. It loads up a mtl file that describes the animations.

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

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 posture, const DtString &demeanor, double speed) 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)
 
virtual void setDebugOutputStream (DtOutputStream *stream) const
 

Protected Attributes

DtFilename myIntrinsicAnimationMapFile
 
IntrinsicAnimationMap myIntrinsicAnimationMap
 
AnimationListSharedPtr myAllAnimations
 
BackupPostureMap myBackupPostures
 
DtOutputStream * myDebugOutputStream
 

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  posture,
const DtString demeanor,
double  speed 
) 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
virtual void DtDiGuyIntrinsicAnimationMap::setDebugOutputStream ( DtOutputStream *  stream) const
virtual

Member Data Documentation

DtFilename DtDiGuyIntrinsicAnimationMap::myIntrinsicAnimationMapFile
protected
IntrinsicAnimationMap DtDiGuyIntrinsicAnimationMap::myIntrinsicAnimationMap
protected
AnimationListSharedPtr DtDiGuyIntrinsicAnimationMap::myAllAnimations
protected
BackupPostureMap DtDiGuyIntrinsicAnimationMap::myBackupPostures
protected
DtOutputStream* DtDiGuyIntrinsicAnimationMap::myDebugOutputStream
mutableprotected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)