![]() |
VR-Forces 4.0.4 Class Documentation
|
DtDeadReckonGroundClampUpdater is an updater that combines DtDeadReckonUpdater and DtGroundClampingUpdater to provide scene object updates that need to be dead reckoned AND ground clamped. More...

Public Member Functions | |
| DtDeadReckonGroundClampUpdater (DtDe &de, DtUniqueID id) | |
| CTOR. | |
| virtual | ~DtDeadReckonGroundClampUpdater () |
| DTOR. | |
| virtual void | update (double simTime) |
| Calls deadReckonAndGroundClamp() followed by updateSceneObject() | |
| virtual void | setSceneObject (DtSceneObject *sceneObject) |
| Override scene object call to set subcomponent updaters. | |
| virtual void | deadReckonAndGroundClamp () |
| Calculates dead reckoned values using contained DtDeadReckonUpdater, and then ground clamps using the contained DtGroundClampingUpdater. | |
| virtual void | setPosition (const DtVector &position) |
| Set the object's position. | |
| virtual void | setOrientation (const DtTaitBryan &ori) |
| Set the object's orientation. | |
| virtual void | setVelocity (const DtVector &velocity) |
| Set the object's velocity. | |
| virtual void | setAcceleration (const DtVector &acceleration) |
| Set the object's velocity. | |
| virtual void | setAngularVelocity (const DtVector &angularVelocity) |
| Set the object's rotational velocity. | |
| virtual void | setDeadReckoningSettings (bool deadReckonPosition, bool deadReckonVelocity, bool deadReckonOrientation) |
| Set the object's dead reckoning settings. | |
| virtual void | setSmoothingEnabled (bool enabled) |
| Turn the smoother on or off. | |
| virtual void | setSmoothingPeriod (float period) |
| Set the period for the smoother. | |
| virtual void | updateSpacial (double simulationTime) |
| Update the spacial attributes using the given simulation time. | |
| virtual void | setMotionModel (const std::string &modelName) |
| Set which motion model the object should use. | |
| virtual DtMotionModel * | motionModel () |
| Get the motion model. | |
| virtual void | setGroundClamping (bool enabled) |
| Set the Simple object's ground clamping Note that this only takes effect when setPosition() is called. | |
| virtual void | setGroundClampingMode (DtGroundClampingUpdater::GroundClampingMode mode) |
| Set the Simple object's ground clamping Note that this only takes effect when setPosition() is called. | |
| virtual void | setGroundClampingRadiusScale (float scale) |
| Set the scale factor that the entity bounding radius is multiplied by to get the ground clamping cutoff distance. | |
| virtual void | setGroundClampingAlways (bool enabled) |
| Set ground clamping cutoff to always clamp (which ignores the cutoff distance) | |
| virtual void | setCheckForCulling (bool) |
| When enabled check for object culling. | |
Protected Attributes | |
| DtGroundClampingUpdater * | myGroundClampingUpdater |
| DtDeadReckonUpdater * | myDeadReckonUpdater |
DtDeadReckonGroundClampUpdater is an updater that combines DtDeadReckonUpdater and DtGroundClampingUpdater to provide scene object updates that need to be dead reckoned AND ground clamped.
CTOR.
| virtual makVrv::DtDeadReckonGroundClampUpdater::~DtDeadReckonGroundClampUpdater | ( | ) | [virtual] |
DTOR.
| virtual void makVrv::DtDeadReckonGroundClampUpdater::update | ( | double | simTime | ) | [virtual] |
Calls deadReckonAndGroundClamp() followed by updateSceneObject()
Implements makVrv::DtUpdater.
| virtual void makVrv::DtDeadReckonGroundClampUpdater::setSceneObject | ( | DtSceneObject * | sceneObject | ) | [virtual] |
Override scene object call to set subcomponent updaters.
Reimplemented from makVrv::DtUpdater.
| virtual void makVrv::DtDeadReckonGroundClampUpdater::deadReckonAndGroundClamp | ( | ) | [virtual] |
Calculates dead reckoned values using contained DtDeadReckonUpdater, and then ground clamps using the contained DtGroundClampingUpdater.
| virtual void makVrv::DtDeadReckonGroundClampUpdater::setPosition | ( | const DtVector & | position | ) | [virtual] |
Set the object's position.
| virtual void makVrv::DtDeadReckonGroundClampUpdater::setOrientation | ( | const DtTaitBryan & | ori | ) | [virtual] |
Set the object's orientation.
| virtual void makVrv::DtDeadReckonGroundClampUpdater::setVelocity | ( | const DtVector & | velocity | ) | [virtual] |
Set the object's velocity.
| virtual void makVrv::DtDeadReckonGroundClampUpdater::setAcceleration | ( | const DtVector & | acceleration | ) | [virtual] |
Set the object's velocity.
| virtual void makVrv::DtDeadReckonGroundClampUpdater::setAngularVelocity | ( | const DtVector & | angularVelocity | ) | [virtual] |
Set the object's rotational velocity.
| virtual void makVrv::DtDeadReckonGroundClampUpdater::setDeadReckoningSettings | ( | bool | deadReckonPosition, |
| bool | deadReckonVelocity, | ||
| bool | deadReckonOrientation | ||
| ) | [virtual] |
Set the object's dead reckoning settings.
| virtual void makVrv::DtDeadReckonGroundClampUpdater::setSmoothingEnabled | ( | bool | enabled | ) | [virtual] |
Turn the smoother on or off.
| virtual void makVrv::DtDeadReckonGroundClampUpdater::setSmoothingPeriod | ( | float | period | ) | [virtual] |
Set the period for the smoother.
| virtual void makVrv::DtDeadReckonGroundClampUpdater::updateSpacial | ( | double | simulationTime | ) | [virtual] |
Update the spacial attributes using the given simulation time.
| virtual void makVrv::DtDeadReckonGroundClampUpdater::setMotionModel | ( | const std::string & | modelName | ) | [virtual] |
Set which motion model the object should use.
| virtual DtMotionModel* makVrv::DtDeadReckonGroundClampUpdater::motionModel | ( | ) | [virtual] |
Get the motion model.
| virtual void makVrv::DtDeadReckonGroundClampUpdater::setGroundClamping | ( | bool | enabled | ) | [virtual] |
Set the Simple object's ground clamping Note that this only takes effect when setPosition() is called.
| virtual void makVrv::DtDeadReckonGroundClampUpdater::setGroundClampingMode | ( | DtGroundClampingUpdater::GroundClampingMode | mode | ) | [virtual] |
Set the Simple object's ground clamping Note that this only takes effect when setPosition() is called.
| virtual void makVrv::DtDeadReckonGroundClampUpdater::setGroundClampingRadiusScale | ( | float | scale | ) | [virtual] |
Set the scale factor that the entity bounding radius is multiplied by to get the ground clamping cutoff distance.
| virtual void makVrv::DtDeadReckonGroundClampUpdater::setGroundClampingAlways | ( | bool | enabled | ) | [virtual] |
Set ground clamping cutoff to always clamp (which ignores the cutoff distance)
| virtual void makVrv::DtDeadReckonGroundClampUpdater::setCheckForCulling | ( | bool | ) | [virtual] |
When enabled check for object culling.
DtGroundClampingUpdater* makVrv::DtDeadReckonGroundClampUpdater::myGroundClampingUpdater [protected] |