VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtLayeredEnvironmentDataBase Class Reference

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.

Inheritance diagram for makVrv::DtLayeredEnvironmentDataBase:
Inheritance graph
[legend]

Public Member Functions

 DtLayeredEnvironmentDataBase ()
 
 DtLayeredEnvironmentDataBase (const DtLayeredEnvironmentDataBase &orig)
 
DtLayeredEnvironmentDataBaseoperator= (const DtLayeredEnvironmentDataBase &rhs)
 
virtual ~DtLayeredEnvironmentDataBase ()
 
virtual void addElevationalConfiguration (DtUniqueID layerId)
 
virtual float removeElevationalConfiguration (DtUniqueID layerId)
 
virtual void setBlowingParticulateMatter (DtEnvironment::BlowingParticulateMatterType type)
 
virtual
DtEnvironment::BlowingParticulateMatterType 
blowingParticulateMatter () const
 
virtual void setSwellState (DtDouglasSwellState::Scale state)
 
virtual DtDouglasSwellState::Scale swellState () const
 
virtual
makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord
findElevationRecord (DtUniqueID layerId)
 
virtual const
makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord
findElevationRecord (DtUniqueID layerId) const
 
virtual void setAirPressure (float pressure)
 
virtual float airPressure () const
 
virtual void setAirTemperature (float temp)
 
virtual float airTemperature () const
 
virtual void setPrecipitationType (DtEnvironment::PrecipitationType precipType)
 
virtual
DtEnvironment::PrecipitationType 
precipitationType () const
 
virtual void setPrecipitationIntensity (float intensity)
 
virtual float precipitationIntensity () const
 
virtual void setSeaLevelWaterConcentration (float concentration)
 
virtual float seaLevelWaterConcentration () const
 
virtual void setLightningPresent (bool present)
 
virtual bool lightningPresent () const
 
virtual void setSnowMinimumElevation (float elevation)
 
virtual float snowMinimumElevation () const
 
virtual void setRoadSnowAccumulation (float accumulation)
 
virtual float roadSnowAccumulation () const
 
virtual void setGroundRainAccumulation (float accumulation)
 
virtual float groundRainAccumulation () const
 
virtual void setGroundSnowAccumulation (float accumulation)
 
virtual float groundSnowAccumulation () const
 
virtual void setFogColor (const makArchives::DtEnvironmentRecord::DtColorRecord &color)
 
virtual const
makArchives::DtEnvironmentRecord::DtColorRecord
fogColor () const
 
virtual void setFogHeight (float meters)
 
virtual float fogHeight () const
 
virtual void setAirTemperatureAltitude (float value)
 
virtual float airTemperatureAltitude () const
 
virtual void setAirPressureAltitude (float value)
 
virtual float airPressureAltitude () const
 
virtual void setSwellStateDirection (float value)
 
virtual float swellStateDirection () const
 
virtual void setSeaState (DtDouglasSeaState::Scale state)
 
virtual DtDouglasSeaState::Scale seaState () const
 
virtual void setSeaStateDirection (float value)
 
virtual float seaStateDirection () const
 
virtual void setWindDrivenSeaStateEnabled (bool value, bool force)
 
virtual bool windDrivenSeaStateEnabled () const
 
virtual void setWindFetch (float value)
 
virtual float windFetch () const
 
virtual void setSeaChoppiness (float value)
 
virtual float seaChoppiness () const
 
virtual void setUnderwaterVisibility (float distance)
 
virtual float underwaterVisibility () const
 
virtual void setSurfaceTransparency (float value)
 
virtual float surfaceTransparency () const
 
virtual void setSurgeDepth (float value)
 
virtual float surgeDepth () const
 
virtual void setAmbientWaterTemperature (float temperature)
 
virtual float ambientWaterTemperature () const
 
virtual void setWaterCurrentSpeed (float speed)
 
virtual float waterCurrentSpeed () const
 
virtual void setWaterCurrentDirection (float direction)
 
virtual float waterCurrentDirection () const
 
virtual void setTidalOffset (float meters)
 
virtual float tidalOffset () const
 
virtual void setDateAndTimeOfDay (int year, int month, int day, int hour, int minutes, double seconds)
 
virtual void getDateAndTimeOfDay (int &year, int &month, int &day, int &hour, int &minutes, double &seconds) const
 
virtual void setUseGlobalTimeZone (bool useOrNot)
 
virtual bool useGlobalTimeZone () const
 
virtual void setTimeOfDayAdvancementSpeed (float speed)
 
