|
| | DtDeadReckonUpdater (DtDe &de, DtUniqueID id) |
| | CTOR. More...
|
| |
| virtual | ~DtDeadReckonUpdater () |
| | DTOR. More...
|
| |
| virtual void | update (DtTime tNow) |
| | call updateSpacial() More...
|
| |
| virtual void | setSceneObject (DtSceneObject *sceneObject) |
| | sets the scene object to update via the id. More...
|
| |
| virtual void | setDeadReckoningSettings (bool deadReckonPosition, bool deadReckonVelocity, bool deadReckonOrientation) |
| | Set the object's dead reckoning settings. More...
|
| |
| virtual void | setSmoothingEnabled (bool enabled) |
| | Turn the smoother on or off. More...
|
| |
| virtual void | setSmoothingPeriod (float period) |
| | Set the period for the smoother. More...
|
| |
| virtual void | resetSmoother () |
| | Reset the smoother. Used when changing from embarked to disembarked and vice versa. More...
|
| |
| virtual void | updateSpacial (DtTime tNow) |
| | Update the spacial attributes using the given simulation time. More...
|
| |
| void | setMotionModel (const std::string &modelName) |
| | Set which motion model the object should use. More...
|
| |
| DtMotionModel * | motionModel () const |
| | Get the motion model. More...
|
| |
| virtual void | setUseAbsoluteTimeStamping (bool) |
| | Sets whether or not to use absolute time stamping (default is false). More...
|
| |
| bool | useAbsoluteTimeStamping () const |
| |
| virtual void | setFrozen (bool frozen) |
| | Suspend / resume dead reckoning. More...
|
| |
| virtual bool | isFrozen () const |
| |
| virtual const DtVector & | approxLocation (DtTime curTime) const |
| | Because of time stamping, use these routines to get values from the motion model. More...
|
| |
| virtual const DtVector32 & | approxVelocity (DtTime curTime) const |
| | Get the approximated (i.e. More...
|
| |
| virtual const DtVector32 & | approxUnsmoothedVelocity (DtTime curTime) const |
| | Get the unsmoothed approximated (i.e. More...
|
| |
| virtual const DtTaitBryan & | approxEuler (DtTime curTime) const |
| | Get the approximated (i.e. More...
|
| |
| virtual const DtVector32 & | acceleration (DtTime curTime) const |
| | Get the acceleration for the specified time. More...
|
| |
| virtual const DtVector32 & | rotationalVelocity (DtTime curTime) const |
| | Get the rotation velocity for the specified time. More...
|
| |
|
| virtual void | setVelocity (const DtVector32 &velocity) |
| | Set the object's velocity. More...
|
| |
| virtual void | setVelocity (const DtVector32 &velocity, double time) |
| |
|
| virtual void | setBodyVelocity (const DtVector32 &velocity) |
| | Set the object's body velocity. More...
|
| |
| virtual void | setBodyVelocity (const DtVector32 &velocity, double time) |
| |
|
| virtual void | setAcceleration (const DtVector32 &acceleration) |
| | Set the object's velocity. More...
|
| |
| virtual void | setAcceleration (const DtVector32 &acceleration, double time) |
| |
|
| virtual void | setAngularVelocity (const DtVector32 &angularVelocity) |
| | Set the object's rotational velocity. More...
|
| |
| virtual void | setAngularVelocity (const DtVector32 &angularVelocity, double time) |
| |
|
| virtual void | setInputPosition (const DtVector &position) |
| | Set the object's position with a time for absolute timestamping. More...
|
| |
| virtual void | setInputPosition (const DtVector &position, double time) |
| |
|
| virtual void | setInputOrientation (const DtTaitBryan &ori) |
| | Set the object's orientation with a time specified for absolute time stampint. More...
|
| |
| virtual void | setInputOrientation (const DtTaitBryan &ori, double time) |
| |
| | DtSceneObjectUpdater (DtDe &de, DtUniqueID id) |
| | CTOR. More...
|
| |
| virtual | ~DtSceneObjectUpdater () |
| | Virtual DTOR. More...
|
| |
| virtual void | setNextUpdater (DtSceneObjectUpdater *nextUpdater) |
| | Set the next updater in the updater chain. More...
|
| |
| virtual void | setPrevUpdater (DtSceneObjectUpdater *prevUpdater) |
| | Set the previous updater in the updater chain. More...
|
| |
| virtual bool | needsUpdate (DtTime tNow) |
| | The check function called by DtTickableManager to verify if an update is required. More...
|
| |
| virtual void | updateAdaptiveTickrate (const DtVector &lastPos, const DtTime &deltaTime) |
| | This is called by the update function after all the original chaining updates happen. More...
|
| |
| virtual void | setVertexToUpdate (unsigned int vertex) |
| | Specify which vertex in the scene object this updater updates. More...
|
| |
| virtual void | setOutputPosition (const DtVector &position) |
| | Output the resultant position. More...
|
| |
| virtual void | setOutputOrientation (const DtTaitBryan &orientation) |
| | Output the resultant orientation. More...
|
| |
| virtual void | setOutputPositionAndOrientation (const DtVector &position, const DtTaitBryan &orientation) |
| | Set both the position and orientation at the same time. More...
|
| |
| virtual DtTime | lastUpdateTime () const |
| | Get the time-stamp of the last update. More...
|
| |
| virtual void | setSceneObject (DtSceneObject *sceneObject, bool addToTickableMgrIfHead) |
| | Set the scene object to be updated. More...
|
| |
| virtual void | setLodSystemEnabled (bool enabled) |
| | brief set if the lod update system is on for this model More...
|
| |
| virtual bool | lodSystemEnabled () const |
| | brief gets if the lod update system is on for this model More...
|
| |
| virtual void | setLodScaleSpeedFactor (float factor) |
| | brief sets the value that linearly adjusts the range of the lod radii by the velocity More...
|
| |
| virtual float | lodScaleSpeedFactor () const |
| | brief gets the value that linearly adjusts the range of the lod radii by the velocity More...
|
| |
| virtual void | setLodRadiusStart (float ratius) |
| | brief sets the near radius where the update rate starts to fall off More...
|
| |
| virtual float | lodRadiusStart () const |
| | brief gets the near radius where the update rate starts to fall off More...
|
| |
| virtual void | setLodRadiusEnd (float ratius) |
| | brief sets the far radius where the update rate stops falling off More...
|
| |
| virtual float | lodRadiusEnd () const |
| | brief gets the far radius where the update rate stops falling off More...
|
| |
| virtual void | setNearLodUpdateRate (int nearRate) |
| | sets the update rate at the near radius, defaults to every six ticks More...
|
| |
| virtual int | nearLodUpdateRate () const |
| | brief gets the update rate at the near radius, defaults to every six ticks More...
|
| |
| virtual void | setFarLodUpdateRate (int maxRate) |
| | brief the update rate at the far radius, defaults to every 30 ticks More...
|
| |
| virtual int | farLodUpdateRate () const |
| | brief gets the update rate at the far radius defaults to every 30 ticks More...
|
| |
| DtUniqueID | uniqueId () const |
| | Returns the distributed object id of this updater. More...
|
| |
| DtSceneObjectUpdater * | findNextUpdater () const |
| | Return the next updater in the updater chain. More...
|
| |
| DtSceneObjectUpdater * | findPrevUpdater () const |
| | Return the previous updater in the updater chain. More...
|
| |
| virtual bool | isChainThreadSafe (DtSceneObjectUpdater *firstUpdater) |
| | Check all the updaters in the current chain and determine if the chain is thread safe. More...
|
| |
| virtual DtSceneObjectUpdater * | chainHead () |
| | Find the first updater in the chain. More...
|
| |
| virtual void | setIsThreadSafe (bool safe) |
| | Override the DtTickable base class' method so retest the entire chain this updater belongs to. More...
|
| |
| DtSceneObject * | findSceneObject () |
| | Get the current scene object for this updater. More...
|
| |
| DtSceneObject *const | findSceneObject () const |
| | const correct version More...
|
| |
| virtual bool | updateIfNeeded (DtTime tNow) |
| | Calls needsUpdate(), and then calls update() if needsUpdate() is true. More...
|
| |
| virtual | ~DtTickable () |
| | Virtual DTOR. More...
|
| |
| virtual bool | isThreadSafe () const |
| |
| virtual void | setTickableListState (TickableListState safeList) |
| | Track which tickable list (if any) this tickable is on Since the tickable constructor puts ALL tickables on the main (unThreadSafe) to start we need a way to check which list a tickable is on (and this way we can request removals from the correct list instead of having to call DtTickableManager::removeTickableObject(), which tries both lists). More...
|
| |
| virtual TickableListState | tickableListState () const |
| |
| virtual void | setUpdatePeriod (unsigned int period) |
| | Specify how often (in # of frames) this tickable should call update. More...
|
| |
| virtual unsigned int | updatePeriod () const |
| |
DtDeadReckonUpdater is a scene object updater that is given kinematic updates and updates a scene object with dead reckoned values based on those updates, configuration, and current simulation time.