|
Updraft
1.0
Open source glider flight visualisation tool.
|
This class represents a single airspace in the OpenAir file. More...
#include <airspace.h>

Classes | |
| struct | SB_str |
| Brush colour selector structure. More... | |
| struct | SP_str |
| Pen style structure. More... | |
Public Types | |
| enum | ACType { R, Q, P, A, B, C, D, E, GP, CTR, W, NA } |
| Airspace class type enum. More... | |
Public Member Functions | |
| Airspace (QTextStream *ts, bool *acOn) | |
| UserAirspace class constructor code. | |
| const QString *const | GetName () const |
| const OpenAirspace::Airspace::ACType & | GetClass () |
| const QString & | GetClassName () |
| const QString *const | GetFloor () const |
| const QString *const | GetCeiling () const |
| const QVector< Position * > & | GetTagCoor () |
| int | GetGeometrySize () |
| const QVector < OpenAirspace::Geometry * > & | GetGeometry () |
| const QVector< Position * > & | GetAirWay () |
| const SP_str * | GetPen () const |
| const SB_str * | GetBrush () const |
| ~Airspace () | |
| UserAirspace destructor code here. | |
| int | ParseHeight (bool floor, bool *agl) |
| Parse the height data from the text to feet. | |
Static Public Attributes | |
| static Position | X |
| Coordinates of the center used by more airspaces. | |
| static bool | validX |
Private Member Functions | |
| Position | ParseCoord (const QString &parse) |
| Parses the WGS coordinates from string. | |
Private Attributes | |
| ACType | AC |
| Airspace class type. | |
| QString * | ACstring |
| QString * | AN |
| Airspace Name. | |
| QString * | AL |
| Airspace Floor. | |
| QString * | AH |
| Airspace Ceiling Altitude ciling of the airspace in ft. | |
| QVector< Position * > * | AT |
| Airspace name label coordinates. | |
| bool | CW |
| double | Wi |
| Airway width in nm. -1 for not set. | |
| float | Z |
| Zoom level. | |
| QVector< Position * > * | DY |
| Airway. | |
| QVector< Geometry * > * | geometry |
| Array of geometry. | |
| QString * | TO |
| Terrain related variables Terrain open polygon name. | |
| QString * | TC |
| Terrain closed polygon. | |
| SP_str * | SP |
| Pen & Brush var. | |
| SB_str * | SB |
This class represents a single airspace in the OpenAir file.
Airspace class type enum.
R restricted Q danger P prohibited A Class A B Class B C Class C D Class D GP glider prohibited CTR CTR W Wave Window
| OpenAirspace::Airspace::Airspace | ( | QTextStream * | ts, |
| bool * | acOn | ||
| ) |
UserAirspace class constructor code.
Parses the single airspace record.
| ts | This takes the QTexttream in UseAir free format. |
| acOn | AC record read. |
UserAirspace destructor code here.
| const QVector<Position*>& OpenAirspace::Airspace::GetAirWay | ( | ) | [inline] |
| const SB_str* OpenAirspace::Airspace::GetBrush | ( | ) | const [inline] |
| const QString* const OpenAirspace::Airspace::GetCeiling | ( | ) | const [inline] |
| const OpenAirspace::Airspace::ACType& OpenAirspace::Airspace::GetClass | ( | ) | [inline] |
| const QString& OpenAirspace::Airspace::GetClassName | ( | ) | [inline] |
| const QString* const OpenAirspace::Airspace::GetFloor | ( | ) | const [inline] |
| const QVector<OpenAirspace::Geometry*>& OpenAirspace::Airspace::GetGeometry | ( | ) | [inline] |
| int OpenAirspace::Airspace::GetGeometrySize | ( | ) | [inline] |
| const QString* const OpenAirspace::Airspace::GetName | ( | ) | const [inline] |
| const SP_str* OpenAirspace::Airspace::GetPen | ( | ) | const [inline] |
| const QVector<Position*>& OpenAirspace::Airspace::GetTagCoor | ( | ) | [inline] |
| Position OpenAirspace::Airspace::ParseCoord | ( | const QString & | parse | ) | [private] |
Parses the WGS coordinates from string.
| parse | The string from which the coordinates should be parsed. |
| int OpenAirspace::Airspace::ParseHeight | ( | bool | floor, |
| bool * | agl | ||
| ) |
Parse the height data from the text to feet.
| floor | This parameter tells the routine whether it is processing the floor data. |
| agl | Returns true if the parsed height is above the ground level or absolute. |
ACType OpenAirspace::Airspace::AC [private] |
Airspace class type.
QString* OpenAirspace::Airspace::ACstring [private] |
QString* OpenAirspace::Airspace::AH [private] |
Airspace Ceiling Altitude ciling of the airspace in ft.
AH < AL
QString* OpenAirspace::Airspace::AL [private] |
Airspace Floor.
Altitude floor of the airspace in ft. Use -10000 for SFC.
QString* OpenAirspace::Airspace::AN [private] |
Airspace Name.
Contains the name of the aispace. Required.
QVector<Position*>* OpenAirspace::Airspace::AT [private] |
Airspace name label coordinates.
List of coordinates, where to place the airspace name label on the map. Optional.
bool OpenAirspace::Airspace::CW [private] |
QVector<Position*>* OpenAirspace::Airspace::DY [private] |
Airway.
QVector<Geometry*>* OpenAirspace::Airspace::geometry [private] |
Array of geometry.
SB_str* OpenAirspace::Airspace::SB [private] |
SP_str* OpenAirspace::Airspace::SP [private] |
Pen & Brush var.
QString* OpenAirspace::Airspace::TC [private] |
Terrain closed polygon.
QString* OpenAirspace::Airspace::TO [private] |
Terrain related variables Terrain open polygon name.
bool OpenAirspace::Airspace::validX [static] |
double OpenAirspace::Airspace::Wi [private] |
Airway width in nm. -1 for not set.
Coordinates of the center used by more airspaces.
float OpenAirspace::Airspace::Z [private] |
Zoom level.
Sets the zoom level at which the airspace become visible.