|
| | MyWeatherStateProvider (const DtSimManager *simManager) |
| |
| virtual | ~MyWeatherStateProvider () |
| |
| virtual double | airTemperature (const DtVector &localPosition) const |
| | Air temperature in degrees C at the given 3D location. More...
|
| |
| | DtWeatherStateProvider (const DtSimManager *simManager) |
| | constructor More...
|
| |
| virtual | ~DtWeatherStateProvider () |
| | destructor More...
|
| |
| virtual bool | init () |
| | This is called by the environmental state manager immediately after it creates a weather state provider. More...
|
| |
| virtual void | tick () |
| | Called by DtEnvironmentalStateManager::tick(). More...
|
| |
| virtual const DtSimManager * | simManager () const |
| |
virtual std::vector
< CloudStateSegment > | cloudLayers (const DtVector &localPosition) const |
| | Provides descriptions of each cloud layer. More...
|
| |
| virtual double | airVisibility (const DtVector &localPosition) const |
| | Visibility of just the air (without clouds or precipitation). More...
|
| |
| virtual double | visibility (const DtVector &localPosition) const |
| | Visibility in meters. More...
|
| |
| virtual int | visibilityObscurant (const DtVector &localPosition) const |
| | Visibility obscurant at the given position. More...
|
| |
| virtual double | averageVisibilityOnChord (const DtChord &path) const |
| | Average visibility value along the given chord. More...
|
| |
| virtual double | airTemperatureAtAltitude (const double mslTemperature, const double altitude) const |
| | Air temperature at an altitude, given the MSL temperature. More...
|
| |
| virtual double | mslTemperatureFromAirTemperatureAtAltitude (const double airTemperature, const double altitude) const |
| | Return MSL temperature, given an air temperature at a specific altitude. More...
|
| |
| virtual double | airPressureAtAltitude (const double mslPressure, const double altitude, const double mslTemperature) const |
| | Air pressure at an altitude, given the MSL pressure and MSL temperature. More...
|
| |
| virtual double | airPressure (const DtVector &localPosition) const |
| | Air pressure at the given 3D location. More...
|
| |
| virtual double | mslPressureFromAirPressureAtAltitude (const double airPressure, const double altitude, const double mslTemperature) const |
| | Return MSL temperature, given an air temperature at a specific altitude and the msl temperature. More...
|
| |
| virtual double | airTemperatureAltitude (const DtVector &localPosition) const |
| | Air temperature altitude in meters. More...
|
| |
| virtual double | airPressureAltitude (const DtVector &localPosition) const |
| | Air pressure altitude in meters. More...
|
| |
| virtual bool | airTemperatureAltitudeIsSeaLevel (const DtVector &localPosition) const |
| | Air temperature altitude is sea level flag. More...
|
| |
| virtual bool | airPressureAltitudeIsSeaLevel (const DtVector &localPosition) const |
| | Air pressure altitude is sea level flag. More...
|
| |
| virtual double | humidity (const DtVector &localPosition) const |
| | Humidity in ppmv. More...
|
| |
| virtual double | relativeHumidity (const DtVector &localPosition) const |
| | Percentage humidity. More...
|
| |
| virtual double | windSpeed (const DtVector &localPosition) const |
| | Wind speed in mps. More...
|
| |
| virtual double | windDirection (const DtVector &localPosition) const |
| | Wind heading in radians. More...
|
| |
| virtual bool | windSpeedAndDirectionAtAltitude (const DtVector &localPosition, double altMSL, double &windSpeed, double &windDiection) const |
| | Gets both wind speed and direction. More...
|
| |
| virtual bool | visibilityAndObscurantAtAltitude (const DtVector &localPosition, double altMSL, double &visibility, int &obscurant) const |
| | Gets both visibility and obscurant. More...
|
| |
| virtual DtVrfTurbulenceLevel | airTurbulence (const DtVector &localPosition) const |
| | Turbulence level. More...
|
| |
| virtual void | lineQueryAtmosphericState (const DtVector &startPosition, const DtVector &endPosition, double minSegmentLength, size_t maxSegmentCount, std::vector< AtmosphericStateSegment > &atmosphericStateSegments) const |
| | Query the atmospheric state along a line. More...
|
| |
| virtual void | lineQueryCloudState (const DtVector &startPosition, const DtVector &endPosition, std::vector< CloudStateSegment > &cloudStateSegments, double tolerance=5.0) const |
| | Query the cloud layers state along a line. More...
|
| |
| virtual bool | lightningPresent (const DtVector &localPosition) const |
| | Returns whether lightning is present. More...
|
| |
| virtual double | precipitationIntensity (const DtVector &localPosition) const |
| | Returns mm/hr precipitation. More...
|
| |
| virtual double | averagePrecipitationIntensity (const DtChord &) const |
| |
virtual
DtVrfWeatherPrecipitationType | precipitationType (const DtVector &localPosition) const |
| |
| virtual double | snowAccumulationDepth (const DtVector &localPosition) const |
| |
| virtual double | snowDepthOnRoads (const DtVector &localPosition) const |
| |
| virtual double | rainAccumulationDepth (const DtVector &localPosition) const |
| |
| virtual void | lineQueryPrecipitationState (const DtVector &startPosition, const DtVector &endPosition, std::vector< PrecipitationStateSegment > &precipitationStateSegments, double tolerance=5.0) const |
| | Query the precipitation state along a line. More...
|
| |
| virtual double | illuminationFromSky (const DtVector &localPosition) const |
| | Illumination only from sun, moon, and stars. More...
|
| |
| virtual double | illuminationAtTime (const DtVector &localPosition, const double dateTime) const |
| | This version of the illumination function calculates the light from sun/moon/stars at an arbitrary date-time. More...
|
| |
| virtual double | underwaterVisibility (const DtVector &localPosition) const |
| | Visibility distance in meters. More...
|
| |
| virtual double | averageWaterVisibilityOnChord (const DtChord &path) const |
| | Provides a visibility value that can be used for sensing along the chord (e.g., computing loss of contrast). More...
|
| |
| virtual double | waterCurrentSpeed (const DtVector &localPosition) const |
| |
| virtual double | waterCurrentDirection (const DtVector &localPosition) const |
| |
| virtual double | waterTemperature (const DtVector &localPosition) const |
| | Heading in radians. More...
|
| |
| virtual double | tidalOffset (const DtVector &localPosition) const |
| | Tidal offset in meters above the water surface in the database. More...
|
| |
| virtual bool | tidalDirection (const DtVector &localPosition) const |
| | If T, tide is giong in; F = tide is going out. More...
|
| |
| virtual unsigned int | swellState (const DtVector &localPosition) const |
| | Swell state according to the Douglas Sea Scale (integer 0 - 9) More...
|
| |
| virtual double | swellDirection (const DtVector &localPosition) const |
| |
| virtual unsigned int | seaState (const DtVector &localPosition) const |
| | Heading in radians. More...
|
| |
| virtual double | seaDirection (const DtVector &localPosition) const |
| |
| virtual double | choppiness (const DtVector &localPosition) const |
| | Heading in radians. More...
|
| |
| virtual double | surgeDepth (const DtVector &localPosition) const |
| | Meters. More...
|
| |
| virtual double | thermoclineLayer1Depth (const DtVector &localPosition) const |
| | Depths are the depth of the top of the thermocline. More...
|
| |
| virtual double | thermoclineLayer1Permeability (const DtVector &localPosition) const |
| |
| virtual double | thermoclineLayer2Depth (const DtVector &localPosition) const |
| |
| virtual double | thermoclineLayer2Permeability (const DtVector &localPosition) const |
| |
| virtual double | thermoclineLayer3Depth (const DtVector &localPosition) const |
| |
| virtual double | thermoclineLayer3Permeability (const DtVector &localPosition) const |
| |
| virtual double | thermoclineLayer4Depth (const DtVector &localPosition) const |
| |
| virtual double | thermoclineLayer4Permeability (const DtVector &localPosition) const |
| |
| virtual double | thermoclineLayer5Depth (const DtVector &localPosition) const |
| |
| virtual double | thermoclineLayer5Permeability (const DtVector &localPosition) const |
| |
|
| std::vector< DtPoint > | chordIntersectsPointsPrecipitationAreas (const DtVector &startPosition, const DtVector &endPosition, const std::vector< DtSharedVrfObjectReference > &weatherObjects) const |
| | Check if a chord intersects a list of weather objects Return an ordered vector of intersection points along the chord The points are ordered based on the distance to the chord starting point. More...
|
| |
| void | setChordPrecipitationStateWeatherObjects (const std::vector< DtPoint > &chordIntersectingPoints, const std::vector< DtSharedVrfObjectReference > &weatherObjects, std::vector< PrecipitationStateSegment > &precipitationStateSegments, std::vector< DtChord > &globalWeatherChordSegments, double tolerance=5.0) const |
| | Set the precipitation data for chords segments intersecting with the weather objects. More...
|
| |
| void | setChordPrecipitationStateGlobalWeather (const DtPoint &startPosition, const std::vector< DtChord > &globalWeatherChordSegments, const std::vector< DtSharedVrfObjectReference > &weatherObjects, std::vector< PrecipitationStateSegment > &precipitationStateSegments) const |
| | Set the precipitation data for chords segments falling into the global weather area. More...
|
| |
| std::vector< DtPoint > | chordIntersectsPointsCloudLayers (const DtVector &startPosition, const DtVector &endPosition, const std::vector< DtSharedVrfObjectReference > &weatherObjects) const |
| | Check if a chord intersects the cloud layers within a list of weather objects Return an ordered vector of intersection points along the chord The points are ordered based on the distance to the chord starting point. More...
|
| |
| void | setChordCloudStateWeatherObjects (const std::vector< DtPoint > &chordIntersectingPoints, const std::vector< DtSharedVrfObjectReference > &weatherObjects, std::vector< CloudStateSegment > &cloudStateSegments, std::vector< DtChord > &globalWeatherChordSegments, double tolerance=5.0) const |
| | Set the cloud data for chords segments intersecting with the cloud layers within a list of weather objects. More...
|
| |
| void | setChordCloudStateGlobalWeather (const DtPoint &startPosition, const std::vector< DtChord > &globalWeatherChordSegments, const std::vector< DtSharedVrfObjectReference > &weatherObjects, std::vector< CloudStateSegment > &cloudStateSegments) const |
| | Set the cloud data for chords segments falling into the global weather area. More...
|
| |
| bool | chordIntersectsExtent (const DtChord &chord, const DtExtent &extent, DtVector &intersectionPosition, double &intersectionLengt) const |
| | Check if a chord intersects or is contained entirely or partially within extent Return the starting intersection point between the chord and the extent, and the length of the cord segment intersecting with the extent. More...
|
| |
| bool | chordIntersectsExtent (const DtChord &chord, const DtExtent &extent, DtPoint &intersectionEntryPoint, DtPoint &intersectionExitPoint) const |
| | Check if a chord intersects or is contained entirely or partially within extent Return the intersection two end points. More...
|
| |
| virtual double | defaultCloudVisibility () const |
| | The visibility in clouds. More...
|
| |
| const DtSimManager * | mySimManager |
| |
| double | myKoschmiederConstant |
| |
Constants for physical calculations that are computed from other constants, and cached to avoid recomputation. More...
|
| |