DtRotorWashProcess maintains a model of the rotary wing entity's rotor wash, such as speed; dead reckoned position, intensity, and lag, e.g.
More...
DtRotorWashProcess maintains a model of the rotary wing entity's rotor wash, such as speed; dead reckoned position, intensity, and lag, e.g.
using information from the entity's parameters and data from it's
- See Also
- DtSceneObject. It then updates the currently active rotor wash visual model using that rotor wash's
-
DtRotorWashDistributor.
| makVrv::DtRotorWashProcess::DtRotorWashProcess |
( |
DtDe & |
de | ) |
|
| virtual makVrv::DtRotorWashProcess::~DtRotorWashProcess |
( |
| ) |
|
|
virtual |
| makVrv::DtRotorWashProcess::DtRotorWashProcess |
( |
| ) |
|
|
private |
Default Constructor not implemented – default constructor not allowed.
Copy Constructor not implemented – Copy Not Allowed.
| virtual void makVrv::DtRotorWashProcess::setHelicopterId |
( |
DtUniqueID |
helicopterID | ) |
|
|
virtual |
Initializes the scene object for the object id being processed.
| virtual void makVrv::DtRotorWashProcess::update |
( |
DtTime |
tNow | ) |
|
|
virtual |
The update function called by DtTickableManager during update-ticks.
- Parameters
-
| [in] | tNow | is the current time-stamp. |
- Note
- Derived classes should update the rotorWash at the end of their implementation of this function.
| virtual DtVector makVrv::DtRotorWashProcess::currentHeloPosition |
( |
| ) |
const |
|
virtual |
Retrieve the current helicopter position from the scene object.
| virtual DtTaitBryan makVrv::DtRotorWashProcess::currentHeloOrientation |
( |
| ) |
const |
|
virtual |
Retrieve the current helicopter orientation from the scene object.
| virtual void makVrv::DtRotorWashProcess::calcRotorWashLagRelOffset |
( |
const DtTime & |
tNow, |
|
|
const DtVector & |
currentHeliPos, |
|
|
const DtTaitBryan & |
currentHeliOri, |
|
|
DtVector & |
outRelativeOffset, |
|
|
double & |
lagHeliAngleDistToGround |
|
) |
| |
|
virtual |
Lag rotorwash based on height and velocity outOffsetPos = the position of the lagged rotorwash based on current helicopter position in coordinates relative to the the helicopter and using DIS (forward, right, down) style lagHeliAngleDistToGround is the distance from the helicopter to the rotorwash at the lag posion.
| virtual void makVrv::DtRotorWashProcess::setRotorWashState |
( |
const DtRotorWashState * |
rwState | ) |
|
|
virtual |
Set the parameters for the current active rotorwash.
| virtual DtVector makVrv::DtRotorWashProcess::currentHeliPos |
( |
| ) |
const |
|
virtual |
| virtual DtTaitBryan makVrv::DtRotorWashProcess::currentHeliOri |
( |
| ) |
const |
|
virtual |
Current helicopter orientation.
| virtual DtVector makVrv::DtRotorWashProcess::offsetPos |
( |
| ) |
const |
|
virtual |
Position of rotorwash relative to helicopter.
| virtual float makVrv::DtRotorWashProcess::intensity |
( |
| ) |
const |
|
virtual |
0 - no rotorwash to 1 - full rotorwash
| virtual float makVrv::DtRotorWashProcess::rotorWashSpeed |
( |
| ) |
const |
|
virtual |
Rotorwash speed in meters per second (default 100 m/s)
| virtual DtVector makVrv::DtRotorWashProcess::rotorWashPos |
( |
| ) |
const |
|
virtual |
Position of rotorwash on the ground in the world.
| virtual DtVector makVrv::DtRotorWashProcess::rotorWashDir |
( |
| ) |
const |
|
virtual |
Direction of rotorwash on the ground in the world.
Assignment Operator Not implemented – Assignment Not Allowed.
Helper method to return a properly cast version of the rotorWash model supplied.
| virtual DtVector makVrv::DtRotorWashProcess::calcRotorDownDirection |
( |
const DtVector & |
currentPos, |
|
|
const DtTaitBryan & |
orientation |
|
) |
| |
|
protectedvirtual |
Calculate a normalized helo down vector.
| virtual double makVrv::DtRotorWashProcess::getHeightAboveTerrain |
( |
const DtVector & |
pos | ) |
|
|
protectedvirtual |
Calculate the height straight down (without regard to orientation) for the helicopter.
| virtual bool makVrv::DtRotorWashProcess::getTerrainOrPropIntersection |
( |
const DtVector & |
startPos, |
|
|
const DtVector & |
endPos, |
|
|
DtVector & |
result |
|
) |
| |
|
protectedvirtual |
vrvCore version - Get an intersection with the ground to place the effect (not currently used, intersection info is from VRF)
| virtual DtVector makVrv::DtRotorWashProcess::getHeliVelocity |
( |
DtTime |
tNow | ) |
|
|
protectedvirtual |
Get the velocity of the helicopter.
| virtual DtVector makVrv::DtRotorWashProcess::convertOffset |
( |
const DtVector & |
worldOffset, |
|
|
const DtTaitBryan & |
heliOri |
|
) |
| |
|
protectedvirtual |
Convert an offset calculated in world coordinates to a DIS style (forward, right, down) offset relative to the helicopter.
| DtDe& makVrv::DtRotorWashProcess::myDe |
|
protected |
| DtVector makVrv::DtRotorWashProcess::myCurrentHeliPos |
|
protected |
| DtTaitBryan makVrv::DtRotorWashProcess::myCurrentHeliOri |
|
protected |
| DtVector makVrv::DtRotorWashProcess::myOffsetFromHeli |
|
protected |
| float makVrv::DtRotorWashProcess::myIntensity |
|
protected |
| float makVrv::DtRotorWashProcess::myRotorWashSpeed |
|
protected |
| DtVector makVrv::DtRotorWashProcess::myRotorWashPos |
|
protected |
| DtVector makVrv::DtRotorWashProcess::myRotorWashDir |
|
protected |
The documentation for this class was generated from the following file: