Rise
The Vieneo Province
Loading...
Searching...
No Matches
WeatherRadarModel Namespace Reference

Classes

struct  Beam
struct  Display
struct  GridFootprint
struct  Input
struct  Point
struct  Quad
struct  Sample
class  Scanner

Enumerations

enum class  Echo : uint8_t {
  Clear , Green , Yellow , Red ,
  Purple , Shadow , Missing , TerrainShadow ,
  OutsideCoverage
}

Functions

bool SweepVisible (const Display &display)
const wchar_t * StatusText (const Display &display)
std::wstring TiltText (const Display &display)
bool DisplaySelected (bool equipped, bool power, bool simulator, bool terrainPriority, bool tcasPriority)
double AntennaIntegral (double lowDegrees, double highDegrees)
double GroundLevel (double illuminatedFraction, double gateKm, double waterFraction)
double PathExtinctionPerKm (double level)
double Dot (Point a, Point b)
double Length (Point a)
bool Finite (Point a)
Point Unit (Point a)
Point Cross (Point a, Point b)
void MapFrame (Point position, double headingDegrees, Point &forward, Point &right)
Echo Classify (double level)
uint32_t Color (Echo echo)
bool ValidSample (const Sample &cell)
Echo MergeEcho (Echo a, Echo b)
bool AboveWeatherCoverage (double mslKm, bool feedSuspended, double topKm, double resumeKm)
template<class Elevation>
Sample SampleGrid (const PlotWeather::Store &source, Point position, double topKm, Elevation elevation, const GridFootprint *terrainFootprint=nullptr)

Variables

constexpr double Pi = 3.14159265358979323846
constexpr int Bearings = 121
constexpr int Gates = 128
constexpr double MaxRangeKm = 64
constexpr double HalfSweepDegrees = 60
constexpr double TraverseSeconds = 4
constexpr double MemorySeconds = TraverseSeconds * 2 + .25
constexpr double WeatherExtinctionPerKm = .12
constexpr double RangeExtinctionPerKm = .0015
constexpr double ShadowTransmission = .06
constexpr double SourceTimeoutSeconds = 360
constexpr double WeatherBeamDegrees = 5.6
constexpr double GroundHalfBeamDegrees = 5
constexpr std::array< double, 9 > ElevationDegrees {{-5,-4,-2.8,-1.4,0,1.4,2.8,4,5}}
constexpr int CenterRay = 4
constexpr double AutoTiltRangeFraction = .8
constexpr double MaxTiltDegrees = 15

Enumeration Type Documentation

◆ Echo

enum class WeatherRadarModel::Echo : uint8_t
strong
Enumerator
Clear 
Green 
Yellow 
Red 
Purple 
Shadow 
Missing 
TerrainShadow 
OutsideCoverage 

Definition at line 81 of file WeatherRadarModel.h.

Function Documentation

◆ AboveWeatherCoverage()

bool WeatherRadarModel::AboveWeatherCoverage ( double mslKm,
bool feedSuspended,
double topKm,
double resumeKm )
inline

Definition at line 133 of file WeatherRadarModel.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AntennaIntegral()

double WeatherRadarModel::AntennaIntegral ( double lowDegrees,
double highDegrees )
inline

Definition at line 35 of file WeatherRadarModel.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Classify()

Echo WeatherRadarModel::Classify ( double level)
inline

Definition at line 82 of file WeatherRadarModel.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Color()

uint32_t WeatherRadarModel::Color ( Echo echo)
inline

Definition at line 87 of file WeatherRadarModel.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Cross()

Point WeatherRadarModel::Cross ( Point a,
Point b )
inline

Definition at line 67 of file WeatherRadarModel.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DisplaySelected()

bool WeatherRadarModel::DisplaySelected ( bool equipped,
bool power,
bool simulator,
bool terrainPriority,
bool tcasPriority )
inline

Definition at line 45 of file WeatherRadarDisplay.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Dot()

double WeatherRadarModel::Dot ( Point a,
Point b )
inline

Definition at line 63 of file WeatherRadarModel.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Finite()

bool WeatherRadarModel::Finite ( Point a)
inline

Definition at line 65 of file WeatherRadarModel.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GroundLevel()

double WeatherRadarModel::GroundLevel ( double illuminatedFraction,
double gateKm,
double waterFraction )
inline

Definition at line 41 of file WeatherRadarModel.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Length()

double WeatherRadarModel::Length ( Point a)
inline

Definition at line 64 of file WeatherRadarModel.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MapFrame()

void WeatherRadarModel::MapFrame ( Point position,
double headingDegrees,
Point & forward,
Point & right )
inline

Definition at line 68 of file WeatherRadarModel.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MergeEcho()

Echo WeatherRadarModel::MergeEcho ( Echo a,
Echo b )
inline

Definition at line 113 of file WeatherRadarModel.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PathExtinctionPerKm()

double WeatherRadarModel::PathExtinctionPerKm ( double level)
inline

Definition at line 52 of file WeatherRadarModel.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SampleGrid()

template<class Elevation>
Sample WeatherRadarModel::SampleGrid ( const PlotWeather::Store & source,
Point position,
double topKm,
Elevation elevation,
const GridFootprint * terrainFootprint = nullptr )

Definition at line 25 of file WeatherRadarSource.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ StatusText()

const wchar_t * WeatherRadarModel::StatusText ( const Display & display)
inline

Definition at line 31 of file WeatherRadarDisplay.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SweepVisible()

bool WeatherRadarModel::SweepVisible ( const Display & display)
inline

Definition at line 29 of file WeatherRadarDisplay.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TiltText()

std::wstring WeatherRadarModel::TiltText ( const Display & display)
inline

Definition at line 36 of file WeatherRadarDisplay.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Unit()

Point WeatherRadarModel::Unit ( Point a)
inline

Definition at line 66 of file WeatherRadarModel.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ValidSample()

bool WeatherRadarModel::ValidSample ( const Sample & cell)
inline

Definition at line 107 of file WeatherRadarModel.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ AutoTiltRangeFraction

double WeatherRadarModel::AutoTiltRangeFraction = .8
constexpr

Definition at line 33 of file WeatherRadarModel.h.

◆ Bearings

int WeatherRadarModel::Bearings = 121
constexpr

Definition at line 14 of file WeatherRadarModel.h.

◆ CenterRay

int WeatherRadarModel::CenterRay = 4
constexpr

Definition at line 28 of file WeatherRadarModel.h.

◆ ElevationDegrees

std::array<double,9> WeatherRadarModel::ElevationDegrees {{-5,-4,-2.8,-1.4,0,1.4,2.8,4,5}}
constexpr

Definition at line 27 of file WeatherRadarModel.h.

◆ Gates

int WeatherRadarModel::Gates = 128

Definition at line 14 of file WeatherRadarModel.h.

◆ GroundHalfBeamDegrees

double WeatherRadarModel::GroundHalfBeamDegrees = 5

Definition at line 26 of file WeatherRadarModel.h.

◆ HalfSweepDegrees

double WeatherRadarModel::HalfSweepDegrees = 60
constexpr

Definition at line 16 of file WeatherRadarModel.h.

◆ MaxRangeKm

double WeatherRadarModel::MaxRangeKm = 64
constexpr

Definition at line 15 of file WeatherRadarModel.h.

◆ MaxTiltDegrees

double WeatherRadarModel::MaxTiltDegrees = 15

Definition at line 33 of file WeatherRadarModel.h.

◆ MemorySeconds

double WeatherRadarModel::MemorySeconds = TraverseSeconds * 2 + .25
constexpr

Definition at line 17 of file WeatherRadarModel.h.

◆ Pi

double WeatherRadarModel::Pi = 3.14159265358979323846
constexpr

Definition at line 13 of file WeatherRadarModel.h.

◆ RangeExtinctionPerKm

double WeatherRadarModel::RangeExtinctionPerKm = .0015
constexpr

Definition at line 20 of file WeatherRadarModel.h.

◆ ShadowTransmission

double WeatherRadarModel::ShadowTransmission = .06
constexpr

Definition at line 21 of file WeatherRadarModel.h.

◆ SourceTimeoutSeconds

double WeatherRadarModel::SourceTimeoutSeconds = 360
constexpr

Definition at line 22 of file WeatherRadarModel.h.

◆ TraverseSeconds

double WeatherRadarModel::TraverseSeconds = 4

Definition at line 16 of file WeatherRadarModel.h.

◆ WeatherBeamDegrees

double WeatherRadarModel::WeatherBeamDegrees = 5.6
constexpr

Definition at line 26 of file WeatherRadarModel.h.

◆ WeatherExtinctionPerKm

double WeatherRadarModel::WeatherExtinctionPerKm = .12
constexpr

Definition at line 19 of file WeatherRadarModel.h.