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

DtDeadReckonGroundClampUpdater is an updater that combines DtDeadReckonUpdater and DtGroundClampingUpdater to provide scene object updates that need to be dead reckoned AND ground clamped. More...

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

List of all members.

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 DtMotionModelmotionModel ()
 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

DtGroundClampingUpdatermyGroundClampingUpdater
DtDeadReckonUpdatermyDeadReckonUpdater

Detailed Description

DtDeadReckonGroundClampUpdater is an updater that combines DtDeadReckonUpdater and DtGroundClampingUpdater to provide scene object updates that need to be dead reckoned AND ground clamped.


Constructor & Destructor Documentation

CTOR.

DTOR.


Member Function Documentation

virtual void makVrv::DtDeadReckonGroundClampUpdater::update ( double  simTime) [virtual]
virtual void makVrv::DtDeadReckonGroundClampUpdater::setSceneObject ( DtSceneObject sceneObject) [virtual]

Override scene object call to set subcomponent updaters.

Reimplemented from makVrv::DtUpdater.

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.

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.

Get the motion model.

Set the Simple object's ground clamping Note that this only takes effect when setPosition() is called.

Set the Simple object's ground clamping Note that this only takes effect when setPosition() is called.

Set the scale factor that the entity bounding radius is multiplied by to get the ground clamping cutoff distance.

Set ground clamping cutoff to always clamp (which ignores the cutoff distance)

When enabled check for object culling.


Member Data Documentation


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)