VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtDiGuyMotionModel Class Reference

A Di Gui based motion model for objects which have a DI Guy character. More...

Inheritance diagram for makVrv::DtDiGuyMotionModel:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtDiGuyMotionModel (DtDe &igs, DtSceneObject *owner)
 CTOR.
 DtDiGuyMotionModel (const DtDiGuyMotionModel &orig, double time)
 Copy CTOR.
virtual ~DtDiGuyMotionModel ()
 DTOR.
virtual DtMotionModelclone (double simTime)
 Clone the motion model's externally visible state.
virtual bool motionModelHandlesUpdate () const
 Does the Di Guy motion model handle updates.
virtual void updateMotion (double simulationTime)
 Update the motion parameters at the specified time.
virtual void modelAdded (DtModel *)
 Called whenever a model is added.
virtual void modelRemoved (DtModel *)
 Called whenever a model is removed.

Protected Member Functions

int calculateDirectionFBLR (const DtTaitBryan &ori, const DtVector &vel)
int calculateDirectionFB (const DtTaitBryan &ori, const DtVector &vel)
void setCharacter (DtDiGuyCharacterModel *character)

Protected Attributes

DtDemyDe
DtVector myPositionReturn
DtTaitBryan myOrientationReturn
DtVector myAcceleration
DtDiGuyCharacterModelmyCharacter
DtSceneObjectmyObjectToMove
int myLastDirection
int myLastPosture
double myLastSpeed
const char * myLastAction
double myLastActionTime
bool myLastWeaponDeployed

Detailed Description

A Di Gui based motion model for objects which have a DI Guy character.


Constructor & Destructor Documentation

CTOR.

Copy CTOR.

DTOR.


Member Function Documentation

virtual DtMotionModel* makVrv::DtDiGuyMotionModel::clone ( double  simTime) [virtual]

Clone the motion model's externally visible state.

Reimplemented from makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >.

Does the Di Guy motion model handle updates.

Returns:
true As characters are moved by the scenario.
virtual void makVrv::DtDiGuyMotionModel::updateMotion ( double  dtTime) [virtual]

Update the motion parameters at the specified time.

Reimplemented from makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >.

virtual void makVrv::DtDiGuyMotionModel::modelAdded ( DtModel ) [virtual]

Called whenever a model is added.

Reimplemented from makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >.

virtual void makVrv::DtDiGuyMotionModel::modelRemoved ( DtModel ) [virtual]

Called whenever a model is removed.

Reimplemented from makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >.

int makVrv::DtDiGuyMotionModel::calculateDirectionFBLR ( const DtTaitBryan &  ori,
const DtVector vel 
) [protected]
int makVrv::DtDiGuyMotionModel::calculateDirectionFB ( const DtTaitBryan &  ori,
const DtVector vel 
) [protected]

Member Data Documentation

DtTaitBryan makVrv::DtDiGuyMotionModel::myOrientationReturn [mutable, protected]

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)