![]() |
VR-Forces Developer's Guide
|
The base motion model class.

Public Member Functions | |
| DtMotionModel () | |
| virtual | ~DtMotionModel () |
| virtual void | updateMotion (double dtTime)=0 |
| virtual void | setAll (const DtVector &loc, const DtVector32 &vel, const DtTaitBryan &ori, const DtVector32 &acc, const DtVector32 &rotVel, DtTime t)=0 |
| virtual const DtTime & | velocityUpdateTime () const =0 |
| virtual const DtTime & | locationUpdateTime () const =0 |
| virtual void | setLocation (const DtVector &loc, DtTime curTime)=0 |
| virtual const DtVector & | approxLocation (DtTime curTime) const =0 |
| virtual void | setVelocity (const DtVector32 &vel, DtTime curTime)=0 |
| virtual const DtVector32 & | approxVelocity (DtTime curTime) const =0 |
| virtual const DtVector32 & | approxUnsmoothedVelocity (DtTime curTime) const =0 |
| virtual void | setOrientation (const DtTaitBryan &ori, DtTime curTime)=0 |
| virtual const DtTaitBryan & | approxEuler (DtTime curTime) const =0 |
| virtual void | setAcceleration (const DtVector32 &acc, DtTime curTime)=0 |
| virtual const DtVector32 & | acceleration (DtTime curTime) const =0 |
| virtual void | setRotationalVelocity (const DtVector32 &vel, DtTime curTime)=0 |
| virtual const DtVector32 & | rotationalVelocity (DtTime curTime) const =0 |
| virtual void | setSmoothPeriod (float period)=0 |
| virtual void | setSmoothingEnabled (bool enabled)=0 |
| virtual void | setAlgorithm (DtDeadReckonTypes alg)=0 |
| virtual DtDeadReckonTypes | algorithm () const =0 |
| virtual DtMotionModel * | clone (double time)=0 |
| virtual void | reset ()=0 |
| virtual void | setFrozen (bool frozen)=0 |
| virtual bool | isFrozen () const =0 |
| virtual void | setDeadReckoningEnabled (bool enabled)=0 |
| virtual bool | isDeadReckoningEnabled () const =0 |
| makVrv::DtMotionModel::DtMotionModel | ( | ) |
|
virtual |
|
pure virtual |
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Coherently set all DR parameters, thus avoiding DR computations associated with a partial set.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Times at which velocity and position were last updated from the network.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Set absolute location.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Get the approximated (i.e. dead-reckoned for base DtDeadReckoner) location at the specified time.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Set absolute velocity.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Get the approximated (i.e. dead-reckoned for base DtDeadReckoner) velocity at the specified time. Note that this velocity has been potentially 'de-smoothed' to provide a smoothed location when used to do smoothing.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Get the approximated (i.e. dead-reckoned for base DtDeadReckoner) velocity at the specified time.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Set absolute orientation.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Get the approximated (i.e. dead-reckoned for base DtDeadReckoner) orientation at the specified time.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Set/Get absolute acceleration.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Set/Get absolute rotational velocity.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Set the smoothing period.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Enable or disable smoothing.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Set/Get the dead reckoning algorithm used for generating the approximated values from the absolute values.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Used to reset the DeadReckoner.
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Get/Set the frozen state (enable/disable dead reckoning)
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Get/Set the frozen state (enable/disable dead reckoning)
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Get/Set whether dead reckoning is disabled (independently from frozen/paused state).
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.
|
pure virtual |
Get/Set whether dead reckoning is disabled (independently from frozen/paused state).
Implemented in makVrv::DtVRLDeadReckonerMotionModel< DeadReckoner >.