virtual float timeOfDayAdvancementSpeed () const
 
virtual
makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord
setBaseMSLAltitude (DtUniqueID layerId, float mslAltitudeInMeters)
 
virtual float baseMSLAltitude (DtUniqueID layerId) const
 
virtual
makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord
setWindSpeed (DtUniqueID layerId, float speedInMetersPerSecond)
 
virtual float windSpeed (DtUniqueID layerId) const
 
virtual
makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord
setWindDirection (DtUniqueID layerId, float offsetInRadiansFromTrueNorth)
 
virtual float windDirection (DtUniqueID layerId) const
 
virtual
makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord
setVisibilityDistance (DtUniqueID layerId, float visibilityInMeters)
 
virtual float visibilityDistance (DtUniqueID layerId) const
 
virtual
makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord
setObscurant (DtUniqueID layerId, makArchives::VisibilityObscurant obscurantEnumerationValue)
 
virtual
makArchives::VisibilityObscurant 
obscurant (DtUniqueID layerId) const
 
virtual
makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord
setCloudType (DtUniqueID layerId, const std::string &cloudTypeName)
 
virtual std::string cloudType (DtUniqueID layerId) const
 
virtual
makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord
setCloudDensity (DtUniqueID layerId, float cloudDensity)
 
virtual float cloudDensity (DtUniqueID layerId) const
 
virtual
makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord
setSkyCoverage (DtUniqueID layerId, float skyCoverage)
 
virtual float skyCoverage (DtUniqueID layerId) const
 

Protected Attributes

makArchives::DtEnvironmentRecord myEnvironmentRecord
 
std::unordered_map< DtUniqueID,
makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord
myElevationRecords
 
makArchives::DtDateTimeRecord myDateAndTimeRecord
 
bool myUseGlobalTimeZone
 

Constructor & Destructor Documentation

makVrv::DtLayeredEnvironmentDataBase::DtLayeredEnvironmentDataBase ( )

CTOR.

makVrv::DtLayeredEnvironmentDataBase::DtLayeredEnvironmentDataBase ( const DtLayeredEnvironmentDataBase orig)

Copy CTOR.

virtual makVrv::DtLayeredEnvironmentDataBase::~DtLayeredEnvironmentDataBase ( )
virtual

Virtual DTOR.

Member Function Documentation

DtLayeredEnvironmentDataBase& makVrv::DtLayeredEnvironmentDataBase::operator= ( const DtLayeredEnvironmentDataBase rhs)

Assignment operator.

virtual void makVrv::DtLayeredEnvironmentDataBase::addElevationalConfiguration ( DtUniqueID  layerId)
virtual

Add an elevation configuration with the specified layerId.

virtual float makVrv::DtLayeredEnvironmentDataBase::removeElevationalConfiguration ( DtUniqueID  layerId)
virtual

Remove an elevation configuration with the specified layerId.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual void makVrv::DtLayeredEnvironmentDataBase::setAirPressure ( float  pressure)
virtual

Set / get the air pressure.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual float makVrv::DtLayeredEnvironmentDataBase::airPressure ( ) const
virtual

Set / get the air pressure.

virtual void makVrv::DtLayeredEnvironmentDataBase::setAirTemperature ( float  temp)
virtual

Set / get the air temperature.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual float makVrv::DtLayeredEnvironmentDataBase::airTemperature ( ) const
virtual

Set / get the air temperature.

virtual void makVrv::DtLayeredEnvironmentDataBase::setPrecipitationType ( DtEnvironment::PrecipitationType  precipType)
virtual

Set / get the precipitation type.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual DtEnvironment::PrecipitationType makVrv::DtLayeredEnvironmentDataBase::precipitationType ( ) const
virtual

Set / get the precipitation type.

virtual void makVrv::DtLayeredEnvironmentDataBase::setPrecipitationIntensity ( float  intensity)
virtual

Set / get the precipitation intensity. intensity is a normalized value (0.0 to 1.0)

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual float makVrv::DtLayeredEnvironmentDataBase::precipitationIntensity ( ) const
virtual

Set / get the precipitation intensity. intensity is a normalized value (0.0 to 1.0)

virtual void makVrv::DtLayeredEnvironmentDataBase::setSeaLevelWaterConcentration ( float  concentration)
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 float makVrv::DtLayeredEnvironmentDataBase::seaLevelWaterConcentration ( ) const
virtual

