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

The DtDiGuyAnimation class is a class that stores the DI-Guy animation information that is used to ensure the animation being displayed is in synch with the simulated entity. More...

Public Member Functions

 DtDiGuyAnimation ()
 DtDiGuyAnimation (const DtString &name)
 DtDiGuyAnimation (const DtDiGuyAnimation &orig)
virtual ~DtDiGuyAnimation ()
DtDiGuyAnimationoperator= (const DtDiGuyAnimation &orig)
virtual void setPosture (const DtString &post)
 The ending posture of the animation.
virtual const DtStringposture () const
virtual DtDiGuyAnimationclone () const
 Returns a newly created clone of this class.
virtual void print ()
 Just prints out the contents to the console.
virtual void setAnimationName (const DtString &name)
 The name of the Di-guy Animation.
virtual const DtStringanimationName () const
virtual void setDisplayName (const DtString &name)
 The name of the animation used for display–more user friendly and editable.
virtual const DtStringdisplayName () const
virtual void setDuration (const double time)
 The duration of the animation.
virtual const double duration () const
virtual void setSpeed (const double speed)
 The speed of the animation if any.
virtual const double speed () const
virtual void setDirectionChange (const DtString &direction)
 The change in direction due to the animation if any.
virtual const DtStringdirectionChange () const
virtual void setVariant (const DtString &var)
 The demeanor of the animation–refered to as variant in the character digest–sick, angry, confused, normal...
virtual const DtStringvariant () const
virtual void setTaskableOrIntrinsic (DtDIGuyTaskableOrIntrinisic value)
 Instrinsic animations are chosen automatically, e.g.
virtual DtDIGuyTaskableOrIntrinisic taskableOrInstrinsic () const

Protected Attributes

DtString myAnimationName
DtString myDisplayName
DtReal myAnimationDuration
DtReal myAnimationSpeed
DtString myAnimationPosture
DtString myAnimationDirectionChange
DtString myAnimationVariant
DtDIGuyTaskableOrIntrinisic myTaskableOrIntrinsic

Detailed Description

The DtDiGuyAnimation class is a class that stores the DI-Guy animation information that is used to ensure the animation being displayed is in synch with the simulated entity.

Further notes: Contains information about about a particular DI-Guy animation (e.g. run, walk). Most of this data is received directly from the DI-Guy instance (as wrapped by VR-Vantage). Further information can be found in rwDIGuyAnimationEntry, which receives data from character_animations_table.mtl

Constructor & Destructor Documentation

DtDiGuyAnimation::DtDiGuyAnimation ( )
DtDiGuyAnimation::DtDiGuyAnimation ( const DtString name)
DtDiGuyAnimation::DtDiGuyAnimation ( const DtDiGuyAnimation orig)
virtual DtDiGuyAnimation::~DtDiGuyAnimation ( )
virtual

Member Function Documentation

DtDiGuyAnimation& DtDiGuyAnimation::operator= ( const DtDiGuyAnimation orig)
virtual void DtDiGuyAnimation::setAnimationName ( const DtString name)
virtual

The name of the Di-guy Animation.

virtual const DtString& DtDiGuyAnimation::animationName ( ) const
virtual
virtual void DtDiGuyAnimation::setDisplayName ( const DtString name)
virtual

The name of the animation used for display–more user friendly and editable.

virtual const DtString& DtDiGuyAnimation::displayName ( ) const
virtual
virtual void DtDiGuyAnimation::setDuration ( const double  time)
virtual

The duration of the animation.

virtual const double DtDiGuyAnimation::duration ( ) const
virtual
virtual void DtDiGuyAnimation::setSpeed ( const double  speed)
virtual

The speed of the animation if any.

virtual const double DtDiGuyAnimation::speed ( ) const
virtual
virtual void DtDiGuyAnimation::setPosture ( const DtString post)
virtual

The ending posture of the animation.

virtual const DtString& DtDiGuyAnimation::posture ( ) const
virtual
virtual void DtDiGuyAnimation::setDirectionChange ( const DtString direction)
virtual

The change in direction due to the animation if any.

virtual const DtString& DtDiGuyAnimation::directionChange ( ) const
virtual
virtual void DtDiGuyAnimation::setVariant ( const DtString var)
virtual

The demeanor of the animation–refered to as variant in the character digest–sick, angry, confused, normal...

virtual const DtString& DtDiGuyAnimation::variant ( ) const
virtual
virtual void DtDiGuyAnimation::setTaskableOrIntrinsic ( DtDIGuyTaskableOrIntrinisic  value)
virtual

Instrinsic animations are chosen automatically, e.g.

when character is walking. Taskable animations must be assigned by user.

virtual DtDIGuyTaskableOrIntrinisic DtDiGuyAnimation::taskableOrInstrinsic ( ) const
virtual
virtual DtDiGuyAnimation* DtDiGuyAnimation::clone ( ) const
virtual

Returns a newly created clone of this class.

virtual void DtDiGuyAnimation::print ( )
virtual

Just prints out the contents to the console.

Member Data Documentation

DtString DtDiGuyAnimation::myAnimationName
protected
DtString DtDiGuyAnimation::myDisplayName
protected
DtReal DtDiGuyAnimation::myAnimationDuration
protected
DtReal DtDiGuyAnimation::myAnimationSpeed
protected
DtString DtDiGuyAnimation::myAnimationPosture
protected
DtString DtDiGuyAnimation::myAnimationDirectionChange
protected
DtString DtDiGuyAnimation::myAnimationVariant
protected
DtDIGuyTaskableOrIntrinisic DtDiGuyAnimation::myTaskableOrIntrinsic
protected

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

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)