![]() |
VR-Forces 4.10 Class Documentation
|
A DtEnvironmentSettingsManager tells the DtSimData about new simulation objects and events. More...

Public Member Functions | |
| virtual | ~DtEnvironmentSettingsManager () |
| DTOR. More... | |
| virtual void | remoteGlobalEnvironmentDiscovered () |
| Let DtEnviroment know that we have connected to a simulation with global weather being sent on it, if we have remote listening enabled. More... | |
Setting Setters | |
| virtual void | setAirTurbidity (float turbidity) |
| Set the air turbidity/haziness (if listening to weather controls). More... | |
| virtual void | setAmbientAirTemperature (float temperature) |
| Set the ambient air temperature, in Kelvins. (if listening to weather controls). More... | |
| virtual void | setAmbientAirPressure (float pressure) |
| Set the ambient air pressure, in Pascals. (if listening to weather controls). More... | |
| virtual void | setAirTemperatureAltitude (float altitude) |
| Set the air temperature altitude, in meters. (if listening to weather controls). More... | |
| virtual void | setAirPressureAltitude (float altitude) |
| Set the air pressure altitude, in meters. (if listening to weather controls). More... | |
| virtual void | setAirTemperatureAltitudeIsSeaLevel (bool seaLevel) |
| Set the air temperature altitude is sea level flag. (if listening to weather controls). More... | |
| virtual void | setAirPressureAltitudeIsSeaLevel (bool seaLevel) |
| Set the air pressure altitude is sea level flag. (if listening to weather controls). More... | |
| virtual void | setSeaLevelWaterConcentration (float water) |
| Set the sea level water concentration, in PPMV (parts per million by volume). (if listening to weather controls). More... | |
| virtual void | setLightningPresent (bool lightningPresent) |
| Sets whether or not lightning is present. More... | |
| virtual void | setPrecipitationType (unsigned int type) |
| Sets precipitation type (if listening to weather controls). More... | |
| virtual void | setPrecipitationIntensity (float intensity) |
| Sets precipitation intensity (if listening to weather controls). More... | |
| virtual void | setDateAndTimeOfDay (int year, int month, int day, int hour, int minutes, double seconds) |
| Tell the scene to change the date and time of day. More... | |
| virtual void | setUseGlobalTimeZone (bool) |
| Tell the system to use GMT time as the means to position the sun/moon rather than always moving with the observer. More... | |
| virtual void | setTimeOfDay (int hour, int minutes, double seconds) |
| Tell the scene to change the time of day. More... | |
| virtual void | setTimeOfDayAdvancementSpeed (float speed) |
| Tell the scene to change the time of day advancement speed. More... | |
| virtual void | setFogHeight (float value) |
| Sets the fog ceiling height (if listening to weather controls). More... | |
| virtual void | setFogColor (const DtVector &color) |
| Sets the fog color (if listening to weather controls). More... | |
| virtual void | setFogColor (float red, float green, float blue) |
| virtual void | setFogColor (int red, int green, int blue) |
| virtual void | removeElevationalConfiguration (float baseMSLAltitude) |
| Removes an elevational configuration record by its base MSL altitude, in meters. More... | |
| virtual void | updateOrAddElevationalConfiguration (DtEnvironmentInterface::DtElevationalConfigurationRecord rec) |
| 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, 5) an enumerated visibility obscurant value, 6) the type of cloud present, by name, and 7) the sky coverage of the cloud, in normalized Oktas [0-1]. More... | |
| virtual void | setSwellState (int state) |
| Set the sea state according to the Beaufort Scale. More... | |
| virtual void | setSwellStateDirection (float value) |
| Set the sea state direction in radians from North. More... | |
| virtual void | setSeaState (int state) |
| Set the sea state according to the Beaufort Scale. More... | |
| virtual void | setSeaStateDirection (float value) |
| Set the sea state direction in radians from North. More... | |
| virtual void | setWindDrivenSeaStateEnabled (bool value) |
| Set the wind driven seas enabled parameter to allow the wind to determine the sea state. More... | |
| virtual void | setWindFetch (float value) |
| Set the ocean wind fetch (if listening to weather controls). More... | |
| virtual void | setSeaChoppiness (float value) |
| Set the sea choppiness (if listening to weather controls). More... | |
| virtual void | setUnderwaterVisibility (float distance) |
| Set the maximum visibility under water in meters. More... | |
| virtual void | setSurfaceTransparency (float value) |
| Set the surface transparency (if listening to weather controls). More... | |
| virtual void | setSurgeDepth (float value) |
| Set the surge depth (if listening to weather controls). More... | |
| virtual void | setAmbientWaterTemperature (float temperature) |
| Set the ambient water temperature, in Kelvins. More... | |
| virtual void | setWaterCurrentSpeed (float speed) |
| Set the speed of water currents in meters per second. More... | |
| virtual void | setWaterCurrentDirection (float direction) |
| Set the direction of water currents in radians from north (clockwise). More... | |
| virtual void | setTidalOffset (float meters) |
| Set the current tidal offset from mean-sea-level in meters. More... | |
| virtual void | setTidalDirection (bool inOut) |
| Set the current direction of tidal flow (0=out, 1=in). More... | |
| virtual void | setThermoclineDepth (unsigned int layer, float value) |
| Set a thermocline depth (if listening to weather controls). More... | |
| virtual void | setThermoclinePermeability (unsigned int layer, float value) |
| Set a thermocline permeability (if listening to weather controls). More... | |
| virtual void | setGroundSnowAccumulation (double depth) |
| Set the ground snow accumulation depth. More... | |
| virtual void | setRoadSnowAccumulation (double depth) |
| Set the road snow accumulation depth. More... | |
| virtual void | setSnowMinimumElevation (double elevation) |
| Set the snow minimum elevation. More... | |
| virtual void | setSnowElevationTransition (double elevation) |
| Set the snow elevation transition which specifies how long it takes to go from no snow to the full snow depth. More... | |
| virtual void | setGroundRainAccumulation (double depth) |
| Set the ground rain accumulation depth. More... | |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| Do nothing constructor. More... | |
| virtual | ~DtVirtualBaseClass () |
| Virtual do nothing destructor. More... | |
Static Public Member Functions | |
| static DtEnvironmentSettingsManager & | instance (DtDe &de) |
| Get an instance of the settings manager. More... | |
Public Attributes | |
Setting Change Signals | |
| boost::signalslib::signal < void(float)> | signal_airTurbidityChanged |
| Emitted when the air turbidity factor changes. More... | |
| boost::signalslib::signal < void(float)> | signal_ambientAirTemperatureChanged |
| Emitted when the ambient air temperature, in Kelvins, changes. More... | |
| boost::signalslib::signal < void(float)> | signal_ambientAirPressureChanged |
| Emitted when the ambient air pressure, in Pascals, changes. More... | |
| boost::signalslib::signal < void(float)> | signal_airTemperatureAltitudeChanged |
| Emitted when the air temperature altitude, in meters, changes. More... | |
| boost::signalslib::signal < void(float)> | signal_airPressureAltitudeChanged |
| Emitted when the air pressure altitude, in meters, changes. More... | |
| boost::signalslib::signal < void(bool)> | signal_airTemperatureAltitudeIsSeaLevelChanged |
| Emitted when the air temperature altitude is sea level flag changes. More... | |
| boost::signalslib::signal < void(bool)> | signal_airPressureAltitudeIsSeaLevelChanged |
| Emitted when the air pressure altitude is sea level flag changes. More... | |
| boost::signalslib::signal < void(float)> | signal_seaLevelWaterConcentrationChanged |
| Emitted when the the sea level water concentration, in PPMV (parts per million by volume), changes. More... | |
| boost::signalslib::signal < void(makArchives::DtCloudCoverType)> | signal_cloudStateChanged |
| Emitted when the cloud state factor changes. More... | |
| boost::signalslib::signal < void(bool)> | signal_lightningPresentChanged |
| Emitted when the lightning is present state has changed. More... | |
| boost::signalslib::signal < void(bool)> | signal_precipipationEnabled |
| Emitted when the precipitation is enabled/disabled. More... | |
| boost::signalslib::signal < void(float)> | signal_precitipationIntensityChanged |
| Emitted when the precipitation intensity factor changes. More... | |
| boost::signalslib::signal < void(unsigned int)> | signal_precipitationTypeChanged |
| Emitted when the precipitation type changes. More... | |
| boost::signalslib::signal < void(int, int, int)> | signal_timeOfDayChanged |
| Emitted when the time of day changes. More... | |
| boost::signalslib::signal < void(int, int, int, int, int, int)> | signal_dateAndTimeOfDayChanged |
| Emitted when the date and time of day changes. More... | |
| boost::signalslib::signal < void(bool)> | signal_useGlobalTimeZoneChanged |
| Emitted when positioning with the sun with GMT time changes. More... | |
| boost::signalslib::signal < void(float)> | signal_timeOfDayAdvancementSpeedChanged |
| Emitted when the time of day advancement speed changes. More... | |
| boost::signalslib::signal < void(float)> | signal_visibilityChanged |
| Emitted when the visibility factor changes. More... | |
| boost::signalslib::signal < void(float)> | signal_fogHeightChanged |
| Emitted when the fog ceiling height changes. More... | |
| boost::signalslib::signal < void(const DtVector &)> | signal_fogColorChanged |
| Emitted when the fog color changes. More... | |
| boost::signalslib::signal < void(float)> | signal_elevationalConfigurationRemoved |
| Emitted when an elevational configuration is removed. More... | |
| boost::signalslib::signal < void(DtEnvironmentInterface::DtElevationalConfigurationRecord)> | signal_elevationalConfigurationUpdatedOrAdded |
| Emitted when an elevational configuration is updated/added. More... | |
| boost::signalslib::signal < void(int)> | signal_swellStateChanged |
| Emitted when the swell state changes. More... | |
| boost::signalslib::signal < void(int)> | signal_swellStateDirectionChanged |
| Emitted when the swell state direction changes. More... | |
| boost::signalslib::signal < void(int)> | signal_seaStateChanged |
| Emitted when the sea state changes. More... | |
| boost::signalslib::signal < void(int)> | signal_seaStateDirectionChanged |
| Emitted when the sea state direction changes. More... | |
| boost::signalslib::signal < void(int)> | signal_windDrivenSeaStateEnabledChanged |
| Emitted when the wind driven seas state enabled changes. More... | |
| boost::signalslib::signal < void(float)> | signal_windFetchChanged |
| Emitted when the ocean wind fetch changes. More... | |
| boost::signalslib::signal < void(float)> | signal_seaChoppinessChanged |
| Emitted when the sea choppiness changes. More... | |
| boost::signalslib::signal < void(float)> | signal_underWaterVisibilityChanged |
| Emitted when the underwater visibility changes. More... | |
| boost::signalslib::signal < void(float)> | signal_surfaceTransparencyChanged |
| Emitted when the surface transparency changes. More... | |
| boost::signalslib::signal < void(float)> | signal_surgeDepthChanged |
| Emitted when the surge depth changes. More... | |
| boost::signalslib::signal < void(float)> | signal_ambientWaterTemperatureChanged |
| Emitted when the ambient water temperature, in Kelvins, changes. More... | |
| boost::signalslib::signal < void(float)> | signal_waterCurrentSpeedChanged |
| Emitted when the water current speed changes. More... | |
| boost::signalslib::signal < void(float)> | signal_waterCurrentDirectionChanged |
| Emitted when the water current direction changes. More... | |
| boost::signalslib::signal < void(float)> | signal_tidalOffsetChanged |
| Emitted when the tidal offset changes. More... | |
| boost::signalslib::signal < void(bool)> | signal_tidalDirectionChanged |
| Emitted when the tidal direction changes. More... | |
| boost::signalslib::signal < void(unsigned int, float)> | signal_thermoclineDepthChanged |
| Emitted when the thermocline depth changes. More... | |
| boost::signalslib::signal < void(unsigned int, float)> | signal_thermoclinePermeabilityChanged |
| Emitted when the thermocline permeability changes. More... | |
| boost::signalslib::signal < void(float)> | signal_groundSnowAccumulationChanged |
| Emitted when the ground snow accumulation depth changes. More... | |
| boost::signalslib::signal < void(float)> | signal_roadSnowAccumulationChanged |
| Emitted when the road snow accumulation depth changes. More... | |
| boost::signalslib::signal < void(float)> | signal_snowMinimumElevationChanged |
| Emitted when the snow minimum elevation changes. More... | |
| boost::signalslib::signal < void(float)> | signal_snowElevationTransitionChanged |
| Emitted when the snow elevation transition changes. More... | |
| boost::signalslib::signal < void(float)> | signal_groundRainAccumulationChanged |
| Emitted when the ground rain accumulation depth changes. More... | |
Protected Member Functions | |
| DtEnvironmentSettingsManager (DtDe &de) | |
| CTOR. More... | |
Protected Attributes | |
| DtDistributedEnvironmentSettingsManager & | myDistEnvSettingsManager |
| DtDe & | myDe |
A DtEnvironmentSettingsManager tells the DtSimData about new simulation objects and events.
|
virtual |
DTOR.
|
protected |
CTOR.
|
static |
Get an instance of the settings manager.
|
virtual |
Set the air turbidity/haziness (if listening to weather controls).
|
virtual |
Set the ambient air temperature, in Kelvins. (if listening to weather controls).
|
virtual |
Set the ambient air pressure, in Pascals. (if listening to weather controls).
|
virtual |
Set the air temperature altitude, in meters. (if listening to weather controls).
|
virtual |
Set the air pressure altitude, in meters. (if listening to weather controls).
|
virtual |
Set the air temperature altitude is sea level flag. (if listening to weather controls).
|
virtual |
Set the air pressure altitude is sea level flag. (if listening to weather controls).
|
virtual |
Set the sea level water concentration, in PPMV (parts per million by volume). (if listening to weather controls).
|
virtual |
Sets whether or not lightning is present.
|
virtual |
Sets precipitation type (if listening to weather controls).
|
virtual |
Sets precipitation intensity (if listening to weather controls).
|
virtual |
Tell the scene to change the date and time of day.
|
virtual |
Tell the system to use GMT time as the means to position the sun/moon rather than always moving with the observer.
|
virtual |
Tell the scene to change the time of day.
|
virtual |
Tell the scene to change the time of day advancement speed.
|
virtual |
Sets the fog ceiling height (if listening to weather controls).
|
virtual |
Sets the fog color (if listening to weather controls).
|
virtual |
|
virtual |
|
virtual |
Removes an elevational configuration record by its base MSL altitude, in meters.
|
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, 5) an enumerated visibility obscurant value, 6) the type of cloud present, by name, and 7) the sky coverage of the cloud, in normalized Oktas [0-1].
If the elevational configuration record doesn't exist, add a new one with the passed in attributes.
|
virtual |
Set the sea state according to the Beaufort Scale.
|
virtual |
Set the sea state direction in radians from North.
|
virtual |
Set the sea state according to the Beaufort Scale.
|
virtual |
Set the sea state direction in radians from North.
|
virtual |
Set the wind driven seas enabled parameter to allow the wind to determine the sea state.
|
virtual |
Set the ocean wind fetch (if listening to weather controls).
|
virtual |
Set the sea choppiness (if listening to weather controls).
|
virtual |
Set the maximum visibility under water in meters.
|
virtual |
Set the surface transparency (if listening to weather controls).
|
virtual |
Set the surge depth (if listening to weather controls).
|
virtual |
Set the ambient water temperature, in Kelvins.
|
virtual |
Set the speed of water currents in meters per second.
|
virtual |
Set the direction of water currents in radians from north (clockwise).
|
virtual |
Set the current tidal offset from mean-sea-level in meters.
|
virtual |
Set the current direction of tidal flow (0=out, 1=in).
|
virtual |
Set a thermocline depth (if listening to weather controls).
|
virtual |
Set a thermocline permeability (if listening to weather controls).
|
virtual |
Set the ground snow accumulation depth.
|
virtual |
Set the road snow accumulation depth.
|
virtual |
Set the snow minimum elevation.
|
virtual |
Set the snow elevation transition which specifies how long it takes to go from no snow to the full snow depth.
|
virtual |
Set the ground rain accumulation depth.
|
virtual |
Let DtEnviroment know that we have connected to a simulation with global weather being sent on it, if we have remote listening enabled.
This is needed to get the local environment cleaned out.
| boost::signalslib::signal<void (float)> makVrv::DtEnvironmentSettingsManager::signal_airTurbidityChanged |
Emitted when the air turbidity factor changes.
| boost::signalslib::signal<void (float)> makVrv::DtEnvironmentSettingsManager::signal_ambientAirTemperatureChanged |
Emitted when the ambient air temperature, in Kelvins, changes.
| boost::signalslib::signal<void (float)> makVrv::DtEnvironmentSettingsManager::signal_ambientAirPressureChanged |
Emitted when the ambient air pressure, in Pascals, changes.
| boost::signalslib::signal<void (float)> makVrv::DtEnvironmentSettingsManager::signal_airTemperatureAltitudeChanged |
Emitted when the air temperature altitude, in meters, changes.
| boost::signalslib::signal<void (float)> makVrv::DtEnvironmentSettingsManager::signal_airPressureAltitudeChanged |
Emitted when the air pressure altitude, in meters, changes.
| boost::signalslib::signal<void (bool)> makVrv::DtEnvironmentSettingsManager::signal_airTemperatureAltitudeIsSeaLevelChanged |
Emitted when the air temperature altitude is sea level flag changes.
| boost::signalslib::signal<void (bool)> makVrv::DtEnvironmentSettingsManager::signal_airPressureAltitudeIsSeaLevelChanged |
Emitted when the air pressure altitude is sea level flag changes.
| boost::signalslib::signal<void (float)> makVrv::DtEnvironmentSettingsManager::signal_seaLevelWaterConcentrationChanged |
Emitted when the the sea level water concentration, in PPMV (parts per million by volume), changes.
| boost::signalslib::signal<void (makArchives::DtCloudCoverType)> makVrv::DtEnvironmentSettingsManager::signal_cloudStateChanged |
Emitted when the cloud state factor changes.
| boost::signalslib::signal<void (bool)> makVrv::DtEnvironmentSettingsManager::signal_lightningPresentChanged |
Emitted when the lightning is present state has changed.
| boost::signalslib::signal<void (bool)> makVrv::DtEnvironmentSettingsManager::signal_precipipationEnabled |
Emitted when the precipitation is enabled/disabled.
| boost::signalslib::signal<void (float)> makVrv::DtEnvironmentSettingsManager::signal_precitipationIntensityChanged |
Emitted when the precipitation intensity factor changes.
| boost::signalslib::signal<void (unsigned int)> makVrv::DtEnvironmentSettingsManager::signal_precipitationTypeChanged |
Emitted when the precipitation type changes.
| boost::signalslib::signal<void (int, int, int)> makVrv::DtEnvironmentSettingsManager::signal_timeOfDayChanged |
Emitted when the time of day changes.
| boost::signalslib::signal<void (int, int, int, int, int, int)> makVrv::DtEnvironmentSettingsManager::signal_dateAndTimeOfDayChanged |
Emitted when the date and time of day changes.
| boost::signalslib::signal<void (bool)> makVrv::DtEnvironmentSettingsManager::signal_useGlobalTimeZoneChanged |
Emitted when positioning with the sun with GMT time changes.
| boost::signalslib::signal<void (float)> makVrv::DtEnvironmentSettingsManager::signal_timeOfDayAdvancementSpeedChanged |
Emitted when the time of day advancement speed changes.
| boost::signalslib::signal<void (float)> makVrv::DtEnvironmentSettingsManager::signal_visibilityChanged |
Emitted when the visibility factor changes.
| boost::signalslib::signal<void (float)> makVrv::DtEnvironmentSettingsManager::signal_fogHeightChanged |
Emitted when the fog ceiling height changes.
| boost::signalslib::signal<void (const DtVector&)> makVrv::DtEnvironmentSettingsManager::signal_fogColorChanged |
Emitted when the fog color changes.
| boost::signalslib::signal<void(float)> makVrv::DtEnvironmentSettingsManager::signal_elevationalConfigurationRemoved |
Emitted when an elevational configuration is removed.
| boost::signalslib::signal<void(DtEnvironmentInterface::DtElevationalConfigurationRecord)> makVrv::DtEnvironmentSettingsManager::signal_elevationalConfigurationUpdatedOrAdded |
Emitted when an elevational configuration is updated/added.
| boost::signalslib::signal<void (int)> makVrv::DtEnvironmentSettingsManager::signal_swellStateChanged |
Emitted when the swell state changes.
| boost::signalslib::signal<void (int)> makVrv::DtEnvironmentSettingsManager::signal_swellStateDirectionChanged |
Emitted when the swell state direction changes.
| boost::signalslib::signal<void (int)> makVrv::DtEnvironmentSettingsManager::signal_seaStateChanged |
Emitted when the sea state changes.
| boost::signalslib::signal<void (int)> makVrv::DtEnvironmentSettingsManager::signal_seaStateDirectionChanged |
Emitted when the sea state direction changes.
| boost::signalslib::signal<void (int)> makVrv::DtEnvironmentSettingsManager::signal_windDrivenSeaStateEnabledChanged |
Emitted when the wind driven seas state enabled changes.
| boost::signalslib::signal<void (float)> makVrv::DtEnvironmentSettingsManager::signal_windFetchChanged |
Emitted when the ocean wind fetch changes.
| boost::signalslib::signal<void (float)> makVrv::DtEnvironmentSettingsManager::signal_seaChoppinessChanged |
Emitted when the sea choppiness changes.
| boost::signalslib::signal<void (float)> makVrv::DtEnvironmentSettingsManager::signal_underWaterVisibilityChanged |
Emitted when the underwater visibility changes.
| boost::signalslib::signal<void (float)> makVrv::DtEnvironmentSettingsManager::signal_surfaceTransparencyChanged |
Emitted when the surface transparency changes.
| boost::signalslib::signal<void (float)> makVrv::DtEnvironmentSettingsManager::signal_surgeDepthChanged |
Emitted when the surge depth changes.
| boost::signalslib::signal<void (float)> makVrv::DtEnvironmentSettingsManager::signal_ambientWaterTemperatureChanged |
Emitted when the ambient water temperature, in Kelvins, changes.
| boost::signalslib::signal<void (float)> makVrv::DtEnvironmentSettingsManager::signal_waterCurrentSpeedChanged |
Emitted when the water current speed changes.
| boost::signalslib::signal<void (float)> makVrv::DtEnvironmentSettingsManager::signal_waterCurrentDirectionChanged |
Emitted when the water current direction changes.
| boost::signalslib::signal<void (float)> makVrv::DtEnvironmentSettingsManager::signal_tidalOffsetChanged |
Emitted when the tidal offset changes.
| boost::signalslib::signal<void (bool)> makVrv::DtEnvironmentSettingsManager::signal_tidalDirectionChanged |
Emitted when the tidal direction changes.
| boost::signalslib::signal<void (unsigned int, float)> makVrv::DtEnvironmentSettingsManager::signal_thermoclineDepthChanged |
Emitted when the thermocline depth changes.
| boost::signalslib::signal<void (unsigned int, float)> makVrv::DtEnvironmentSettingsManager::signal_thermoclinePermeabilityChanged |
Emitted when the thermocline permeability changes.
| boost::signalslib::signal<void(float)> makVrv::DtEnvironmentSettingsManager::signal_groundSnowAccumulationChanged |
Emitted when the ground snow accumulation depth changes.
| boost::signalslib::signal<void(float)> makVrv::DtEnvironmentSettingsManager::signal_roadSnowAccumulationChanged |
Emitted when the road snow accumulation depth changes.
| boost::signalslib::signal<void(float)> makVrv::DtEnvironmentSettingsManager::signal_snowMinimumElevationChanged |
Emitted when the snow minimum elevation changes.
| boost::signalslib::signal<void(float)> makVrv::DtEnvironmentSettingsManager::signal_snowElevationTransitionChanged |
Emitted when the snow elevation transition changes.
| boost::signalslib::signal<void(float)> makVrv::DtEnvironmentSettingsManager::signal_groundRainAccumulationChanged |
Emitted when the ground rain accumulation depth changes.
|
protected |
|
protected |