Set / get the water concentration of the atmosphere in PPMV (parts per million by volume) at sea level.

virtual void makVrv::DtLayeredEnvironmentDataBase::setLightningPresent ( bool  present)
virtual

Set / get whether lightning is present.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual bool makVrv::DtLayeredEnvironmentDataBase::lightningPresent ( ) const
virtual

Set / get whether lightning is present.

virtual void makVrv::DtLayeredEnvironmentDataBase::setBlowingParticulateMatter ( DtEnvironment::BlowingParticulateMatterType  type)
virtual

Set /get the blowing particulate matter.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData.

virtual DtEnvironment::BlowingParticulateMatterType makVrv::DtLayeredEnvironmentDataBase::blowingParticulateMatter ( ) const
virtual
virtual void makVrv::DtLayeredEnvironmentDataBase::setSnowMinimumElevation ( float  elevation)
virtual

Set / get the minimum elevation (meters) at which snow is on the ground.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual float makVrv::DtLayeredEnvironmentDataBase::snowMinimumElevation ( ) const
virtual

Set / get the minimum elevation (meters) at which snow is on the ground.

virtual void makVrv::DtLayeredEnvironmentDataBase::setRoadSnowAccumulation ( float  accumulation)
virtual

Set / get the amount of snow accumulation on roads.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual float makVrv::DtLayeredEnvironmentDataBase::roadSnowAccumulation ( ) const
virtual

Set / get the amount of snow accumulation on roads.

virtual void makVrv::DtLayeredEnvironmentDataBase::setGroundRainAccumulation ( float  accumulation)
virtual

Set / get the amount of rain accumulation on the ground.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual float makVrv::DtLayeredEnvironmentDataBase::groundRainAccumulation ( ) const
virtual

Set / get the amount of rain accumulation on the ground.

virtual void makVrv::DtLayeredEnvironmentDataBase::setGroundSnowAccumulation ( float  accumulation)
virtual

Set / get the amount of snow accumulation on the ground.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual float makVrv::DtLayeredEnvironmentDataBase::groundSnowAccumulation ( ) const
virtual

Set / get the amount of snow accumulation on the ground.

virtual void makVrv::DtLayeredEnvironmentDataBase::setFogColor ( const makArchives::DtEnvironmentRecord::DtColorRecord color)
virtual

Set / get the current fog color.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual const makArchives::DtEnvironmentRecord::DtColorRecord& makVrv::DtLayeredEnvironmentDataBase::fogColor ( ) const
virtual

Set / get the current fog color.

virtual void makVrv::DtLayeredEnvironmentDataBase::setFogHeight ( float  meters)
virtual

Set / get the current fog height.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual float makVrv::DtLayeredEnvironmentDataBase::fogHeight ( ) const
virtual

Set / get the current fog height.

virtual void makVrv::DtLayeredEnvironmentDataBase::setAirTemperatureAltitude ( float  value)
virtual

Set / get the altitude for which temperature has been specified.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual float makVrv::DtLayeredEnvironmentDataBase::airTemperatureAltitude ( ) const
virtual

Set / get the altitude for which temperature has been specified.

virtual void makVrv::DtLayeredEnvironmentDataBase::setAirPressureAltitude ( float  value)
virtual

Set / get the altitude for which air pressure has been specified.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual float makVrv::DtLayeredEnvironmentDataBase::airPressureAltitude ( ) const
virtual

Set / get the altitude for which air pressure has been specified.

virtual void makVrv::DtLayeredEnvironmentDataBase::setSwellState ( DtDouglasSwellState::Scale  state)
virtual

@ Set / get the sea swell conditions based on the Douglas sea scale.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual DtDouglasSwellState::Scale makVrv::DtLayeredEnvironmentDataBase::swellState ( ) const
virtual
virtual void makVrv::DtLayeredEnvironmentDataBase::setSwellStateDirection ( float  value)
virtual

Set / get the direction, in radians from True North, of sea swells.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual float makVrv::DtLayeredEnvironmentDataBase::swellStateDirection ( ) const
virtual

Set / get the direction, in radians from True North, of sea swells.

virtual void makVrv::DtLayeredEnvironmentDataBase::setSeaState ( DtDouglasSeaState::Scale  state)
virtual

Set / get the sea state conditions based on the Douglas sea scale.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual DtDouglasSeaState::Scale makVrv::DtLayeredEnvironmentDataBase::seaState ( ) const
virtual

Set / get the sea state conditions based on the Douglas sea scale.

