![]() |
VR-Forces Developer's Guide
|
The base dynamic ocean object. An actual (do-nothing) implementation is provided so that an implementing plugin (such as triton) does not need to exist for the application to run.

Classes | |
| class | OceanSwell |
Public Types | |
| typedef std::list< OceanSwell > | OceanSwellList |
Public Member Functions | |
| DtDynamicOceanObject (DtDe &de, DtUniqueID id) | |
| virtual | ~DtDynamicOceanObject () |
| virtual void | setSeaLevel (double meters) |
| virtual double | seaLevel () const |
| virtual void | setLodAltitude (int meters) |
| virtual int | lodAltitude () const |
| virtual void | setWindSpeed (double metersPerSecond) |
| virtual double | windSpeed () const |
| virtual void | setWindDirection (double radiansClockwiseFromNorth) |
| virtual double | windDirection () const |
| virtual void | setWindFetch (double meters) |
| virtual double | windFetch () const |
| virtual void | setWindDrivenSeaState (bool enabled) |
| virtual bool | windDrivenSeaState () const |
| virtual void | setDouglasSeaState (DtDouglasSeaState::Scale seaState, double seaStateDirection, DtDouglasSwellState::Scale swellState, double swellStateDirection) |
| virtual void | getDouglasSeaState (DtDouglasSeaState::Scale &seaState, double &seaStateDirection, DtDouglasSwellState::Scale &swellState, double &swellStateDirection) const |
| virtual void | setSeaChoppiness (double chop) |
| virtual double | seaChoppiness () const |
| virtual void | setUnderwaterVisibilityEnabled (bool enabled) |
| virtual bool | underwaterVisibilityEnabled () const |
| virtual void | setUnderwaterVisibility (double meters) |
| virtual double | underwaterVisibility () const |
| virtual void | setSurfaceTransparency (double transparency) |
| virtual double | surfaceTransparency () const |
| virtual void | setSurgeDepth (double meters) |
| virtual double | surgeDepth () const |
| virtual void | setDepthOffset (double meters) |
| virtual double | depthOffset () const |
| virtual void | addSwell (double lengthInMeters, double heightInMeters, double radiansClockwiseFromNorth) |
| virtual void | addSwell (const OceanSwell &swell) |
| virtual const OceanSwellList & | getSwells () const |
| virtual void | clearSwells () |
| virtual void | setWaterCurrentSpeed (float speed) |
| virtual float | waterCurrentSpeed () const |
| virtual void | setWaterCurrentDirection (float direction) |
| virtual float | waterCurrentDirection () const |
| virtual bool | LockHeightData () |
| virtual bool | UnLockHeightData () |
| virtual bool | IsLockedHeightData () const |
| typedef std::list<OceanSwell> makVrv::DtDynamicOceanObject::OceanSwellList |
| makVrv::DtDynamicOceanObject::DtDynamicOceanObject | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Set / Get the sea level, in meters.
Reimplemented in makVrv::DtTritonDynamicOceanObject.
|
virtual |
Set / Get the sea level, in meters.
|
virtual |
Set / Get the altitude above which dynamic ocean will LOD out.
Reimplemented in makVrv::DtTritonDynamicOceanObject.
|
virtual |
Set / Get the altitude above which dynamic ocean will LOD out.
|
virtual |
Set / Get the wind speed in meters per second.
Reimplemented in makVrv::DtTritonDynamicOceanObject.
|
virtual |
Set / Get the wind speed in meters per second.
|
virtual |
Set / Get the wind direction in radians from north (clockwise).
Reimplemented in makVrv::DtTritonDynamicOceanObject.
|
virtual |
Set / Get the wind direction in radians from north (clockwise).
|
virtual |
Set / Get the fetch length in meters.
Reimplemented in makVrv::DtTritonDynamicOceanObject.
|
virtual |
Set / Get the fetch length in meters.
|
virtual |
Set / Get sea state is wind-driven or driven by Douglas Scale.
Reimplemented in makVrv::DtTritonDynamicOceanObject.
|
virtual |
Set / Get sea state is wind-driven or driven by Douglas Scale.
|
virtual |
Set / Get sea state based on Douglas sea state parameters.
Reimplemented in makVrv::DtTritonDynamicOceanObject.
|
virtual |
Set / Get sea state based on Douglas sea state parameters.
|
virtual |
Set / Get the amount of chop on the sea as a normalized value.
Reimplemented in makVrv::DtTritonDynamicOceanObject.
|
virtual |
Set / Get the amount of chop on the sea as a normalized value.
|
virtual |
Set / Get underwater visibility enabled.
Reimplemented in makVrv::DtTritonDynamicOceanObject.
|
virtual |
Set / Get underwater visibility enabled.
|
virtual |
Set / Get the maximum visibility under water in meters.
Reimplemented in makVrv::DtTritonDynamicOceanObject.
|
virtual |
Set / Get the maximum visibility under water in meters.
|
virtual |
Set / Get the transparency of the water surface around coastlines as a normalized value.
Reimplemented in makVrv::DtTritonDynamicOceanObject.
|
virtual |
Set / Get the transparency of the water surface around coastlines as a normalized value.
|
virtual |
Set / Get surge depth.
Reimplemented in makVrv::DtTritonDynamicOceanObject.
|
virtual |
Set / Get surge depth.
|
virtual |
Set / Get surge depth offset.
Reimplemented in makVrv::DtTritonDynamicOceanObject.
|
virtual |
Set / Get surge depth offset.
|
virtual |
Manager ocean swells.
Reimplemented in makVrv::DtTritonDynamicOceanObject.
|
virtual |
Manager ocean swells.
|
virtual |
Get the list of swells.
|
virtual |
Clear all swells.
Reimplemented in makVrv::DtTritonDynamicOceanObject.
|
virtual |
Set / get the speed of water currents in meters per second.
|
virtual |
Set / get the speed of water currents in meters per second.
|
virtual |
Set / get the direction of water currents in radians from north (clockwise).
|
virtual |
Set / get the direction of water currents in radians from north (clockwise).
|
virtual |
If ocean height data is successfully locked, multiple Ocean::GetHeight calls can run in parallel from different threads.
Reimplemented in makVrv::DtTritonDynamicOceanObject.
|
virtual |
If ocean height data is successfully locked, multiple Ocean::GetHeight calls can run in parallel from different threads.
Reimplemented in makVrv::DtTritonDynamicOceanObject.
|
virtual |
If ocean height data is successfully locked, multiple Ocean::GetHeight calls can run in parallel from different threads.
Reimplemented in makVrv::DtTritonDynamicOceanObject.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |