![]() |
VR-Forces 4.3.1 Class Documentation
|
The base motion model class. More...

Public Member Functions | |
| DtMotionModel () | |
| virtual | ~DtMotionModel () |
| virtual void | updateMotion (double dtTime)=0 |
| virtual void | modelAdded (DtModel *)=0 |
| Called whenever a model is added. | |
| virtual void | modelRemoved (DtModel *)=0 |
| Called whenever a model is removed. | |
| virtual void | setLocation (const DtVector &loc, DtTime curTime)=0 |
| Set absolute location. | |
| virtual const DtVector & | approxLocation (DtTime curTime) const =0 |
| Get the approximated (i.e. | |
| virtual void | setVelocity (const DtVector &vel, DtTime curTime)=0 |
| Set absolute velocity. | |
| virtual const DtVector & | approxVelocity (DtTime curTime) const =0 |
| Get the approximated (i.e. | |
| virtual void | setOrientation (const DtTaitBryan &ori, DtTime curTime)=0 |
| Set absolute orientation. | |
| virtual const DtTaitBryan & | approxEuler (DtTime curTime) const =0 |
| Get the approximated (i.e. | |
| virtual void | setAcceleration (const DtVector &acc, DtTime curTime)=0 |
| Set/Get absolute acceleration. | |
| virtual const DtVector & | acceleration (DtTime curTime) const =0 |
| virtual void | setRotationalVelocity (const DtVector &vel, DtTime curTime)=0 |
| Set/Get absolute rotational velocity. | |
| virtual const DtVector & | rotationalVelocity (DtTime curTime) const =0 |
| virtual void | setSmoothPeriod (float period)=0 |
| Set the smoothing period. | |
| virtual void | setSmoothingEnabled (bool enabled)=0 |
| Enable or disable smoothing. | |
| virtual void | setAlgorithm (DtDeadReckonTypes alg)=0 |
| Set/Get the dead reckoning algorithm used for generating the approximated values from the absolute values. | |
| virtual DtDeadReckonTypes | algorithm () const =0 |
| virtual DtMotionModel * | clone (double time)=0 |
| virtual void | reset ()=0 |
| Used to reset the DeadReckoner. | |
The base motion model class.
| makVrv::DtMotionModel::DtMotionModel | ( | ) |
|
virtual |
|
pure virtual |
|
pure virtual |
Called whenever a model is added.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >, makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >, and makVrv::DtDiGuyMotionModel.
|
pure virtual |
Called whenever a model is removed.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >, makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >, and makVrv::DtDiGuyMotionModel.
|
pure virtual |
Set absolute location.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >, and makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >.
Get the approximated (i.e.
dead-reckoned for base DtDeadReckoner) location at the specified time.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >, makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >, and makVrv::DtDiGuyMotionModel.
|
pure virtual |
Set absolute velocity.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >, and makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >.
Get the approximated (i.e.
dead-reckoned for base DtDeadReckoner) velocity at the specified time.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >, and makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >.
|
pure virtual |
Set absolute orientation.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >, and makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >.
|
pure virtual |
Get the approximated (i.e.
dead-reckoned for base DtDeadReckoner) orientation at the specified time.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >, and makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >.
|
pure virtual |
Set/Get absolute acceleration.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >, and makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >.
|
pure virtual |
Set/Get absolute rotational velocity.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >, and makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >.
|
pure virtual |
Set the smoothing period.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >, and makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >.
|
pure virtual |
Enable or disable smoothing.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >, and makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >.
|
pure virtual |
Set/Get the dead reckoning algorithm used for generating the approximated values from the absolute values.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >, and makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Used to reset the DeadReckoner.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >, and makVrv::DtVRLDeadReckonerMotionModel< DtFixedSmoother >.