![]() |
VR-Forces 5.0.1 Developer's Guide
|
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.
Public Member Functions | |
| DtRotorWashProcess (DtDe &de) | |
| virtual | ~DtRotorWashProcess () |
| virtual void | setHelicopterId (DtUniqueID helicopterID) |
| virtual bool | update (DtTime tNow) |
| virtual DtVector | currentHeloPosition () const |
| virtual DtTaitBryan | currentHeloOrientation () const |
| virtual void | calcRotorWashLagRelOffset (const DtTime &tNow, const DtVector ¤tHeliPos, const DtTaitBryan ¤tHeliOri, DtVector &outRelativeOffset, double &lagHeliAngleDistToGround) |
| virtual void | setRotorWashState (const DtRotorWashState *rwState) |
| virtual DtVector | getTerrainOrPropIntersection (void) |
| virtual void | addNewRotorWashPoint (DtTime tNow, const DtVector &newPoint) |
| virtual DtVector | currentHeliPos () const |
| virtual DtTaitBryan | currentHeliOri () const |
| virtual DtVector | offsetPos () const |
| virtual float | intensity () const |
| virtual float | rotorWashSpeed () const |
| virtual DtVector | rotorWashPos () const |
| virtual DtVector | rotorWashDir () const |
Protected Member Functions | |
| virtual const DtRotorWashState * | rotorWashState () |
| virtual DtVector | calcRotorDownDirection (const DtVector ¤tPos, const DtTaitBryan &orientation) |
| virtual double | getHeightAboveTerrain (const DtVector &pos) |
| virtual DtVector | getHeliVelocity (DtTime tNow) |
| virtual DtVector | convertOffset (const DtVector &worldOffset, const DtTaitBryan &heliOri) |
| virtual bool | allObservers2D () const |
| virtual void | slot_coordinateSystemChanged () |
| virtual void | updateOffsetAndIntensity (DtTime tNow) |
Protected Attributes | |
| DtDe & | myDe |
| DtIntersector * | myIntersector3dModelSet = nullptr |
| DtSimpleIntersector & | myHATIntersector |
| DtRotorWashTrailPoints | myRotorWashPoints |
| DtSceneObject * | mySceneObject |
| const DtRotorWashState * | myRotorWashState |
| DtVector | myCurrentHeliPos |
| DtTaitBryan | myCurrentHeliOri |
| DtVector | myOffsetFromHeli |
| float | myIntensity |
| float | myRotorWashSpeed |
| DtVector | myRotorWashPos |
| DtVector | myRotorWashDir |
| DtSignalConnectionManager | myConnections |
| DtCoordinateConverter * | myCoordinateConverter = nullptr |
| const DtObserverModeManager & | myObserverModeManager |
Private Member Functions | |
| DtRotorWashProcess () | |
| DtRotorWashProcess (const DtRotorWashProcess &other) | |
| DtRotorWashProcess & | operator= (const DtRotorWashProcess &other) |
| makVrv::DtRotorWashProcess::DtRotorWashProcess | ( | DtDe & | de | ) |
CTOR.
|
virtual |
Virtual DTOR.
|
private |
Default Constructor not implemented – default constructor not allowed.
|
private |
Copy Constructor not implemented – Copy Not Allowed.
|
virtual |
Initializes the scene object for the object id being processed.
The update function called by DtTickableManager during update-ticks.
| [in] | tNow | is the current time-stamp. |
|
virtual |
Retrieve the current helicopter position from the scene object.
|
virtual |
Retrieve the current helicopter orientation from the scene object.
|
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 |
Set the parameters for the current active rotorwash.
|
virtual |
Accessors for the DtRotorWashProcess Current helicopter position.
|
virtual |
Current helicopter orientation.
|
virtual |
Position of rotorwash relative to helicopter.
|
virtual |
0 - no rotorwash to 1 - full rotorwash
|
virtual |
Rotorwash speed in meters per second (default 100 m/s)
|
virtual |
Position of rotorwash on the ground in the world.
|
virtual |
Direction of rotorwash on the ground in the world.
|
virtual |
vrvCore version - Get an intersection with the ground to place the effect (not currently used, intersection info is from VRF)
|
virtual |
add a new rotor was point and update offset and intensity
|
private |
Assignment Operator Not implemented – Assignment Not Allowed.
|
protectedvirtual |
Helper method to return a properly cast version of the rotorWash model supplied.
|
protectedvirtual |
Calculate a normalized helo down vector.
|
protectedvirtual |
Calculate the height straight down (without regard to orientation) for the helicopter.
Get the velocity of the helicopter.
|
protectedvirtual |
Convert an offset calculated in world coordinates to a DIS style (forward, right, down) offset relative to the helicopter.
|
protectedvirtual |
Determine if all observers are 2D so we can skip updating (The rotorwash will appear to start again when switching to 3D)
|
protectedvirtual |
slot for when the coordinate system changes
|
protectedvirtual |
update the offset and the intensity of the rotor wash
|
protected |
The display engine.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |