![]() |
VR-Forces 4.10 Class Documentation
|
The DtEnvironment configures the environmental effects for a scene. More...

Public Member Functions | |
| DtEnvironment (DtDe &de) | |
| CTOR. More... | |
| virtual | ~DtEnvironment () |
| Virtual DTOR. More... | |
| virtual void | init () |
| Initialize the Environment object (like preloading all known cloud layers) before the first environment record is loaded. More... | |
| virtual void | getRecord (makArchives::DtEnvironmentRecord &record) |
| Put the current environment conditions into a record. More... | |
| virtual void | setFromRecord (const makArchives::DtEnvironmentRecord &record) |
| Set the current environment conditions from a record. More... | |
| virtual makArchives::DtEnvironmentRecord | environmentConditionRecord (const std::string &) |
| Returns the environment record for the environment condition name. More... | |
| virtual void | updateOrAddElevationalConfiguration (const DtElevationalConfigurationRecord &record) |
| Update an elevational configuration record which consists of 1) a base MSL altitude, in meters, 2) a wind speed, in meters per second, 3) a wind direction, in radians from True North (clockwise), 4) a visibility distance, in meters, and 5) an enumerated visibility obscurant value. More... | |
| virtual bool | getElevationalConfiguration (float baseMSLAltitude, makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord &wRec) const |
| Get an elevational configuration record by its base MSL altitude, in meters, and return it by reference. More... | |
| virtual void | removeElevationalConfiguration (float baseMSLAltitude) |
| Remove an elevational configuration record by its MSL altitude, in meters. More... | |
| virtual void | moveElevationalConfiguration (float oldBaseMSLAltitude, float newBaseMSLAltitude) |
| Move an elevational configuration record from the provided 'old' base MSL altitude to the provided 'new' base MSL altitude. More... | |
| virtual void | setWindSpeedAtMSLAltitude (float mslAltitude, float windSpeed) |
| Set the wind speed at the provided MSL altitude, in meters. More... | |
| virtual float | windSpeedAtMSLAltitude (float mslAltitude) const |
| Get the wind speed at the provided MSL altitude, in meters. More... | |
| virtual void | setWindDirectionAtMSLAltitude (float mslAltitude, float windDirection) |
| Set the wind direction at the provided MSL altitude, in meters. More... | |
| virtual float | windDirectionAtMSLAltitude (float mslAltitude) const |
| Get the wind direction at the provided MSL altitude, in meters. More... | |
| virtual void | setVisibilityDistanceAtMSLAltitude (float mslAltitude, float visibilityDistance) |
| Set the visibility distance at the provided MSL altitude, in meters. More... | |
| virtual float | visibilityDistanceAtMSLAltitude (float mslAltitude) const |
| Get the visibility distance at the provided MSL altitude, in meters. More... | |
| virtual void | setObscurantAtMSLAltitude (float mslAltitude, VisibilityObscurant obscurant) |
| Set the obscurant at the provided MSL altitude, in meters. More... | |
| virtual VisibilityObscurant | obscurantAtMSLAltitude (float mslAltitude) const |
| Get the obscurant at the provided MSL altitude, in meters. More... | |
| virtual void | setCloudTypeAtMSLAltitude (float mslAltitude, CloudType cloudType) |
| Set the cloud type at the provided MSL altitude, in meters. More... | |
| virtual CloudType | cloudTypeAtMSLAltitude (float mslAltitude) const |
| Get the cloud type at the provided MSL altitude, in meters. More... | |
| virtual void | setSkyCoverageAtMSLAltitude (float mslAltitude, float skyCoverage) |
| Set the sky coverage at the provided MSL altitude, in meters. More... | |
| virtual float | skyCoverageAtMSLAltitude (float mslAltitude) const |
| Get the sky coverage at the provided MSL altitude, in meters. More... | |
| virtual float | lightLevel () const |
| Get the current prevailing ambient light value Allows thing to be activated/deactivated by light level; values gp from 0. More... | |
| const DtSettingsBackup * | settingsBackup () const |
| DtSettingsBackup * | settingsBackup () |
| virtual float | seaLevel () const |
| Returns the current sea level. More... | |
| virtual void | initializeEnvironmentSettings () |
| Initialize environment settings (cloud cover and settings from default record) More... | |
| virtual void | initializeRemoteEnvironment () |
| virtual void | saveEnvironment (const std::string &name) |
| virtual void | setEnvironment (const std::string &name) |
| Set the current environment to the environment of the given name. More... | |
| virtual void | removeEnvironment (const std::string &name) |
| Remove an environment with the given name. More... | |
| virtual void | renameEnvironment (const std::string &oldName, const std::string &newName) |
| Rename an environment entry. More... | |
| virtual void | getEnvironmentNames (std::vector< std::string > &names, bool includeLocalOnlyEnvironment=false) |
| Get the names of all the environment conditions. More... | |
| virtual void | setDefaultEnvironmentName (const std::string &name) |
| Set the name of the default environment conditions. More... | |
| virtual std::string | defaultEnvironmentName () const |
| Get the name of the default environment conditions. More... | |
| virtual void | setLightningPresent (bool lightningPresent) |
| Set/Get whether or not lightning is present. More... | |
| virtual bool | lightningPresent () const |
| virtual void | setAirTurbidity (float turbidity) |
| Set / get the air turbidity (haziness) More... | |
| virtual float | airTurbidity () const |
| virtual void | setVisibleDistance (float distance) |
| Set / get the 'global' visible distance, in meters. More... | |
| virtual float | visibleDistance () const |
| virtual void | setWindSpeed (float windSpeed) |
| Set / get the 'global' wind speed, in meters per second. More... | |
| virtual float | windSpeed () const |
| virtual void | setWindDirection (float direction) |
| Set / get the 'global' wind direction, in radians. More... | |
| virtual float | windDirection () const |
| virtual void | setPrecipitationType (PrecipitationType type) |
| Set / get the precipitation type. More... | |
| virtual PrecipitationType | precipitationType () const |
| virtual void | setPrecipitationIntensity (float intensity) |
| Set / get the precipitation intensity. More... | |
| virtual float | precipitationIntensity () const |
| virtual void | setAmbientAirTemperature (float temperature) |
| Set / get the ambient air temperature, in Kelvins. More... | |
| virtual float | ambientAirTemperature () const |
| virtual void | setAmbientAirPressure (float pressure) |
| Set/Get the ambient air pressure in Pascals. More... | |
| virtual float | ambientAirPressure () const |
| virtual void | setAirPressureAltitude (float altitude) |
| virtual float | airPressureAltitude () const |
| virtual void | setAirTemperatureAltitude (float altitude) |
| virtual float | airTemperatureAltitude () const |
| virtual void | setAirPressureAltitudeIsSeaLevel (bool seaLevel) |
| virtual bool | airPressureAltitudeIsSeaLevel () const |
| virtual void | setAirTemperatureAltitudeIsSeaLevel (bool seaLevel) |
| virtual bool | airTemperatureAltitudeIsSeaLevel () const |
| virtual void | setSeaLevelWaterConcentration (float water) |
| virtual float | seaLevelWaterConcentration () const |
| virtual void | setFogHeight (float height) |
| Set / get the fog ceiling height in meters. More... | |
| virtual float | fogHeight () const |
| virtual void | setFogColor (const DtVector &color) |
| Set / get the fog color in normalized color components. More... | |
| virtual DtVector | fogColor () const |
| virtual void | setGroundFogColor (const DtVector &color) override |
| Set / get the ground fog color in normalized color components. More... | |
| virtual DtVector | groundFogColor () const override |
| virtual void | setSeaState (int state) |
| Set / get the sea state according to the Beaufort Scale. More... | |
| virtual int | seaState () const |
| virtual void | setSeaStateDirection (float dir) |
| Set / get the sea state direction in radians from north. More... | |
| virtual float | seaStateDirection () const |
| virtual void | setWindDrivenSeaState (bool enabled) |
| Set / get if sea state is wind driven or manually driven. More... | |
| virtual bool | windDrivenSeaState () const |
| virtual void | setSwellState (int state) |
| Set / get the sea-swell state according to the Douglas Scale. More... | |
| virtual int | swellState () const |
| virtual void | setSwellStateDirection (float dir) |
| Set / get the sea-swell state direction in radians from north. More... | |
| virtual float | swellStateDirection () const |
| virtual void | setWindFetch (float distance) |
| Set / get the ocean fetch. More... | |
| virtual float | windFetch () const |
| virtual void | setSeaChoppiness (float chop) |
| Set / get the amount of chop on the sea. More... | |
| virtual float | seaChoppiness () const |
| void | setUnderwaterVisibilityEnabled (bool enabled) |
| bool | underwaterVisibilityEnabled () const |
| virtual void | setUnderwaterVisibility (float distance) |
| Set / get the maximum visibility under water in meters. More... | |
| virtual float | underwaterVisibility () const |
| virtual void | setWaterSurfaceTransparency (float normalizedValue) |
| Set / get the transparency value of water surface. More... | |
| virtual float | waterSurfaceTransparency () const |
| virtual void | setSurgeDepth (float meters) |
| Set / Get the surge depth in distance. More... | |
| virtual float | surgeDepth () const |
| virtual void | setDepthOffset (float meters) |
| Set / Get the depth offset in distance. More... | |
| virtual float | depthOffset () const |
| virtual void | setAmbientWaterTemperature (float temperature) |
| Set / get the ambient water temperature, in Kelvins. More... | |
| virtual float | ambientWaterTemperature () const |
| virtual void | setWaterCurrentSpeed (float speed) |
| Set / get the speed of water currents in meters per second. More... | |
| virtual float | waterCurrentSpeed () const |
| virtual void | setWaterCurrentDirection (float direction) |
| Set / get the direction of water currents in radians from north (clockwise). More... | |
| virtual float | waterCurrentDirection () const |
| virtual void | setTidalOffset (float meters) |
| Set / get the current tidal offset from mean-sea-level in meters. More... | |
| virtual float | tidalOffset () const |
| virtual void | setTidalDirection (bool inOut) |
| Set / get the current direction of tidal flow (0=out, 1=in). More... | |
| virtual bool | tidalDirection () const |
| virtual void | setThermoclineDepth (unsigned int layer, float depth) |
| Set / get the thermocline depths. More... | |
| virtual float | thermoclineDepth (unsigned int layer) const |
| virtual void | setThermoclinePermeability (unsigned int layer, float permeability) |
| Set / get the thermocline permeability. More... | |
| virtual float | thermoclinePermeability (unsigned int layer) const |
| virtual void | setGroundSnowAccumulation (float depth) |
| Set / get the ground snow accumulation depth. More... | |
| virtual float | groundSnowAccumulation () const |
| virtual void | setRoadSnowAccumulation (float depth) |
| Set / get the road snow accumulation depth. More... | |
| virtual float | roadSnowAccumulation () const |
| virtual void | setSnowMinimumElevation (float elevation) |
| Set / get the snow minimum elevation. More... | |
| virtual float | snowMinimumElevation () const |
| virtual void | setSnowElevationTransition (float elevation) |
| virtual float | snowElevationTransition () const |
| virtual void | setGroundRainAccumulation (float depth) |
| Set / get the ground rain accumulation depth. More... | |
| virtual float | groundRainAccumulation () const |
| virtual DtUniqueID | addLocalWind (WindType localWindType) |
| Add / remove winds for osgEarth (ex. More... | |
| virtual void | removeLocalWind (DtUniqueID id) const |
| virtual void | setLocalWindLocation (DtUniqueID id, DtVector loc) |
| Set wind location based on id. More... | |
| virtual void | setLocalWindSpeed (DtUniqueID id, float windSpeed) |
| Set wind speed based on id. Speed is meter/second. More... | |
| void | loadDefaults (bool loadOnlyFactorySettings=false) |
| void | restore () |
| Restores to backup settings from startup default. More... | |
| void | saveAsDefaults () |
| Save the current settings as the default settings. More... | |
| virtual void | exportSettings (const std::string &filename) |
| Import / export the list of named conditions (.enlx file) More... | |
| virtual void | importSettings (const std::string &filename) |
Public Member Functions inherited from makVrv::DtEnvironmentInterface | |
| DtEnvironmentInterface () | |
| CTOR. More... | |
| virtual | ~DtEnvironmentInterface () |
| Virtual DTOR. More... | |
Protected Types | |
| typedef std::vector< DtCloudLayer > | CloudLayersVector |
Protected Member Functions | |
| virtual void | resetClouds () |
| Reset all pre-loaded cloud layers by removing them from the Sky object and adding them back in. More... | |
| virtual void | refreshCloudLayerThicknessIfNeeded () |
| Refresh the thickness of all the cloud layers for the current environment configuration, if needed, based on the base MSL altitudes of all the elevational configurations being maintained. More... | |
| virtual void | clearCloudsFromSky () |
| Remove all cloud layers from the internal Sky object. More... | |
| virtual void | addElevationalCloudLayersToCloudCoverManagerIfNeeded () |
| Add the cloud covers/layers from all the elevational configurations for all environment configurations being maintained to the cloud cover manager, if needed. More... | |
| virtual void | sendToSkyAllCloudLayers () |
| Send all cloud layers to the internal Sky object and make them all disabled. More... | |
| virtual void | initializeCloudLayerRecordByCloudType (makArchives::DtCloudLayerRecord &) const |
| virtual void | sendToSkyCloudLayerAdded (DtCloudLayerId layerId) |
| virtual void | sendToSkyCloudLayerEnabled (DtCloudLayerId layerId, bool enabled) |
| virtual void | sendToSkyCloudLayerRemoved (DtCloudLayerId layerId) |
| virtual void | sendToSkyCloudLayerModified (DtCloudLayerId layerId) |
| DtDe & | myDe |
| DtAgentManagerInterface & | mySceneInterface |
| DtSkyObjectAgent * | mySkyObject |
| DtDynamicOceanObjectAgent * | myDynamicOceanObject |
| DtWeatherEffectsObjectAgent * | myWeatherEffectsObject |
| DtRecordSettingsBackupInterface * | mySettingsBackup |
| DtSignalConnectionManager | myConnections |
| makArchives::DtEnvironmentRecord | myCurrentSettings |
| DtEnvironmentList | myEnvironmentList |
| DtLocalWindObjectManager & | myLocalWindManager |
| float | mySeaLevel |
| DtVector | myGroundFogColor |
| virtual void | slot_allowSimMessagesSet (bool allowSimMessages) |
| Slots connected to the Sky Conditions Manager. More... | |
| virtual void | slot_cloudCoverCloudLayerEnabledChanged (DtCloudLayerId layerId, bool enableState) |
| virtual void | slot_cloudCoverCloudLayerModified (DtCloudLayerId layerId) |
| virtual void | slot_cloudCoverCloudLayerPositionAndOrientationChanged (DtCloudLayerId layerId, const DtVector &position, float orientation) |
| virtual void | slot_cloudCoverCloudLayerAdded (DtCloudLayerId layerId) |
| virtual void | slot_cloudCoverCloudLayerToBeRemoved (DtCloudLayerId layerId) |
| virtual void | slot_cloudCoverToBeRemoved (const std::string &cloudCoverName) |
| virtual void | slot_coordinateSystemChanged () |
| Called when the current coordinate system changes. More... | |
| virtual void | slot_oceanLayerAdded (const DtOceanLayer &layer) |
| Called by signal when an ocean layer is added. More... | |
| virtual void | slot_oceanLayerToBeDeleted (const DtOceanLayer &layer) |
| Called by signal when an ocean layer is about to be removed. More... | |
| virtual void | slot_oceanLayerSeaLevelChanged (const DtOceanLayer &layer, double seaLevel) |
| Called by signal when an ocean layer's sea level changes. More... | |
| virtual void | slot_oceanLayerLodRangeChanged (const DtOceanLayer &layer, int range) |
| Called by signal when an ocean layer's lod range (the altitude at which we LOD out dynamic ocean) changes. More... | |
| virtual void | slot_surgeDepthChanged (double depth) |
| Called by signal when the surge depth changes. More... | |
| virtual void | slot_depthOffsetChanged (double offset) |
| Called by signal when the depth offset changes. More... | |
| virtual void | updateEnvironment () |
| Update the environment settings for the current environment. More... | |
| virtual void | initializeOcean () |
| Initialize the (distributed) dynamic ocean object with the current environmental values. More... | |
| virtual void | enableCurrentCloudCoverLayers () |
| enables selected cloud cover More... | |
| virtual void | disableCurrentCloudCoverLayers () |
| virtual void | autoSave () |
| virtual void | sendMarineEnvironmentToOceanObject () |
| Helper function to set the appropriate marine environment on a dynamic ocean object. More... | |
| virtual void | sendWeatherEnvironmentToSkyObject () |
| Helper function to set the appropriate weather environment on a sky object. More... | |
Additional Inherited Members | |
Public Types inherited from makVrv::DtEnvironmentInterface | |
| enum | PrecipitationType { None = DtSkyObject::None, Rain = DtSkyObject::Rain, Snow = DtSkyObject::SnowWet, Hail = DtSkyObject::Hail, Sleet = DtSkyObject::Sleet, Drizzle = DtSkyObject::Drizzle } |
| typedef makArchives::VisibilityObscurant | VisibilityObscurant |
| typedef makArchives::DtEnvironmentRecord::DtElevationalConfigurationRecord | DtElevationalConfigurationRecord |
| typedef DtCloudTypeMapper::CloudType | CloudType |
Static Public Attributes inherited from makVrv::DtEnvironmentInterface | |
| static const float | theMaximumVisibilityDistance |
| Maximum Visibility Distance. More... | |
The DtEnvironment configures the environmental effects for a scene.
Environmental effects include clouds, precipitation, air turbidity, ambient air temperature and visibility
|
protected |
| makVrv::DtEnvironment::DtEnvironment | ( | DtDe & | de | ) |
CTOR.
|
virtual |
Virtual DTOR.
|
virtual |
Initialize the Environment object (like preloading all known cloud layers) before the first environment record is loaded.
|
virtual |
Put the current environment conditions into a record.
| [out] | record | is the record to be populated with data. |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set the current environment conditions from a record.
| [in] | record | is the record to read the data from. |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Returns the environment record for the environment condition name.
|
virtual |
Save the current environment with the given name.
| [in] | name | is the name of the environment to save. |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set the current environment to the environment of the given name.
| [in] | name | is the name of the environment to set. |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Remove an environment with the given name.
| [in] | name | is the name of the environment to remove. |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Rename an environment entry.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Get the names of all the environment conditions.
The includeLocalOnlyEnvironment flag is used by VR-Forces to get all the global and local environment conditions to be listed by their local weather area editor panel.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set the name of the default environment conditions.
| [in] | name | is the name of the default environment. |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Get the name of the default environment conditions.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set/Get whether or not lightning is present.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the air turbidity (haziness)
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the 'global' visible distance, in meters.
This functions sets/gets the visibility distance for the elevational configuration record at base MSL altitude 0. If there are no other elevational configurations, then the visible distance specified has a global effect.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the 'global' wind speed, in meters per second.
These functions sets/gets the wind speed for the elevational configuration record at base MSL altitude 0. If there are no other elevational configurations, then the wind speed specified has a global effect.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the 'global' wind direction, in radians.
This functions sets/gets the wind direction for the elevational configuration record at base MSL altitude 0. If there are no other elevational configurations, then the wind direction specified has a global effect.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the precipitation type.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the precipitation intensity.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Update an elevational configuration record which consists of 1) a base MSL altitude, in meters, 2) a wind speed, in meters per second, 3) a wind direction, in radians from True North (clockwise), 4) a visibility distance, in meters, and 5) an enumerated visibility obscurant value.
If the elevational configuration record doesn't exist, add a new one with the passed in attributes. The Base MSL Altitude is used to locate the specific elevational configuration record to update, if there is one, by doing a floating point comparison (with a +/- delta of 0.001) against all the existing elevational configuration records.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Get an elevational configuration record by its base MSL altitude, in meters, and return it by reference.
The function returns true if the elevational configuration record was found and returned - returning false otherwise. The Base MSL Altitude is used to locate the specific elevational configuration record to return, if there is one, by doing a floating point comparison (with a +/- delta of 0.001) against all the existing elevational configuration records.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Remove an elevational configuration record by its MSL altitude, in meters.
The Base MSL Altitude is used to locate the specific elevational configuration record to remove, if there is one, by doing a floating point comparison (with a +/- delta of 0.001) against all the existing elevational configuration records. This function emits a warning if the elevational configuration record to remove was not found.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Move an elevational configuration record from the provided 'old' base MSL altitude to the provided 'new' base MSL altitude.
This function checks to see if there is already an elevational configuration record for the passed in new base MSL altitude and, if there is, this function will emit a warning. If there is not an elevational wind for the passed in old base MSL altitude, then the function will also emit a warning. The Base MSL Altitude is used to locate the specific elevational configuration record to move, if there is one, by doing a floating point comparison (with a +/- delta of 0.001) against all the existing elevational configuration records.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set the wind speed at the provided MSL altitude, in meters.
This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and sets the record's wind speed. Wind speed is expressed in meters per second.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Get the wind speed at the provided MSL altitude, in meters.
This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and returns the record's wind speed. Wind speed is expressed in meters per second.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set the wind direction at the provided MSL altitude, in meters.
This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and sets the record's wind direction. Wind direction is expressed in radians from True North (clockwise).
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Get the wind direction at the provided MSL altitude, in meters.
This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and returns the record's wind direction. Wind direction is expressed in radians from True North (clockwise).
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set the visibility distance at the provided MSL altitude, in meters.
This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and sets the record's visibility distance. Visibility distance is expressed in meters.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Get the visibility distance at the provided MSL altitude, in meters.
This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and returns the record's visibility distance. Visibility distance is expressed in meters.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set the obscurant at the provided MSL altitude, in meters.
This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and sets the record's obscurant. Obscurant is expressed as a VisibilityObscurant enumerated value.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Get the obscurant at the provided MSL altitude, in meters.
This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and returns the record's obscurant. Obscurant is expressed as a VisibilityObscurant enumerated value.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set the cloud type at the provided MSL altitude, in meters.
This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and sets the record's obscurant. Cloud type is expressed as a CloudType enumerated value.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Get the cloud type at the provided MSL altitude, in meters.
This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and returns the record's obscurant. Cloud type is expressed as a CloudType enumerated value.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set the sky coverage at the provided MSL altitude, in meters.
This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and sets the record's obscurant. Sky coverage is expressed in normalized Oktas [0-1].
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Get the sky coverage at the provided MSL altitude, in meters.
This function finds the elevational configuration record with the lowest base MSL altitude that is at or below the requested altitude and returns the record's obscurant. Sky coverage is expressed in normalized Oktas [0-1].
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the ambient air temperature, in Kelvins.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set/Get the ambient air pressure in Pascals.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set/Get the air pressure altitude in meters
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set/Get the air temperature altitude in meters
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set/Get the air pressure altitude is sea level
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set/Get the air temperature altitude is sea level
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
get/set the sea level water concentration in PPMV
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the fog ceiling height in meters.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the fog color in normalized color components.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
overridevirtual |
Set / get the ground fog color in normalized color components.
Implements makVrv::DtEnvironmentInterface.
|
overridevirtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the sea state according to the Beaufort Scale.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the sea state direction in radians from north.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get if sea state is wind driven or manually driven.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the sea-swell state according to the Douglas Scale.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the sea-swell state direction in radians from north.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the ocean fetch.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the amount of chop on the sea.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / Get underwater visibility enabled.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the maximum visibility under water in meters.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the transparency value of water surface.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / Get the surge depth in distance.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / Get the depth offset in distance.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the ambient water temperature, in Kelvins.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the speed of water currents in meters per second.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the direction of water currents in radians from north (clockwise).
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the current tidal offset from mean-sea-level in meters.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the current direction of tidal flow (0=out, 1=in).
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
Set / get the thermocline depths.
Implements makVrv::DtEnvironmentInterface.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the thermocline permeability.
Implements makVrv::DtEnvironmentInterface.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the ground snow accumulation depth.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the road snow accumulation depth.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the snow minimum elevation.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
get/set the snow elevation transition which specifies how long it takes to go from no snow to the full snow depth.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Set / get the ground rain accumulation depth.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Add / remove winds for osgEarth (ex.
for rotorwash) Adding a wind will generate a unique ID for that wind which can be used later on in /see DtEnvironment and /see DtLocalWindObjectManager
|
virtual |
|
virtual |
Set wind location based on id.
|
virtual |
Set wind speed based on id. Speed is meter/second.
|
virtual |
Get the current prevailing ambient light value Allows thing to be activated/deactivated by light level; values gp from 0.
(total darkness) to 1. (noon-day sun )
|
virtual |
Load default settings.
| [in] | loadOnlyFactorySettings | flag to load factory settings. |
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Restores to backup settings from startup default.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Save the current settings as the default settings.
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Import / export the list of named conditions (.enlx file)
Implements makVrv::DtEnvironmentInterface.
|
virtual |
Implements makVrv::DtEnvironmentInterface.
|
inline |
|
inline |
|
virtual |
Returns the current sea level.
|
virtual |
Initialize environment settings (cloud cover and settings from default record)
|
virtual |
|
protectedvirtual |
Reset all pre-loaded cloud layers by removing them from the Sky object and adding them back in.
Ran on initialization and whenever the coordinate system changes.
All cloud layers are sent to the Sky object and are enabled/disabled when needed.
|
protectedvirtual |
Refresh the thickness of all the cloud layers for the current environment configuration, if needed, based on the base MSL altitudes of all the elevational configurations being maintained.
|
protectedvirtual |
Remove all cloud layers from the internal Sky object.
|
protectedvirtual |
Add the cloud covers/layers from all the elevational configurations for all environment configurations being maintained to the cloud cover manager, if needed.
|
protectedvirtual |
Send all cloud layers to the internal Sky object and make them all disabled.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Slots connected to the Sky Conditions Manager.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Called when the current coordinate system changes.
Implements makVrv::DtEnvironmentInterface.
|
protectedvirtual |
Called by signal when an ocean layer is added.
Implements makVrv::DtEnvironmentInterface.
|
protectedvirtual |
Called by signal when an ocean layer is about to be removed.
Implements makVrv::DtEnvironmentInterface.
|
protectedvirtual |
Called by signal when an ocean layer's sea level changes.
Implements makVrv::DtEnvironmentInterface.
|
protectedvirtual |
Called by signal when an ocean layer's lod range (the altitude at which we LOD out dynamic ocean) changes.
Implements makVrv::DtEnvironmentInterface.
|
protectedvirtual |
Called by signal when the surge depth changes.
Implements makVrv::DtEnvironmentInterface.
|
protectedvirtual |
Called by signal when the depth offset changes.
Implements makVrv::DtEnvironmentInterface.
|
protectedvirtual |
Update the environment settings for the current environment.
|
protectedvirtual |
Initialize the (distributed) dynamic ocean object with the current environmental values.
|
protectedvirtual |
enables selected cloud cover
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Helper function to set the appropriate marine environment on a dynamic ocean object.
|
protectedvirtual |
Helper function to set the appropriate weather environment on a sky object.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |