|
| | DtTritonWaterClampingUpdater (DtDe &de, DtUniqueID id) |
| | CTOR. More...
|
| |
| virtual | ~DtTritonWaterClampingUpdater () |
| | DTOR. More...
|
| |
| virtual bool | clampToWater (DtTime tNow) |
| | Clamp an object to the water using the buoyancy model. More...
|
| |
| virtual void | setPaused (bool isPaused) |
| | Set the simulation paused/unpaused. More...
|
| |
| virtual void | setLOD (float lodDistance) |
| | override the base class version so myFullyLodDistance can be updated More...
|
| |
| virtual void | setWaterlineOriginOffset (float offset) |
| | override the base class version so myWaterlineAltitude can be updated More...
|
| |
| virtual void | resetMotionModel (double seaLevel) |
| | Deletes and recreates the underlying motion model; used when sea level. More...
|
| |
| | DtWaterClampingUpdater (DtDe &de, DtUniqueID id) |
| | CTOR. More...
|
| |
| virtual | ~DtWaterClampingUpdater () |
| | DTOR. More...
|
| |
| virtual void | update (DtTime tNow) |
| | do the actual clamping. More...
|
| |
| virtual void | setMinimumCullDistance (float distance) |
| | Set the distance within which buoyancy won't be frustum culled. More...
|
| |
| virtual void | setCullType (int cullType) |
| | Sets the type of buoyancy culling used (FrontFacing or None). More...
|
| |
| virtual void | setIsSinking (bool isSinking) |
| |
| | 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 | setInputPosition (const DtVector &position) |
| | Set the position input to this updater. More...
|
| |
| virtual void | setInputOrientation (const DtTaitBryan &orientation) |
| | Set the orientation input to this updater. 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 | setSceneObject (DtSceneObject *sceneObject) |
| | 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 |
| |
|
| virtual double | altitudeAt (const DtVector &pos) |
| | Get the altitude at a point. More...
|
| |
| virtual void | addAltitude (DtVector &pos, float altitudeToAdd) |
| | Add the specified altitude to pos. More...
|
| |
| virtual DtVector | moveToAltitude (const DtVector &pos, double alt) |
| | Move a point to the specified altitude. More...
|
| |
| virtual DtTaitBryan | computeMotionOrientation () |
| | Compute the orientation for the motion model. More...
|
| |
| virtual bool | isFullyImmersed () |
| | Are we under water? More...
|
| |
| virtual void | adjustSinkingSpeedScale (const DtVector &inputPosition, const DtVector ¤tPosition) |
| |
| virtual void | smoothMotionAndSeaLevel (double percent, DtVector &outputPos, DtTaitBryan &outputOri) |
| | Percent 0 = myLastMotionPos/Ori Percent 1 = mySeaLevelPosition/myInputOrientation linear interpolation between the two for values in between 0 and 1. More...
|
| |
| virtual void | slot_oceanLayerSeaLevelChanged (double sealevel) |
| |
| virtual void | updateWaterLineAltitude (double sealevel) |
| |
| virtual bool | initializeExtents (double sealevel) |
| |
| virtual bool | checkCull (DtObserverObject *const observer, const DtVector &eyeToShip) const |
| |
| virtual void | slot_coordinateSystemChanged () |
| |
| virtual void | setNextUpdaterWithoutManagerPlacement (DtSceneObjectUpdater *updater) |
| |
| virtual void | removeThreadSafeChainFromManager (DtSceneObjectUpdater *head) |
| | Helper method to remove an updater (not necessarily this one, but rather the one at the head of the chain that this updater belongs to) from the DtTickableManager's thread-safe tickable list. More...
|
| |
| virtual void | removeUnThreadSafeChainFromManager (DtSceneObjectUpdater *head) |
| | Helper method to remove an updater (not necessarily this one, but rather the one at the head of the chain that this updater belongs to) from the DtTickableManager's un-thread-safe tickable list. More...
|
| |
| virtual void | addThreadSafeChainToManager (DtSceneObjectUpdater *head) |
| | Helper method to add an updater (not necessarily this one, but rather the one at the head of the chain that this updater belongs to) to the DtTickableManager's thread-safe tickable list. More...
|
| |
| virtual void | addUnThreadSafeChainToManager (DtSceneObjectUpdater *head) |
| | Helper method to add an updater (not necessarily this one, but rather the one at the head of the chain that this updater belongs to) to the DtTickableManager's un-thread-safe tickable list. More...
|
| |
| virtual void | placeChainOnCorrectTickableList (DtSceneObjectUpdater *head) |
| | Examines the chain for the given head updater, removes the head from the approriate ticable list if necessary, and then adds the head to the correct (threaded or unthreaded) tickable list. More...
|
| |
| virtual void | slot_sceneObjectToBeDeleted (const DtUniqueID &id) |
| |
| | DtTickable (DtTickableManagerInterface *manager) |
| | CTOR. More...
|
| |
| | DtTickable () |
| | Unimplemented default CTOR. More...
|
| |
| virtual void | slot_managerAboutToBeDeleted () |
| |
DtTritonWaterClampingUpdater is a Triton-using re-implementation of the DtWaterClampingUpdater.
It provides a physics-based buoyancy model that is used to determine the position and altitude of a scene object that is on Triton dynamic ocean