virtual void makVrv::DtLayeredEnvironmentDataBase::setSeaStateDirection ( float  value)
virtual

Set / get the sea state direction, in radians from True North.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual float makVrv::DtLayeredEnvironmentDataBase::seaStateDirection ( ) const
virtual

Set / get the sea state direction, in radians from True North.

virtual void makVrv::DtLayeredEnvironmentDataBase::setWindDrivenSeaStateEnabled ( bool  value,
bool  force 
)
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 bool makVrv::DtLayeredEnvironmentDataBase::windDrivenSeaStateEnabled ( ) const
virtual

Set / get the wind driven seas enabled parameter to allow the wind to determine the sea state.

virtual void makVrv::DtLayeredEnvironmentDataBase::setWindFetch ( float  value)
virtual

Set / get the ocean wind fetch.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual float makVrv::DtLayeredEnvironmentDataBase::windFetch ( ) const
virtual

Set / get the ocean wind fetch.

virtual void makVrv::DtLayeredEnvironmentDataBase::setSeaChoppiness ( float  value)
virtual

Set / get the sea choppiness.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual float makVrv::DtLayeredEnvironmentDataBase::seaChoppiness ( ) const
virtual

Set / get the sea choppiness.

virtual void makVrv::DtLayeredEnvironmentDataBase::setUnderwaterVisibility ( float  distance)
virtual

Set / get the maximum visibility under water in meters.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual float makVrv::DtLayeredEnvironmentDataBase::underwaterVisibility ( ) const
virtual

Set / get the maximum visibility under water in meters.

virtual void makVrv::DtLayeredEnvironmentDataBase::setSurfaceTransparency ( float  value)
virtual

Set / get the surface transparency.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual float makVrv::DtLayeredEnvironmentDataBase::surfaceTransparency ( ) const
virtual

Set / get the surface transparency.

virtual void makVrv::DtLayeredEnvironmentDataBase::setSurgeDepth ( float  value)
virtual

Set / get the surge depth.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual float makVrv::DtLayeredEnvironmentDataBase::surgeDepth ( ) const
virtual

Set / get the surge depth.

virtual void makVrv::DtLayeredEnvironmentDataBase::setAmbientWaterTemperature ( float  temperature)
virtual

Set / get the ambient water temperature, in Kelvins.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual float makVrv::DtLayeredEnvironmentDataBase::ambientWaterTemperature ( ) const
virtual

Set / get the ambient water temperature, in Kelvins.

virtual void makVrv::DtLayeredEnvironmentDataBase::setWaterCurrentSpeed ( float  speed)
virtual

Set / get the speed of water currents in meters per second.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual float makVrv::DtLayeredEnvironmentDataBase::waterCurrentSpeed ( ) const
virtual

Set / get the speed of water currents in meters per second.

virtual void makVrv::DtLayeredEnvironmentDataBase::setWaterCurrentDirection ( float  direction)
virtual

Set / get the direction of water currents in radians from north (clockwise).

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual float makVrv::DtLayeredEnvironmentDataBase::waterCurrentDirection ( ) const
virtual

Set / get the speed of water currents in meters per second.

virtual void makVrv::DtLayeredEnvironmentDataBase::setTidalOffset ( float  meters)
virtual

Set / get the current tidal offset from mean-sea-level in meters.

Reimplemented in makVrv::DtLocalLayeredEnvironmentData, and makVrv::DtGlobalLayeredEnvironmentData.

virtual float makVrv::DtLayeredEnvironmentDataBase::tidalOffset ( ) const
virtual

Set / get the current tidal offset from mean-sea-level in meters.

virtual void makVrv::DtLayeredEnvironmentDataBase::setDateAndTimeOfDay ( int  year,
int  month,
int  day,
int  hour,
int  minutes,
double  seconds 
)
virtual

Set / get the date and time of day.

Reimplemented in makVrv::DtGlobalLayeredEnvironmentData.

virtual void makVrv::DtLayeredEnvironmentDataBase::getDateAndTimeOfDay ( int year,
int month,
int day,
int hour,
int minutes,
double seconds 
) const
virtual

Set / get the date and time of day.

virtual void makVrv::DtLayeredEnvironmentDataBase::setUseGlobalTimeZone ( bool  useOrNot)
virtual

Set / get whether to use GMT time as the means to position the sun/moon rather than always moving with the observer.

virtual bool makVrv::DtLayeredEnvironmentDataBase::useGlobalTimeZone ( ) const
virtual

