![]() |
VR-Forces 4.3 Class Documentation
|
A Di Gui based motion model for objects which have a DI Guy character. More...

Public Member Functions | |
| DtDiGuyMotionModel (DtDe &igs, DtSceneObject *owner) | |
| CTOR. | |
| DtDiGuyMotionModel (const DtDiGuyMotionModel &orig, double time) | |
| Copy CTOR. | |
| virtual | ~DtDiGuyMotionModel () |
| DTOR. | |
| virtual DtMotionModel * | clone (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) |
| Call to update the motion state of the character. | |
| virtual const char * | getActionFromDescription (diguyMotionDirection direction, diguyMotionPosture posture, double actualSpeed) |
| Get a DI-Guy action for the current character to match the direction/posture/speed. | |
| virtual void | modelAdded (DtModel *) |
| Called whenever a model is added. | |
| virtual void | modelRemoved (DtModel *) |
| Called whenever a model is removed. | |
| virtual const DtVector & | approxLocation (DtTime curTime) const |
| Get the approximated (i.e. | |
Public Member Functions inherited from makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother > | |
| DtVRLDeadReckonerMotionModel () | |
| CTOR. | |
| DtVRLDeadReckonerMotionModel (const DtVRLDeadReckonerMotionModel &orig, double time) | |
| Copy CTOR. | |
| virtual void | setLocation (const DtVector &loc, DtTime curTime) |
| Set absolute location. | |
| virtual void | setVelocity (const DtVector &vel, DtTime curTime) |
| Set absolute velocity. | |
| virtual const DtVector & | approxVelocity (DtTime curTime) const |
| Get the approximated (i.e. | |
| virtual void | setOrientation (const DtTaitBryan &ori, DtTime curTime) |
| Set absolute orientation. | |
| virtual void | setSmoothPeriod (float period) |
| Set the smoothing period. | |
| virtual void | setSmoothingEnabled (bool enabled) |
| Enable or disable smoothing. | |
| virtual const DtTaitBryan & | approxEuler (DtTime curTime) const |
| Get the approximated (i.e. | |
| virtual void | setAcceleration (const DtVector &acc, DtTime curTime) |
| Set/Get absolute acceleration. | |
| virtual const DtVector & | acceleration (DtTime curTime) const |
| virtual void | setRotationalVelocity (const DtVector &vel, DtTime curTime) |
| Set/Get absolute rotational velocity. | |
| virtual const DtVector & | rotationalVelocity (DtTime curTime) const |
| virtual void | setAlgorithm (DtDeadReckonTypes alg) |
| Set/Get the dead reckoning algorithm used for generating the approximated values from the absolute values. | |
| virtual DtDeadReckonTypes | algorithm () const |
| virtual void | reset () |
| Used to reset the DeadReckoner. | |
Public Member Functions inherited from makVrv::DtMotionModel | |
| DtMotionModel () | |
| virtual | ~DtMotionModel () |
Protected Member Functions | |
| int | calculateDirectionFBLR (const DtTaitBryan &ori, const DtVector &vel) |
| int | calculateDirectionFB (const DtTaitBryan &ori, const DtVector &vel) |
| void | setCharacter (DtDiGuyCharacterModel *character) |
| Set the character model that this motion model is controlling. | |
Protected Attributes | |
| DtDe & | myDe |
| DtVector | myPositionReturn |
| DtTaitBryan | myOrientationReturn |
| DtVector | mApproxLocation |
| DtVector | myAcceleration |
| DtDiGuyCharacterModel * | myCharacter |
| DtSceneObject * | myObjectToMove |
| int | myLastDirection |
| int | myLastPosture |
| double | myLastSpeed |
| const char * | myLastAction |
| double | myLastActionTime |
| bool | myLastWeaponDeployed |
A Di Gui based motion model for objects which have a DI Guy character.
| makVrv::DtDiGuyMotionModel::DtDiGuyMotionModel | ( | DtDe & | igs, |
| DtSceneObject * | owner | ||
| ) |
CTOR.
| makVrv::DtDiGuyMotionModel::DtDiGuyMotionModel | ( | const DtDiGuyMotionModel & | orig, |
| double | time | ||
| ) |
Copy CTOR.
|
virtual |
DTOR.
|
virtual |
Clone the motion model's externally visible state.
Reimplemented from makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >.
|
virtual |
Does the Di Guy motion model handle updates.
|
virtual |
Call to update the motion state of the character.
Reimplemented from makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >.
|
virtual |
Get a DI-Guy action for the current character to match the direction/posture/speed.
|
virtual |
Called whenever a model is added.
Reimplemented from makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >.
|
virtual |
Called whenever a model is removed.
Reimplemented from makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >.
Get the approximated (i.e.
dead-reckoned for base DtDeadReckoner) location at the specified time.
Reimplemented from makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >.
|
protected |
|
protected |
|
protected |
Set the character model that this motion model is controlling.
|
protected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |