![]() |
VR-Forces Developer's Guide
|
DtLayeredEnvironmentDataBase is a container class that can be used to maintain the global or a local weather area environment state (which also includes time and date). This class wraps the makArchives DtEnvironmentRecord and DtDateTimeRecord to store the environment data. While the DtEnvironmentRecord provides for an array of DtElevationalConfigurationRecords, as an array they need to be sorted by base altitude. The API is simplify by instead using an unordered map of DtElevationalConfigurationRecords keyed by a layerId, which is created by the connection when the weather layer is discovered. DtLayeredEnvironmentDataBase also provides a common API for the DtEnvironmentStatusManager to use when receiving environmnent updates in a connection for both global and local weather areas. Other lasses extend this class to manage the actual transmittal of global or local environment data to the render (main) thread.

| makVrv::DtLayeredEnvironmentDataBase::DtLayeredEnvironmentDataBase | ( | ) |
CTOR.
| makVrv::DtLayeredEnvironmentDataBase::DtLayeredEnvironmentDataBase | ( | const DtLayeredEnvironmentDataBase & | orig | ) |
Copy CTOR.
|
virtual |
Virtual DTOR.
| DtLayeredEnvironmentDataBase& makVrv::DtLayeredEnvironmentDataBase::operator= | ( | const DtLayeredEnvironmentDataBase & | rhs | ) |
Assignment operator.
|
virtual |
Add an elevation configuration with the specified layerId.
|
virtual |
Remove an elevation configuration with the specified layerId.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the air pressure.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the air pressure.
|
virtual |
Set / get the air temperature.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the air temperature.
|
virtual |
Set / get the precipitation type.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the precipitation type.
|
virtual |
Set / get the precipitation intensity. intensity is a normalized value (0.0 to 1.0)
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the precipitation intensity. intensity is a normalized value (0.0 to 1.0)
|
virtual |
Set / get the water concentration of the atmosphere in PPMV (parts per million by volume) at sea level.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the water concentration of the atmosphere in PPMV (parts per million by volume) at sea level.
|
virtual |
Set / get whether lightning is present.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get whether lightning is present.
|
virtual |
Set /get the blowing particulate matter.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData.
|
virtual |
|
virtual |
Set / get the minimum elevation (meters) at which snow is on the ground.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the minimum elevation (meters) at which snow is on the ground.
|
virtual |
Set / get the amount of snow accumulation on roads.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the amount of snow accumulation on roads.
|
virtual |
Set / get the amount of rain accumulation on the ground.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the amount of rain accumulation on the ground.
|
virtual |
Set / get the amount of snow accumulation on the ground.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the amount of snow accumulation on the ground.
|
virtual |
Set / get the current fog color.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the current fog color.
|
virtual |
Set / get the current fog height.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the current fog height.
|
virtual |
Set / get the altitude for which temperature has been specified.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the altitude for which temperature has been specified.
|
virtual |
Set / get the altitude for which air pressure has been specified.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the altitude for which air pressure has been specified.
|
virtual |
@ Set / get the sea swell conditions based on the Douglas sea scale.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
|
virtual |
Set / get the direction, in radians from True North, of sea swells.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the direction, in radians from True North, of sea swells.
|
virtual |
Set / get the sea state conditions based on the Douglas sea scale.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the sea state conditions based on the Douglas sea scale.
|
virtual |
Set / get the sea state direction, in radians from True North.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the sea state direction, in radians from True North.
|
virtual |
Set / get the wind driven seas enabled parameter to allow the wind to determine the sea state.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the wind driven seas enabled parameter to allow the wind to determine the sea state.
|
virtual |
Set / get the ocean wind fetch.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the ocean wind fetch.
|
virtual |
Set / get the sea choppiness.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the sea choppiness.
|
virtual |
Set / get the maximum visibility under water in meters.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the maximum visibility under water in meters.
|
virtual |
Set / get the surface transparency.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the surface transparency.
|
virtual |
Set / get the surge depth.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the surge depth.
|
virtual |
Set / get the ambient water temperature, in Kelvins.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the ambient water temperature, in Kelvins.
|
virtual |
Set / get the speed of water currents in meters per second.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
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).
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the speed of water currents in meters per second.
|
virtual |
Set / get the current tidal offset from mean-sea-level in meters.
Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the current tidal offset from mean-sea-level in meters.
|
virtual |
Set / get the date and time of day.
Reimplemented in makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the date and time of day.
|
virtual |
Set / get whether to use GMT time as the means to position the sun/moon rather than always moving with the observer.
|
virtual |
Set / get whether to use GMT time as the means to position the sun/moon rather than always moving with the observer.
|
virtual |
Set / get the time of day advancement speed.
Reimplemented in makVrv::DtGlobalLayeredEnvironmentData.
|
virtual |
Set / get the time of day advancement speed.
|
virtual |
Set / get the base MSL Altitude, in meters, for this elevational configuration The elevation record associated with the specified layerId is returned.
Reimplemented in makVrv::DtGlobalLayeredEnvironmentData, and makVrv::DtLocalLayeredEnvironmentData.
|
virtual |
Set / get the base MSL Altitude, in meters, for this elevational configuration The elevation record associated with the specified layerId is returned.
|
virtual |
Set / get the speed, in meters per second, for this elevational configuration The elevation record associated with the specified layerId is returned.
Reimplemented in makVrv::DtGlobalLayeredEnvironmentData, and makVrv::DtLocalLayeredEnvironmentData.
|
virtual |
Set / get the speed, in meters per second, for this elevational configuration The elevation record associated with the specified layerId is returned.
|
virtual |
Set / get the angular offset (clockwise) from True North, in radians, for this elevational configuration The elevation record associated with the specified layerId is returned.
Reimplemented in makVrv::DtGlobalLayeredEnvironmentData, and makVrv::DtLocalLayeredEnvironmentData.
|
virtual |
Set / get the angular offset (clockwise) from True North, in radians, for this elevational configuration The elevation record associated with the specified layerId is returned.
|
virtual |
Set / get the visibility distance, in meters, for this elevational configuration. The elevation record associated with the specified layerId is returned.
Reimplemented in makVrv::DtGlobalLayeredEnvironmentData, and makVrv::DtLocalLayeredEnvironmentData.
|
virtual |
Set / get the visibility distance, in meters, for this elevational configuration. The elevation record associated with the specified layerId is returned.
|
virtual |
Set / get the visibility obscurant for this elevational configuration. The elevation record associated with the specified layerId is returned.
Reimplemented in makVrv::DtGlobalLayeredEnvironmentData, and makVrv::DtLocalLayeredEnvironmentData.
|
virtual |
Set / get the visibility obscurant for this elevational configuration. The elevation record associated with the specified layerId is returned.
|
virtual |
Set / get the cloud type, by name, for this elevational configuration. The elevation record associated with the specified layerId is returned.
Reimplemented in makVrv::DtGlobalLayeredEnvironmentData, and makVrv::DtLocalLayeredEnvironmentData.
|
virtual |
Set / get the cloud type, by name, for this elevational configuration. The elevation record associated with the specified layerId is returned.
|
virtual |
Set / get the cloud density, in kg/m^3, for this elevational configuration As of VRV2.8, this property is not used. It is only used by VR-Forces. The elevation record associated with the specified layerId is returned.
Reimplemented in makVrv::DtGlobalLayeredEnvironmentData, and makVrv::DtLocalLayeredEnvironmentData.
|
virtual |
Set / get the cloud density, in kg/m^3, for this elevational configuration As of VRV2.8, this property is not used. It is only used by VR-Forces. The elevation record associated with the specified layerId is returned.
|
virtual |
Set / get the sky coverage, in normalized Oktas [0-1] (which is what SilverLining expects), for this elevational configuration The elevation record associated with the specified layerId is returned.
Reimplemented in makVrv::DtGlobalLayeredEnvironmentData, and makVrv::DtLocalLayeredEnvironmentData.
|
virtual |
Set / get the sky coverage, in normalized Oktas [0-1] (which is what SilverLining expects), for this elevational configuration The elevation record associated with the specified layerId is returned.
|
virtual |
Get a pointer to the internal elevation configuration record for the specified elevational configuration.
|
virtual |
Get a pointer to the internal elevation configuration record for the specified elevational configuration - const version.
|
protected |
|
protected |
|
protected |
|
protected |