Set / get whether to use GMT time as the means to position the sun/moon rather than always moving with the observer.

virtual void makVrv::DtLayeredEnvironmentDataBase::setTimeOfDayAdvancementSpeed ( float  speed)
virtual

Set / get the time of day advancement speed.

Reimplemented in makVrv::DtGlobalLayeredEnvironmentData.

virtual float makVrv::DtLayeredEnvironmentDataBase::timeOfDayAdvancementSpeed ( ) const
virtual

Set / get the time of day advancement speed.

virtual makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord* makVrv::DtLayeredEnvironmentDataBase::setBaseMSLAltitude ( DtUniqueID  layerId,
float  mslAltitudeInMeters 
)
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 float makVrv::DtLayeredEnvironmentDataBase::baseMSLAltitude ( DtUniqueID  layerId) const
virtual

Set / get the base MSL Altitude, in meters, for this elevational configuration The elevation record associated with the specified layerId is returned.

virtual makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord* makVrv::DtLayeredEnvironmentDataBase::setWindSpeed ( DtUniqueID  layerId,
float  speedInMetersPerSecond 
)
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 float makVrv::DtLayeredEnvironmentDataBase::windSpeed ( DtUniqueID  layerId) const
virtual

Set / get the speed, in meters per second, for this elevational configuration The elevation record associated with the specified layerId is returned.

virtual makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord* makVrv::DtLayeredEnvironmentDataBase::setWindDirection ( DtUniqueID  layerId,
float  offsetInRadiansFromTrueNorth 
)
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 float makVrv::DtLayeredEnvironmentDataBase::windDirection ( DtUniqueID  layerId) const
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 makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord* makVrv::DtLayeredEnvironmentDataBase::setVisibilityDistance ( DtUniqueID  layerId,
float  visibilityInMeters 
)
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 float makVrv::DtLayeredEnvironmentDataBase::visibilityDistance ( DtUniqueID  layerId) const
virtual

Set / get the visibility distance, in meters, for this elevational configuration. The elevation record associated with the specified layerId is returned.

virtual makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord* makVrv::DtLayeredEnvironmentDataBase::setObscurant ( DtUniqueID  layerId,
makArchives::VisibilityObscurant  obscurantEnumerationValue 
)
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 makArchives::VisibilityObscurant makVrv::DtLayeredEnvironmentDataBase::obscurant ( DtUniqueID  layerId) const
virtual

Set / get the visibility obscurant for this elevational configuration. The elevation record associated with the specified layerId is returned.

virtual makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord* makVrv::DtLayeredEnvironmentDataBase::setCloudType ( DtUniqueID  layerId,
const std::string &  cloudTypeName 
)
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 std::string makVrv::DtLayeredEnvironmentDataBase::cloudType ( DtUniqueID  layerId) const
virtual

Set / get the cloud type, by name, for this elevational configuration. The elevation record associated with the specified layerId is returned.

virtual makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord* makVrv::DtLayeredEnvironmentDataBase::setCloudDensity ( DtUniqueID  layerId,
float  cloudDensity 
)
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 float makVrv::DtLayeredEnvironmentDataBase::cloudDensity ( DtUniqueID  layerId) const
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 makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord* makVrv::DtLayeredEnvironmentDataBase::setSkyCoverage ( DtUniqueID  layerId,
float  skyCoverage 
)
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 float makVrv::DtLayeredEnvironmentDataBase::skyCoverage ( DtUniqueID  layerId) const
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 makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord* makVrv::DtLayeredEnvironmentDataBase::findElevationRecord ( DtUniqueID  layerId)
virtual

Get a pointer to the internal elevation configuration record for the specified elevational configuration.

virtual const makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord* makVrv::DtLayeredEnvironmentDataBase::findElevationRecord ( DtUniqueID  layerId) const
virtual

Get a pointer to the internal elevation configuration record for the specified elevational configuration - const version.

Member Data Documentation

makArchives::DtEnvironmentRecord makVrv::DtLayeredEnvironmentDataBase::myEnvironmentRecord
protected
std::unordered_map<DtUniqueID, makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord> makVrv::DtLayeredEnvironmentDataBase::myElevationRecords
protected
makArchives::DtDateTimeRecord makVrv::DtLayeredEnvironmentDataBase::myDateAndTimeRecord
protected
bool makVrv::DtLayeredEnvironmentDataBase::myUseGlobalTimeZone
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)