![]() |
VR-Forces 4.1 Class Documentation
|
An updater for tactical smoke. More...

Public Member Functions | |
| DtTacticalSmokeUpdater (DtDe &de, DtUniqueID id, bool suppressTick=false) | |
| CTOR. | |
| virtual | ~DtTacticalSmokeUpdater () |
| Virtual DTOR. | |
| virtual void | setTacticalSmokeModel (DtModel *model) |
| Set the tactical smoke model to be updated. | |
| virtual void | setPosition (int vtx, const DtVector &pos) |
| Set the position of a scene object vertex. | |
| virtual void | setOrientation (int vtx, const DtTaitBryan &ori) |
| Set the orientation of a scene object vertex. | |
| virtual void | setVelocity (int vtx, const DtVector &velo) |
| Set the velocity of a scene object vertex. | |
| virtual void | setAcceleration (int vtx, const DtVector &accel) |
| Set the acceleration of a scene object vertex. | |
| virtual void | setAngularVelocity (int vtx, const DtVector &velo) |
| Set the angular velocity of a scene object vertex. | |
| virtual void | setDensity (int vtx, double dens) |
| Set the current density. | |
| virtual void | setDensityRate (int vtx, double rate) |
| Set the density rate of change. | |
| virtual void | setOneSigmas (int vtx, const DtVector &sigma) |
| Set the current one-sigma distances. | |
| virtual void | setOneSigmaRates (int vtx, const DtVector &rate) |
| Set the one-sigma distances rate of change. | |
Public Member Functions inherited from makVrv::DtMultiDeadReckonUpdater | |
| DtMultiDeadReckonUpdater (DtDe &de, DtUniqueID id, bool suppressTick=false) | |
| CTOR. | |
| virtual | ~DtMultiDeadReckonUpdater () |
| Virtual DTOR. | |
| virtual void | update (DtTime tNow) |
| Push the update data to the scene object. | |
| virtual void | setDeadReckoningSettings (bool pos, bool ori, bool velo) |
| Set the object's dead reckoning settings at all vertices. | |
| virtual void | setSmoothingEnabled (bool enabled) |
| Enable or disable smoothing for all vertices. | |
| virtual void | setSmoothingPeriod (float period) |
| Set the period for the smoothing calculation. | |
| virtual void | updateSpacial (DtTime tNow) |
| Update the spacial attributes using the current simulation time. | |
| virtual void | setMotionModel (const std::string &modelName) |
| Set which motion model the object should use. | |
| virtual DtMotionModel * | motionModel (int vtx) |
| Get the motion model at a given vertex. | |
Public Member Functions inherited from makVrv::DtSceneObjectUpdater | |
| DtSceneObjectUpdater (DtDe &de, DtUniqueID id, bool suppressTick=false) | |
| CTOR. | |
| virtual | ~DtSceneObjectUpdater () |
| Virtual DTOR. | |
| virtual bool | needsUpdate (DtTime tNow) |
| The check function called by DtTickableManager to verify if an update is required. | |
| virtual DtTime | lastUpdateTime () const |
| Get the time-stamp of the last update. | |
| virtual void | setSceneObject (DtSceneObject *sceneObject) |
| Set the scene object to be updated. | |
| DtSceneObject * | findSceneObject () |
| Get the current scene object for this updater. | |
| DtUniqueID | uniqueId () const |
| Returns the distributed object id of this updater. | |
| virtual void | setUpdaterPosition (int vtx, const DtVector &pos) |
| Set the position of a scene object vertex. | |
| virtual const DtVector & | updaterPosition (int vtx) const |
| Get the position of a scene object vertex. | |
| virtual void | setUpdaterOrientation (int vtx, const DtTaitBryan &ori) |
| Set the orientation of a scene object vertex. | |
| virtual const DtTaitBryan & | updaterOrientation (int vtx) const |
| Get the orientation of a scene object vertex. | |
| void | updateSceneObject (DtTime tNow) |
| Update the scene object position and orientation at each vertex and set the last updated time-stamp. | |
| virtual void | terrainScaleTransformsIfNeeded () |
| Scales the transforms if the terrain scaling flag is set. | |
Protected Attributes | |
| DtSmokePuffsDeadReckonUpdater | mySmokePuffsDeadReckonUpdater |
Protected Attributes inherited from makVrv::DtMultiDeadReckonUpdater | |
| MotionModels | myMotionModels |
| std::string | myMotionModelType |
| DtDeadReckonTypes | myDeadReckonTypes |
| float | mySmoothingPeriod |
| bool | mySmoothingEnabled |
Protected Attributes inherited from makVrv::DtSceneObjectUpdater | |
| DtDe & | myDe |
| The display engine. | |
| DtUniqueID | myUniqueId |
| This distributed object's unique identifier. | |
| DtSceneObject * | mySceneObject |
| A pointer to the current scene object being updated. | |
| DtTime | myLastUpdateTime |
| The last time stamp when the updateSceneObject() was called. | |
| DtSceneObject::TransformList | myTransforms |
| Local copy of the vertex positions and orientations. | |
| const DtDeSharedState & | myDeSharedState |
| This is kept to make terrain scale updating cheaper ( by one virtual function call ). | |
| bool | myInManager |
| If tick was suppressed, then this updater is not on the tickableManager. | |
Private Member Functions | |
| DtTacticalSmokeUpdater () | |
| Default constructor. | |
| DtTacticalSmokeUpdater (const DtTacticalSmokeUpdater &) | |
| Copy constructor. | |
| DtTacticalSmokeUpdater & | operator= (const DtTacticalSmokeUpdater &) |
| Assignment Operator. | |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtSceneObjectUpdater | |
| boost::signal< void(const DtUniqueID &) > | signal_updaterToBeDeleted |
| Signal that this updater is being destroyed. | |
Protected Member Functions inherited from makVrv::DtSceneObjectUpdater | |
| virtual void | slot_sceneObjectToBeDeleted (const DtUniqueID &id) |
| Signal that this updater is being destroyed. | |
Protected Member Functions inherited from makVrv::DtTickable | |
| DtTickable (DtTickableManagerInterface *manager=NULL) | |
| CTOR. | |
| virtual | ~DtTickable () |
| Virtual DTOR. | |
An updater for tactical smoke.
This updater drives a cloud of smoke made up of several 'puffs' with a changing cloud position, cloud orientation, puff position (within the cloud), puff density and one-sigma particle distribution distances for each puff.
| makVrv::DtTacticalSmokeUpdater::DtTacticalSmokeUpdater | ( | DtDe & | de, |
| DtUniqueID | id, | ||
| bool | suppressTick = false |
||
| ) |
CTOR.
| [in] | de | is the display engine. |
| [in] | id | is a unique identifier for this distributed object. |
| [in] | suppressTick | is a flag instructing to not register with a DtTickableManager when set true, default is false. |
|
virtual |
Virtual DTOR.
|
private |
Default constructor.
|
private |
Copy constructor.
|
virtual |
Set the tactical smoke model to be updated.
| [in] | model | is the tactical smoke model to receive updates. |
|
virtual |
Set the position of a scene object vertex.
| [in] | vtx | is the vertex of the scene object. |
| [in] | pos | is the position to set. |
Reimplemented from makVrv::DtMultiDeadReckonUpdater.
|
virtual |
Set the orientation of a scene object vertex.
| [in] | vtx | is the vertex of the scene object. |
| [in] | ori | is the orientation to set. |
Reimplemented from makVrv::DtMultiDeadReckonUpdater.
|
virtual |
Set the velocity of a scene object vertex.
| [in] | vtx | is the vertex of the scene object. |
| [in] | velo | is the velocity to set. |
Reimplemented from makVrv::DtMultiDeadReckonUpdater.
|
virtual |
Set the acceleration of a scene object vertex.
| [in] | vtx | is the vertex of the scene object. |
| [in] | accel | is the acceleration to set. |
Reimplemented from makVrv::DtMultiDeadReckonUpdater.
|
virtual |
Set the angular velocity of a scene object vertex.
| [in] | vtx | is the vertex of the scene object. |
| [in] | velo | is the angular velocity to set. |
Reimplemented from makVrv::DtMultiDeadReckonUpdater.
|
virtual |
Set the current density.
| [in] | vtx | is the vertex of the scene object. |
| [in] | dens | is the density to set. |
|
virtual |
Set the density rate of change.
| [in] | vtx | is the vertex of the scene object. |
| [in] | rate | is the rate of change. |
|
virtual |
Set the current one-sigma distances.
| [in] | vtx | is the vertex of the scene object. |
| [in] | sigma | is the one-sigma distances to set. |
|
virtual |
Set the one-sigma distances rate of change.
| [in] | vtx | is the vertex of the scene object. |
| [in] | rate | is the rate of change. |
|
private |
Assignment Operator.
|
protected |