Updraft  1.0
Open source glider flight visualisation tool.
turnpoint.h
Go to the documentation of this file.
00001 #ifndef UPDRAFT_SRC_PLUGINS_TURNPOINTS_TURNPOINT_H_
00002 #define UPDRAFT_SRC_PLUGINS_TURNPOINTS_TURNPOINT_H_
00003 
00004 #include "../../libraries/util/util.h"
00005 
00006 namespace Updraft {
00007 
00009 enum WaypointStyle {
00010   UNKNOWN         = 0,
00011   NORMAL          = 1,
00012   AIRFIELDGRASS   = 2,
00013   OUTLANDING      = 3,
00014   GLIDERSITE      = 4,
00015   AIRFIELDSOLID   = 5,
00016   MTPASS          = 6,
00017   MTTOP           = 7,
00018   SENDER          = 8,
00019   VOR             = 9,
00020   NDB             = 10,
00021   COOLTOWER       = 11,
00022   DAM             = 12,
00023   TUNNEL          = 13,
00024   BRIDGE          = 14,
00025   POWERPLANT      = 15,
00026   CASTLE          = 16,
00027   INTERSECTION    = 17
00028 };
00029 
00031 struct TurnPoint {
00033   QString code;
00034 
00036   QString name;
00037 
00039   Util::Location location;
00040 
00042   WaypointStyle type;
00043 
00046   int rwyHeading;
00048   qreal rwyLengthM;
00050   qreal airportFreq;
00052 };
00053 
00054 }  // End namespace Updraft
00055 
00056 #endif  // UPDRAFT_SRC_PLUGINS_TURNPOINTS_TURNPOINT_H_
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines