![]() |
VR-Forces 4.10 Class Documentation
|
The osgEarth specific local wind object. More...

Public Member Functions | |
| DtOsgEarthLocalWindObject (DtDe &de, DtUniqueID id) | |
| CTOR. More... | |
| virtual | ~DtOsgEarthLocalWindObject () |
| DTOR. More... | |
| virtual void | setType (WindType type) |
| Sets the wind type. More... | |
| virtual void | setLocation (const DtVector &location) |
| Set the local wind location for a TYPE_POINT wind. More... | |
| virtual void | setWindSpeed (float metersPerSecond) |
| Set the local wind speed in meters per second. More... | |
| virtual void | setWindDirection (float radians) |
| Set the local wind direction for a TYPE_DIRECTIONAL wind blowing from in radians from north. More... | |
| virtual void | slot_osgEarthMapNodeFound (DtTerrainPatchObject &tpo) |
| Slot triggered when the osgEarth map node is found in a terrain patch object. More... | |
| virtual void | slot_onCoordinateSystemChanged (const std::string &name, const std::string ¶ms) |
| Receive signals from the shared state about coordinate system changes if the terrain is reloaded or a different terrain is loaded The wind layer has to be found again. More... | |
Public Member Functions inherited from makVrv::DtLocalWindObject | |
| DtLocalWindObject (DtDe &de, DtUniqueID id) | |
| CTOR. More... | |
| virtual | ~DtLocalWindObject () |
| DTOR. More... | |
| virtual WindType | type () const |
| virtual const DtVector & | location () const |
| virtual const float & | windSpeed () const |
| virtual const float & | windDirection () const |
Protected Attributes | |
| osgEarth::MapNode * | myMapNode |
| osgEarth::Wind * | myWind |
| osgEarth::WindLayer * | myWindLayer |
| DtSignalConnectionManager | myConnections |
Protected Attributes inherited from makVrv::DtLocalWindObject | |
| WindType | myType |
| float | mySpeed |
| DtVector | myPosition |
| float | myDirection |
| DtDe & | myDe |
| DtUniqueID | myUniqueId |
Private Member Functions | |
| DtOsgEarthLocalWindObject () | |
| Default Constructor not implemented – default constructor not allowed. More... | |
| DtOsgEarthLocalWindObject (const DtOsgEarthLocalWindObject &) | |
| Copy Constructor not implemented – Copy not allowed. More... | |
| DtOsgEarthLocalWindObject & | operator= (const DtOsgEarthLocalWindObject &) |
| Assignment Operator not implemented – Copy not allowed. More... | |
The osgEarth specific local wind object.
It can represent a point (ex. rotorwash) or directional (ex. blowing) wind. For a DtOsgEarthLocalWindObject to be processed (aka enabled) by osgEarth you have to add
<Wind name = "RotorWash"> <winds> </winds> </Wind>
to your .earth file. This allows the DtLocalWindObjectManager (or DtEnvironment) to add/remove winds and have it reflected in the osgEarth terrain.
| makVrv::DtOsgEarthLocalWindObject::DtOsgEarthLocalWindObject | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
private |
Default Constructor not implemented – default constructor not allowed.
|
private |
Copy Constructor not implemented – Copy not allowed.
|
virtual |
Sets the wind type.
Reimplemented from makVrv::DtLocalWindObject.
|
virtual |
Set the local wind location for a TYPE_POINT wind.
Reimplemented from makVrv::DtLocalWindObject.
|
virtual |
Set the local wind speed in meters per second.
Reimplemented from makVrv::DtLocalWindObject.
|
virtual |
Set the local wind direction for a TYPE_DIRECTIONAL wind blowing from in radians from north.
Reimplemented from makVrv::DtLocalWindObject.
|
virtual |
Slot triggered when the osgEarth map node is found in a terrain patch object.
If a terrain is added or reloaded, the wind objects have to be set up again
|
virtual |
Receive signals from the shared state about coordinate system changes if the terrain is reloaded or a different terrain is loaded The wind layer has to be found again.
|
private |
Assignment Operator not implemented – Copy not allowed.
|
protected |
|
protected |
|
protected |
|
protected |