![]() |
VR-Forces Developer's Guide
|
The base local wind object represents a point (ex. rotorwash) or directional (ex. blowing) wind. This is the base and DtOsgEarthLocalWindObject derives from this to apply these values to osgEarth terrains. It is a distributed object. For a local wind object 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 to add/remove winds and have it reflected in the osgEarth terrain.

Public Member Functions | |
| DtLocalWindObject (DtDe &de, DtUniqueID id) | |
| virtual | ~DtLocalWindObject () |
| virtual void | setType (WindType type) |
| virtual WindType | type () const |
| virtual void | setLocation (const DtVector &location) |
| virtual const DtVector & | location () const |
| virtual void | setWindSpeed (float metersPerSecond) |
| virtual const float & | windSpeed () const |
| virtual void | setWindDirection (float radians) |
| virtual const float & | windDirection () const |
Protected Attributes | |
| WindType | myType |
| float | mySpeed |
| DtVector | myPosition |
| float | myDirection |
| DtDe & | myDe |
| DtUniqueID | myUniqueId |
Private Member Functions | |
| DtLocalWindObject () | |
| DtLocalWindObject (const DtLocalWindObject &) | |
| DtLocalWindObject & | operator= (const DtLocalWindObject &) |
| makVrv::DtLocalWindObject::DtLocalWindObject | ( | 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/gets the wind type.
Reimplemented in makVrv::DtOsgEarthLocalWindObject.
|
virtual |
Sets/gets the wind type.
|
virtual |
Sets/gets the local wind location for a TYPE_POINT wind.
Reimplemented in makVrv::DtOsgEarthLocalWindObject.
|
virtual |
Sets/gets the local wind location for a TYPE_POINT wind.
|
virtual |
Set/gets the local wind speed in meters per second.
Reimplemented in makVrv::DtOsgEarthLocalWindObject.
|
virtual |
Set/gets the local wind speed in meters per second.
|
virtual |
Sets/gets the local wind direction for a TYPE_DIRECTIONAL wind blowing from in radians from north.
Reimplemented in makVrv::DtOsgEarthLocalWindObject.
|
virtual |
Sets/gets the local wind direction for a TYPE_DIRECTIONAL wind blowing from in radians from north.
|
private |
Assignment Operator not implemented – Copy not allowed.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |