DtSmokePuffsDeadReckonUpdater is an updater that is given updates for attributes of smoke (density, sigma, color) dead-reckons updates to a DtTacticalSmokeModel based on current simulation time.
More...
Classes |
| struct | SmokeReckoners |
| | A structure for pairing dead-reckoning smothers for both density and sigmas. More...
|
Detailed Description
DtSmokePuffsDeadReckonUpdater is an updater that is given updates for attributes of smoke (density, sigma, color) dead-reckons updates to a DtTacticalSmokeModel based on current simulation time.
Member Typedef Documentation
Constructor & Destructor Documentation
| makVrv::DtSmokePuffsDeadReckonUpdater::DtSmokePuffsDeadReckonUpdater |
( |
DtDe & |
de, |
|
|
DtUniqueID |
id |
|
) |
| |
CTOR.
- Parameters
-
| [in] | de | is the display engine. |
| virtual makVrv::DtSmokePuffsDeadReckonUpdater::~DtSmokePuffsDeadReckonUpdater |
( |
| ) |
|
|
virtual |
| makVrv::DtSmokePuffsDeadReckonUpdater::DtSmokePuffsDeadReckonUpdater |
( |
| ) |
|
|
private |
Default constructor.
- Note
- Not implemented
Copy constructor.
- Note
- Not implemented
Member Function Documentation
| virtual bool makVrv::DtSmokePuffsDeadReckonUpdater::needsUpdate |
( |
DtTime |
tNow | ) |
|
|
virtual |
Check if an update is required.
- Parameters
-
| [in] | tNow | is the current time-stamp. |
- Return values
-
| true | if this object needs to be ticked. |
| false | otherwise. |
Implements makVrv::DtTickable.
| virtual void makVrv::DtSmokePuffsDeadReckonUpdater::update |
( |
DtTime |
tNow | ) |
|
|
virtual |
Update the model with the current data.
- Parameters
-
| [in] | tNow | is the current time-stamp. |
Implements makVrv::DtTickable.
Set the model to be updated.
- Parameters
-
| [in] | model | is the tactical smoke model to be updated. |
Get the model being updated.
- Returns
- The tactical smoke model being updated.
| virtual void makVrv::DtSmokePuffsDeadReckonUpdater::setDensity |
( |
int |
vtx, |
|
|
double |
dens |
|
) |
| |
|
virtual |
Set the current density.
- Parameters
-
| [in] | vtx | is the vertex of the scene object. |
| [in] | dens | is the density to set. |
| virtual void makVrv::DtSmokePuffsDeadReckonUpdater::setDensityRate |
( |
int |
vtx, |
|
|
double |
rate |
|
) |
| |
|
virtual |
Set the density rate of change.
- Parameters
-
| [in] | vtx | is the vertex of the scene object. |
| [in] | rate | is the rate of change. |
| virtual void makVrv::DtSmokePuffsDeadReckonUpdater::setOneSigmas |
( |
int |
vtx, |
|
|
const DtVector & |
sigma |
|
) |
| |
|
virtual |
Set the current one-sigma distances.
- Parameters
-
| [in] | vtx | is the vertex of the scene object. |
| [in] | sigma | is the one-sigma distances to set. |
| virtual void makVrv::DtSmokePuffsDeadReckonUpdater::setOneSigmaRates |
( |
int |
vtx, |
|
|
const DtVector & |
rate |
|
) |
| |
|
virtual |
Set the one-sigma distances rate of change.
- Parameters
-
| [in] | vtx | is the vertex of the scene object. |
| [in] | rate | is the rate of change. |
| virtual DtFixedSmoother& makVrv::DtSmokePuffsDeadReckonUpdater::densityDeadReckoner |
( |
int |
vtx | ) |
|
|
virtual |
Get the dead-reckoner for density at a given vertex.
- Parameters
-
| [in] | vtx | is the vertex of the scene object. |
- Note
- Calling this function will lazy create the dead-reckoner.
| virtual DtFixedSmoother& makVrv::DtSmokePuffsDeadReckonUpdater::sigmaDeadReckoner |
( |
int |
vtx | ) |
|
|
virtual |
Get the dead-reckoner for density at a given vertex.
- Parameters
-
| [in] | vtx | is the vertex of the scene object. |
- Note
- Calling this function will lazy create the dead-reckoner.
Get the set of dead-reckoner objects a given vertex.
- Parameters
-
| [in] | vtx | is the vertex of the scene object. |
- Note
- Calling this function will lazy create the dead-reckoner.
Helper function to create and initialize a new dead-reckoner.
with data from a previous dead-reckoner and current updater state.
- Parameters
-
| [in] | other | is the is the object to copy from. |
- Returns
- A newly created dead-reckoner or NULL on failure.
Assignment Operator.
- Note
- Not implemented
Member Data Documentation
| DtDe& makVrv::DtSmokePuffsDeadReckonUpdater::myDe |
|
protected |
| DtUniqueID makVrv::DtSmokePuffsDeadReckonUpdater::myId |
|
protected |
| DtTime makVrv::DtSmokePuffsDeadReckonUpdater::myLastUpdateTime |
|
protected |
| std::string makVrv::DtSmokePuffsDeadReckonUpdater::myMotionModelType |
|
protected |
| DtDeadReckonTypes makVrv::DtSmokePuffsDeadReckonUpdater::myDeadReckonTypes |
|
protected |
The documentation for this class was generated from the following file: