|
| | DtEnvironmentalStateManager (DtSimManager *simManager) |
| | constructor More...
|
| |
| virtual | ~DtEnvironmentalStateManager () |
| | destructor More...
|
| |
| virtual bool | init () |
| |
| virtual void | tick () |
| |
| virtual DtSimManager * | simManager () |
| |
| virtual bool | globalEnvironmentSimulatedLocally () const |
| |
| virtual bool | startEnvironmentSimulationLocally () |
| | Starts simulating the global environment locally on this simulation engine. More...
|
| |
| virtual DtSharedVrfObjectReference | weatherObjectFor (const DtUUID &=DtUUID::nullUUID(), bool *isGlobal=0) const |
| | Returns the weather object given the specified name (if blank uses global weather) More...
|
| |
| virtual DtSharedVrfObjectReference | weatherObjectFor (const DtVector &localPosition, bool *isGlobal=0) const |
| | Returns the weather object of the highest priority at the given location. More...
|
| |
virtual std::vector
< DtSharedVrfObjectReference > | weatherObjectsFor (const DtChord &localChord) const |
| | Returns all weather objects that are intersected by this chord. More...
|
| |
| virtual DtSharedVrfObjectReference | weatherObjectFor (const DtChord &localChord, bool *isGlobal=0) const |
| | Returns the weather object of the first area hit by this chord. More...
|
| |
| virtual DtSharedVrfObjectReference | cloudLayerFor (const DtUUID &) const |
| | Returns the cloud layer object given the specified name (if blank uses global weather) More...
|
| |
| virtual DtSharedVrfObjectReference | cloudLayerFor (const DtVector &localPosition) const |
| | Returns the cloud layer at the given location. if multiple at the same location returns the first hit. More...
|
| |
| virtual DtSharedVrfObjectReference | cloudLayerFor (const DtChord &localChord) const |
| | Returns the cloud layer object of the first area hit by this chord. More...
|
| |
virtual std::vector
< DtSharedVrfObjectReference > | cloudLayersFor (const DtChord &localChord) const |
| | Returns all cloud layer objects that are intersected by this chord. More...
|
| |
virtual std::vector
< DtSharedVrfObjectReference > | cloudLayers () const |
| | Returns a vector of all the cloud layers. More...
|
| |
| virtual void | setCloudType (CloudLayerCloudType, const DtUUID &cloudLayer) |
| | Individual cloud layer mutators/accessors. More...
|
| |
| virtual CloudLayerCloudType | cloudType (const DtUUID &cloudLayer) const |
| |
| virtual CloudLayerCloudType | cloudType (const DtVector &cloudLayer) const |
| |
| virtual void | setCloudAltitude (double, const DtUUID &cloudLayer) |
| |
| virtual double | cloudAltitude (const DtUUID &cloudLayer) const |
| |
| virtual double | cloudAltitude (const DtVector &cloudLayer) const |
| |
| virtual void | setCloudThickness (double, const DtUUID &cloudLayer) |
| |
| virtual double | cloudThickness (const DtUUID &cloudLayer) const |
| |
| virtual double | cloudThickness (const DtVector &cloudLayer) const |
| |
| virtual void | setCornerRadius (double, const DtUUID &cloudLayer) |
| |
| virtual double | cornerRadius (const DtUUID &cloudLayer) const |
| |
| virtual double | cornerRadius (const DtVector &cloudLayer) const |
| |
| virtual void | setCloudDensity (double, const DtUUID &cloudLayer) |
| |
| virtual double | cloudDensity (const DtUUID &cloudLayer) const |
| |
| virtual double | cloudDensity (const DtVector &cloudLayer) const |
| |
| virtual void | setCloudBox (const DtVector ¢er, double width, double length, const DtUUID &cloudLayer) |
| |
| virtual void | cloudBox (const DtUUID &cloudLayer, DtVector ¢er, double &width, double &length) const |
| |
| virtual void | cloudBox (const DtVector &cloudLayer, DtVector ¢er, double &width, double &length) const |
| |
| virtual void | setCloudLayerState (const DtChangeCloudLayerCommand &command) |
| | Calls the appropriate setXXX() functions locally, depending on what is in the command. More...
|
| |
| virtual double | illumination (const DtVector &localPosition) const |
| | Illumination in percentage (0 to 1.0) at a particular location. More...
|
| |
| virtual double | expectedIllumination (const DtVector &localPosition, double dateAndTime) const |
| | The expected illumination in percentage (0 to 1.0) from the sun at a particular location and time. More...
|
| |
| virtual void | setWeatherState (const DtChangeWeatherCommand &command) |
| | Calls the appropriate setXXX() functions locally, depending on what is in the command. More...
|
| |
| virtual void | setUseDayNightIlluminationModel (const DtChangeTimeOfDayCommand &command) |
| | The current time of day, specified by the number of seconds passed midnight. More...
|
| |
| virtual void | setDateAndTimeOfDay (double secondsPastMidnight) |
| |
| virtual void | setDateAndTimeOfDay (const DtChangeTimeOfDayCommand &command) |
| |
| virtual double | timeOfDay () const |
| |
| virtual double | dateAndTimeOfDay () const |
| |
| virtual void | setTimeOfDayAdvancementSpeed (double speed) |
| | The current time of day advancement speed. More...
|
| |
| virtual void | setTimeOfDayAdvancementSpeed (const DtChangeTimeOfDayCommand &command) |
| |
| virtual double | timeOfDayAdvancementSpeed () const |
| |
| virtual DtObjectType | globalEnvironmentObjectType () const |
| |
| virtual void | computeSoilWeatherMobilityModifiers (const DtVector &location, const DtString &soilType, double &snowEffectFraction, DtString &alternateSoil, double &alternateSoilFraction, double &tractionModifier) const |
| | This function computes a set of modifiers for a given soil based on weather conditions at the given location, for the purposes of changing ground vehicle mobility. More...
|
| |
| virtual void | createGlobalEnvironmentObject () |
| | Creates a new locally simulated VRF object with the type returned from glovalEnvironmentObjectType(). More...
|
| |
|
| virtual void | setAirTurbidity (double factor, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | For weather. More...
|
| |
| virtual double | airTurbidity (const DtUUID &weatherArea) const |
| |
| virtual double | airTurbidity (const DtVector &) const |
| |
|
| virtual void | setAmbientAirTemperature (double temp, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Ambient Air Temperature (in Celsius) More...
|
| |
| virtual double | ambientAirTemperature (const DtUUID &weatherArea) const |
| |
| virtual double | ambientAirTemperature (const DtVector &) const |
| |
| virtual double | ambientAirTemperature (const DtVector &, double defaultMslTemperature) const |
| |
|
| virtual double | temperatureAtAltitude (double altitude, const double defaultMslTemperature=15.04) const |
| | Temperature at altitude (in Celcius) Looks up weather at lat-lon to get assumed MSL temperature; Uses default MSL temp (standard atmosphere) if no temperature is available from weather object. More...
|
| |
|
| virtual double | pressureAtAltitude (double altitude, const double temperatureAtAltitudeInCelcius, const double defaultMslPressure=0.7600) const |
| | Looks up weather at lat-lon to get assumed MSL pressure; uses default MSL pressure if no value is available from a weather object. More...
|
| |
|
| virtual void | setCloudState (DtVrfWeatherCloudState current, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Cloud state enumeration. More...
|
| |
| virtual DtVrfWeatherCloudState | cloudState (const DtUUID &weatherArea) const |
| |
| virtual DtVrfWeatherCloudState | cloudState (const DtVector &) const |
| |
|
| virtual void | setPrecipitationIntensity (double factor, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Precipitation Intensity. More...
|
| |
| virtual double | precipitationIntensity (const DtUUID &weatherArea) const |
| |
| virtual double | precipitationIntensity (const DtVector &) const |
| |
|
| virtual double | precipitationIntensity (const DtChord &) const |
| | Supply a chord in local coordinates – this will get the average precipitation intensity through a particular weather area or simply use global if it crosses no area. More...
|
| |
|
| virtual void | setPrecipitationType (DtVrfWeatherPrecipitationType current, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Weather state enumeration. More...
|
| |
virtual
DtVrfWeatherPrecipitationType | precipitationType (const DtUUID &weatherArea) const |
| |
virtual
DtVrfWeatherPrecipitationType | precipitationType (const DtVector &) const |
| |
|
| virtual void | setWindSpeed (double value, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Wind speed in m/s. More...
|
| |
| virtual double | windSpeed (const DtUUID &weatherArea) const |
| |
| virtual double | windSpeed (const DtVector &) const |
| |
|
| virtual void | setWindDirection (double value, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Wind direction in radians. More...
|
| |
| virtual double | windDirection (const DtUUID &weatherArea) const |
| |
| virtual double | windDirection (const DtVector &) const |
| |
|
| virtual void | setVisibility (double value, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Visibility in meters. More...
|
| |
| virtual double | visibility (const DtUUID &weatherArea) const |
| |
| virtual double | visibility (const DtVector &) const |
| |
| virtual double | visibility (const DtChord &) const |
| | Supply a chord in local coordinates. More...
|
| |
|
| virtual void | setPriority (int p, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Sets the priority of the weather area. This value is not used for global weather. More...
|
| |
| virtual int | priority (const DtUUID &weatherArea) const |
| |
| virtual int | priority (const DtVector &) const |
| |
|
| virtual void | setUnderwaterVisibility (double underwaterVisibility, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Underwater visibility in meters. More...
|
| |
| virtual double | underwaterVisibility (const DtUUID &weatherArea) const |
| |
| virtual double | underwaterVisibility (const DtVector &) const |
| |
|
| virtual void | setSurfaceTransparency (double transparency, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Surface transparency (percentage) More...
|
| |
| virtual double | surfaceTransparency (const DtUUID &weatherArea) const |
| |
| virtual double | surfaceTransparency (const DtVector &) const |
| |
|
| virtual void | setWaterCurrentSpeed (double waterCurrentSpeed, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Water velocity in meters per second. More...
|
| |
| virtual double | waterCurrentSpeed (const DtUUID &weatherArea) const |
| |
| virtual double | waterCurrentSpeed (const DtVector &) const |
| |
|
| virtual void | setWaterCurrentDirection (double waterCurrentDirection, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Water direction in radians clockwise from 0 (north) More...
|
| |
| virtual double | waterCurrentDirection (const DtUUID &weatherArea) const |
| |
| virtual double | waterCurrentDirection (const DtVector &) const |
| |
|
| virtual void | setAmbientWaterTemperature (double waterTemperature, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Ambient water temperature in Celsius. More...
|
| |
| virtual double | ambientWaterTemperature (const DtUUID &weatherArea) const |
| |
| virtual double | ambientWaterTemperature (const DtVector &) const |
| |
|
| virtual void | setTidalOffset (double tidalOffset, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Tidal offset in meters from the water polygons in the database. More...
|
| |
| virtual double | tidalOffset (const DtUUID &weatherArea) const |
| |
| virtual double | tidalOffset (const DtVector &) const |
| |
|
| virtual void | setUseDayNightIlluminationModel (bool) |
| | If false uses GMT as the position of sunrise/sunset (default) rather than entity position. More...
|
| |
| virtual bool | useDayNightIlluminationModel () const |
| |
|
| virtual void | setTidalDirection (bool tidalDirection, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Tidal direction where true represents the tide going in and false represents the tide going out. More...
|
| |
| virtual bool | tidalDirection (const DtUUID &weatherArea) const |
| |
| virtual bool | tidalDirection (const DtVector &) const |
| |
|
| virtual void | setSwellState (unsigned int state, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Swell state according to the Douglas Sea Scale (integer 0 - 9) More...
|
| |
| virtual unsigned int | swellState (const DtUUID &weatherArea) const |
| |
| virtual unsigned int | swellState (const DtVector &) const |
| |
|
| virtual void | setSwellStateDirection (double direction, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Swell direction in in radians clockwise from 0 (north) More...
|
| |
| virtual double | swellStateDirection (const DtUUID &weatherArea) const |
| |
| virtual double | swellStateDirection (const DtVector &) const |
| |
|
| virtual void | setSeaState (unsigned int state, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Sea state according to the Douglas Sea Scale (integer 0 - 9) More...
|
| |
| virtual unsigned int | seaState (const DtUUID &weatherArea) const |
| |
| virtual unsigned int | seaState (const DtVector &) const |
| |
|
| virtual void | setSeaStateDirection (double direction, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Sea state direction in in radians clockwise from 0 (north) More...
|
| |
| virtual double | seaStateDirection (const DtUUID &weatherArea) const |
| |
| virtual double | seaStateDirection (const DtVector &) const |
| |
|
| virtual void | setWindDrivenSeaStateEnabled (bool b, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Determines if the sea state is set based on the wind. More...
|
| |
| virtual bool | windDrivenSeaStateEnabled (const DtUUID &weatherArea) const |
| |
| virtual bool | windDrivenSeaStateEnabled (const DtVector &) const |
| |
|
| virtual void | setChoppiness (double choppiness, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Wave choppiness (0..1) More...
|
| |
| virtual double | choppiness (const DtUUID &weatherArea) const |
| |
| virtual double | choppiness (const DtVector &) const |
| |
|
| virtual void | setSurgeDepth (double depth, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Surge depth (meters) More...
|
| |
| virtual double | surgeDepth (const DtUUID &weatherArea) const |
| |
| virtual double | surgeDepth (const DtVector &) const |
| |
|
| virtual void | setFogHeight (double depth, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Fog height (meters) More...
|
| |
| virtual double | fogHeight (const DtUUID &weatherArea) const |
| |
| virtual double | fogHeight (const DtVector &) const |
| |
|
| virtual void | setFogColor (const DtVector &color, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Fog color (x = red, y = green, z = blue) More...
|
| |
| virtual DtVector | fogColor (const DtUUID &weatherArea) const |
| |
| virtual DtVector | fogColor (const DtVector &) const |
| |
|
| virtual void | setSnowAccumulation (double snow, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Snow Accumulation (meters) More...
|
| |
| virtual double | snowAccumulation (const DtUUID &weatherArea) const |
| |
| virtual double | snowAccumulation (const DtVector &) const |
| |
|
| virtual void | setSnowMinimumAltitude (double snow, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Snow Minimum Altitude (meters) More...
|
| |
| virtual double | snowMinimumAltitude (const DtUUID &weatherArea) const |
| |
| virtual double | snowMinimumAltitude (const DtVector &) const |
| |
|
| virtual void | setSnowRoadAccumulation (double snow, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Snow Road Accumulation (meters) More...
|
| |
| virtual double | snowRoadAccumulation (const DtUUID &weatherArea) const |
| |
| virtual double | snowRoadAccumulation (const DtVector &) const |
| |
|
| virtual void | setRainAccumulation (double rain, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Rain Accumulation (meters) More...
|
| |
| virtual double | rainAccumulation (const DtUUID &weatherArea) const |
| |
| virtual double | rainAccumulation (const DtVector &) const |
| |
|
| virtual void | setThermoclineLayer1Depth (double depth, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| | Thermocline depth (in meters) and permeability (0..1). More...
|
| |
| virtual double | thermoclineLayer1Depth (const DtUUID &weatherArea) const |
| |
| virtual double | thermoclineLayer1Depth (const DtVector &) const |
| |
| virtual void | setThermoclineLayer1Permeability (double depth, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| |
| virtual double | thermoclineLayer1Permeability (const DtUUID &weatherArea) const |
| |
| virtual double | thermoclineLayer1Permeability (const DtVector &) const |
| |
| virtual void | setThermoclineLayer2Depth (double depth, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| |
| virtual double | thermoclineLayer2Depth (const DtUUID &weatherArea) const |
| |
| virtual double | thermoclineLayer2Depth (const DtVector &) const |
| |
| virtual void | setThermoclineLayer2Permeability (double depth, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| |
| virtual double | thermoclineLayer2Permeability (const DtUUID &weatherArea) const |
| |
| virtual double | thermoclineLayer2Permeability (const DtVector &) const |
| |
| virtual void | setThermoclineLayer3Depth (double depth, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| |
| virtual double | thermoclineLayer3Depth (const DtUUID &weatherArea) const |
| |
| virtual double | thermoclineLayer3Depth (const DtVector &) const |
| |
| virtual void | setThermoclineLayer3Permeability (double depth, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| |
| virtual double | thermoclineLayer3Permeability (const DtUUID &weatherArea) const |
| |
| virtual double | thermoclineLayer3Permeability (const DtVector &) const |
| |
| virtual void | setThermoclineLayer4Depth (double depth, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| |
| virtual double | thermoclineLayer4Depth (const DtUUID &weatherArea) const |
| |
| virtual double | thermoclineLayer4Depth (const DtVector &) const |
| |
| virtual void | setThermoclineLayer4Permeability (double depth, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| |
| virtual double | thermoclineLayer4Permeability (const DtUUID &weatherArea) const |
| |
| virtual double | thermoclineLayer4Permeability (const DtVector &) const |
| |
| virtual void | setThermoclineLayer5Depth (double depth, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| |
| virtual double | thermoclineLayer5Depth (const DtUUID &weatherArea) const |
| |
| virtual double | thermoclineLayer5Depth (const DtVector &) const |
| |
| virtual void | setThermoclineLayer5Permeability (double depth, const DtUUID &weatherArea=DtUUID::nullUUID()) |
| |
| virtual double | thermoclineLayer5Permeability (const DtUUID &weatherArea) const |
| |
| virtual double | thermoclineLayer5Permeability (const DtVector &) const |
| |
|
| virtual DtString | deepWaterSoilName () const |
| |
| virtual void | setDeepWaterSoilName (const DtString &) |
| |
|
| virtual DtString | shallowWaterSoilName () const |
| |
| virtual void | setShallowWaterSoilName (const DtString &) |
| |
|
| virtual DtString | waterySoilName () const |
| |
| virtual void | setWaterySoilName (const DtString &) |
| |
|
| virtual DtString | drySoilName () const |
| |
| virtual void | setDrySoilName (const DtString &) |
| |
|
| virtual DtString | roadSoilName () const |
| |
| virtual void | setRoadSoilName (const DtString &) |
| |
|
| virtual DtString | snowSoilName () const |
| |
| virtual void | setSnowSoilName (const DtString &) |
| |
|
| virtual DtString | iceSoilName () const |
| |
| virtual void | setIceSoilName (const DtString &) |
| |
|
| virtual double | deepSnowDepth () const |
| |
| virtual void | setDeepSnowDepth (const double) |
| |
|
| virtual double | saturationWaterDepth () const |
| |
| virtual void | setSaturationWaterDepth (const double) |
| |
|
| virtual double | waterSlideDepth () const |
| |
| virtual void | setWaterSlideDepth (const double) |
| |
|
| virtual double | waterSlideFactor () const |
| |
| virtual void | setWaterSlideFactor (const double) |
| |
|
| virtual double | hardFreezeTemperature () const |
| |
| virtual void | setHardFreezeTemperature (const double) |
| |