Public Member Functions |
| | DtEnvironmentalStateManager (DtSimManager *simManager) |
| | constructor
|
| virtual | ~DtEnvironmentalStateManager () |
| | destructor
|
| 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.
|
| virtual DtVrfObject * | weatherObjectFor (const DtString &="") const |
| | Returns the weather object given the specified name (if blank uses global weather)
|
| virtual DtVrfObject * | weatherObjectFor (const DtVector &localPosition) const |
| | Returns the weather object of the highest priority at the given location.
|
| virtual DtVrfObject * | weatherObjectFor (const DtChord &localChord) const |
| | Returns the weather object of the first area hit by this chord.
|
virtual std::vector
< DtVrfObject * > | weatherObjectsFor (const DtChord &localChord) const |
| | Returns all weather objects that are intersected by this chord.
|
| virtual void | setWeatherState (const DtChangeWeatherCommand &command) |
| | Calls the appropriate setXXX() functions locally, depending on what is in the command.
|
| virtual void | setUseDayNightIlluminationModel (const DtChangeTimeOfDayCommand &command) |
| | The current time of day, specified by the number of seconds passed midnight.
|
| 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.
|
| virtual void | setTimeOfDayAdvancementSpeed (const DtChangeTimeOfDayCommand &command) |
| virtual double | timeOfDayAdvancementSpeed () const |
| virtual DtObjectType | globalEnvironmentObjectType () const |
|
| virtual void | setAirTurbidity (double factor, const DtString &weatherArea="") |
| | Individual Environmental effects accessors Air Turbidity.
|
| virtual double | airTurbidity (const DtString &weatherArea) const |
| | Individual Environmental effects accessors Air Turbidity.
|
| virtual double | airTurbidity (const DtVector &) const |
| | Individual Environmental effects accessors Air Turbidity.
|
|
| virtual void | setAmbientAirTemperature (double temp, const DtString &weatherArea="") |
| | Ambient Air Temperature (in celsius)
|
| virtual double | ambientAirTemperature (const DtString &weatherArea) const |
| | Ambient Air Temperature (in celsius)
|
| virtual double | ambientAirTemperature (const DtVector &) const |
| | Ambient Air Temperature (in celsius)
|
|
| virtual void | setCloudState (DtVrfWeatherCloudState current, const DtString &weatherArea="") |
| | Cloud state enumeration.
|
| virtual DtVrfWeatherCloudState | cloudState (const DtString &weatherArea) const |
| | Cloud state enumeration.
|
| virtual DtVrfWeatherCloudState | cloudState (const DtVector &) const |
| | Cloud state enumeration.
|
|
| virtual void | setPrecipitationIntensity (double factor, const DtString &weatherArea="") |
| | Precipitation Intensity.
|
| virtual double | precipitationIntensity (const DtString &weatherArea) const |
| | Precipitation Intensity.
|
| virtual double | precipitationIntensity (const DtVector &) const |
| | Precipitation Intensity.
|
|
| virtual void | setPrecipitationType (DtVrfWeatherPrecipitationType current, const DtString &weatherArea="") |
| | Weather state enumeration.
|
virtual
DtVrfWeatherPrecipitationType | precipitationType (const DtString &weatherArea) const |
| | Weather state enumeration.
|
virtual
DtVrfWeatherPrecipitationType | precipitationType (const DtVector &) const |
| | Weather state enumeration.
|
|
| virtual void | setWindSpeed (double value, const DtString &weatherArea="") |
| | Wind speed in m/s.
|
| virtual double | windSpeed (const DtString &weatherArea) const |
| | Wind speed in m/s.
|
| virtual double | windSpeed (const DtVector &) const |
| | Wind speed in m/s.
|
|
| virtual void | setWindDirection (double value, const DtString &weatherArea="") |
| | Wind direction in radians.
|
| virtual double | windDirection (const DtString &weatherArea) const |
| | Wind direction in radians.
|
| virtual double | windDirection (const DtVector &) const |
| | Wind direction in radians.
|
|
| virtual void | setVisibility (double value, const DtString &weatherArea="") |
| | Visibility in meters.
|
| virtual double | visibility (const DtString &weatherArea) const |
| | Visibility in meters.
|
| virtual double | visibility (const DtVector &) const |
| | Visibility in meters.
|
| virtual double | visibility (const DtChord &) const |
| | Supply a chord in local coordinates – this will get the visibility through a particular weather area or simply use global if it crosses no area.
|
|
| virtual double | illumination (const DtVector &localPosition) const |
| | Illumination in percentage (0 to 1.0) at a particular location.
|
|
| virtual void | setPriority (int p, const DtString &weatherArea="") |
| | Sets the priority of the weather area. This value is not used for global weather.
|
| virtual int | priority (const DtString &weatherArea) const |
| | Sets the priority of the weather area. This value is not used for global weather.
|
| virtual int | priority (const DtVector &) const |
| | Sets the priority of the weather area. This value is not used for global weather.
|
|
| virtual void | setUnderwaterVisibility (double underwaterVisibility, const DtString &weatherArea="") |
| | Underwater visibility in meters.
|
| virtual double | underwaterVisibility (const DtString &weatherArea) const |
| | Underwater visibility in meters.
|
| virtual double | underwaterVisibility (const DtVector &) const |
| | Underwater visibility in meters.
|
|
| virtual void | setSurfaceTransparency (double transparency, const DtString &weatherArea="") |
| | Surface transparency (percentage)
|
| virtual double | surfaceTransparency (const DtString &weatherArea) const |
| | Surface transparency (percentage)
|
| virtual double | surfaceTransparency (const DtVector &) const |
| | Surface transparency (percentage)
|
|
| virtual void | setWaterCurrentSpeed (double waterCurrentSpeed, const DtString &weatherArea="") |
| | Water velocity in meters per second.
|
| virtual double | waterCurrentSpeed (const DtString &weatherArea) const |
| | Water velocity in meters per second.
|
| virtual double | waterCurrentSpeed (const DtVector &) const |
| | Water velocity in meters per second.
|
|
| virtual void | setWaterCurrentDirection (double waterCurrentDirection, const DtString &weatherArea="") |
| | Water direction in radians clockwise from 0 (north)
|
| virtual double | waterCurrentDirection (const DtString &weatherArea) const |
| | Water direction in radians clockwise from 0 (north)
|
| virtual double | waterCurrentDirection (const DtVector &) const |
| | Water direction in radians clockwise from 0 (north)
|
|
| virtual void | setAmbientWaterTemperature (double waterTemperature, const DtString &weatherArea="") |
| | Ambient water temperature in Celsius.
|
| virtual double | ambientWaterTemperature (const DtString &weatherArea) const |
| | Ambient water temperature in Celsius.
|
| virtual double | ambientWaterTemperature (const DtVector &) const |
| | Ambient water temperature in Celsius.
|
|
| virtual void | setTidalOffset (double tidalOffset, const DtString &weatherArea="") |
| | Tidal offset in meters from the water polygons in the database.
|
| virtual double | tidalOffset (const DtString &weatherArea) const |
| | Tidal offset in meters from the water polygons in the database.
|
| virtual double | tidalOffset (const DtVector &) const |
| | Tidal offset in meters from the water polygons in the database.
|
|
| virtual void | setUseDayNightIlluminationModel (bool) |
| | If false uses GMT as the position of sunrise/sunset (default) rather than entity position.
|
| virtual bool | useDayNightIlluminationModel () const |
| | If false uses GMT as the position of sunrise/sunset (default) rather than entity position.
|
|
| virtual void | setTidalDirection (bool tidalDirection, const DtString &weatherArea="") |
| | Tidal direction where true represents the tide going in and false represents the tide going out.
|
| virtual bool | tidalDirection (const DtString &weatherArea) const |
| | Tidal direction where true represents the tide going in and false represents the tide going out.
|
| virtual bool | tidalDirection (const DtVector &) const |
| | Tidal direction where true represents the tide going in and false represents the tide going out.
|
|
| virtual void | setSwellState (unsigned int state, const DtString &weatherArea="") |
| | Swell state according to the Douglas Sea Scale (integer 0 - 9)
|
| virtual unsigned int | swellState (const DtString &weatherArea) const |
| | Swell state according to the Douglas Sea Scale (integer 0 - 9)
|
| virtual unsigned int | swellState (const DtVector &) const |
| | Swell state according to the Douglas Sea Scale (integer 0 - 9)
|
|
| virtual void | setSwellStateDirection (double direction, const DtString &weatherArea="") |
| | Swell direction in in radians clockwise from 0 (north)
|
| virtual double | swellStateDirection (const DtString &weatherArea) const |
| | Swell direction in in radians clockwise from 0 (north)
|
| virtual double | swellStateDirection (const DtVector &) const |
| | Swell direction in in radians clockwise from 0 (north)
|
|
| virtual void | setSeaState (unsigned int state, const DtString &weatherArea="") |
| | Swell state according to the Douglas Sea Scale (integer 0 - 9)
|
| virtual unsigned int | seaState (const DtString &weatherArea) const |
| | Swell state according to the Douglas Sea Scale (integer 0 - 9)
|
| virtual unsigned int | seaState (const DtVector &) const |
| | Swell state according to the Douglas Sea Scale (integer 0 - 9)
|
|
| virtual void | setSeaStateDirection (double direction, const DtString &weatherArea="") |
| | Swell direction in in radians clockwise from 0 (north)
|
| virtual double | seaStateDirection (const DtString &weatherArea) const |
| | Swell direction in in radians clockwise from 0 (north)
|
| virtual double | seaStateDirection (const DtVector &) const |
| | Swell direction in in radians clockwise from 0 (north)
|
|
| virtual void | setWindDrivenSeaStateEnabled (bool b, const DtString &weatherArea="") |
| | Determines if the sea state is set based on the wind.
|
| virtual bool | windDrivenSeaStateEnabled (const DtString &weatherArea) const |
| | Determines if the sea state is set based on the wind.
|
| virtual bool | windDrivenSeaStateEnabled (const DtVector &) const |
| | Determines if the sea state is set based on the wind.
|
|
| virtual void | setChoppiness (double choppiness, const DtString &weatherArea="") |
| | Wave choppiness (0..1)
|
| virtual double | choppiness (const DtString &weatherArea) const |
| | Wave choppiness (0..1)
|
| virtual double | choppiness (const DtVector &) const |
| | Wave choppiness (0..1)
|
|
| virtual void | setSurgeDepth (double depth, const DtString &weatherArea="") |
| | Surge depth (meters)
|
| virtual double | surgeDepth (const DtString &weatherArea) const |
| | Surge depth (meters)
|
| virtual double | surgeDepth (const DtVector &) const |
| | Surge depth (meters)
|
|
| virtual void | setThermoclineLayer1Depth (double depth, const DtString &weatherArea="") |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual double | thermoclineLayer1Depth (const DtString &weatherArea) const |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual double | thermoclineLayer1Depth (const DtVector &) const |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual void | setThermoclineLayer1Permeability (double depth, const DtString &weatherArea="") |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual double | thermoclineLayer1Permeability (const DtString &weatherArea) const |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual double | thermoclineLayer1Permeability (const DtVector &) const |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual void | setThermoclineLayer2Depth (double depth, const DtString &weatherArea="") |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual double | thermoclineLayer2Depth (const DtString &weatherArea) const |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual double | thermoclineLayer2Depth (const DtVector &) const |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual void | setThermoclineLayer2Permeability (double depth, const DtString &weatherArea="") |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual double | thermoclineLayer2Permeability (const DtString &weatherArea) const |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual double | thermoclineLayer2Permeability (const DtVector &) const |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual void | setThermoclineLayer3Depth (double depth, const DtString &weatherArea="") |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual double | thermoclineLayer3Depth (const DtString &weatherArea) const |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual double | thermoclineLayer3Depth (const DtVector &) const |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual void | setThermoclineLayer3Permeability (double depth, const DtString &weatherArea="") |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual double | thermoclineLayer3Permeability (const DtString &weatherArea) const |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual double | thermoclineLayer3Permeability (const DtVector &) const |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual void | setThermoclineLayer4Depth (double depth, const DtString &weatherArea="") |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual double | thermoclineLayer4Depth (const DtString &weatherArea) const |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual double | thermoclineLayer4Depth (const DtVector &) const |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual void | setThermoclineLayer4Permeability (double depth, const DtString &weatherArea="") |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual double | thermoclineLayer4Permeability (const DtString &weatherArea) const |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual double | thermoclineLayer4Permeability (const DtVector &) const |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual void | setThermoclineLayer5Depth (double depth, const DtString &weatherArea="") |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual double | thermoclineLayer5Depth (const DtString &weatherArea) const |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual double | thermoclineLayer5Depth (const DtVector &) const |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual void | setThermoclineLayer5Permeability (double depth, const DtString &weatherArea="") |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual double | thermoclineLayer5Permeability (const DtString &weatherArea) const |
| | Thermocline depth (in meters) and permeability (0..1).
|
| virtual double | thermoclineLayer5Permeability (const DtVector &) const |
| | Thermocline depth (in meters) and permeability (0..1).
|