|
Updraft
1.0
Open source glider flight visualisation tool.
|
#include <math.h>#include <osgDB/ReadFile>#include <osg/LineWidth>#include <osgEarthUtil/ObjectPlacer>#include <osg/PositionAttitudeTransform>#include <osg/Geometry>#include <osg/Depth>#include <QString>#include <QtGui>#include <osgEarthUtil/ElevationManager>#include "../../pluginbase.h"#include "../../libraries/openairspace/openairspace.h"#include "../../maplayerinterface.h"#include "../../core/maplayer.h"

Go to the source code of this file.
Classes | |
| class | Updraft::Airspaces::oaEngine |
| Class representing the opened airspaces file. More... | |
Namespaces | |
| namespace | Updraft |
| namespace | Updraft::Airspaces |
Typedefs | |
| typedef OpenAirspace::Coordinate | Updraft::Airspaces::Position |
Variables | |
| static const double | Updraft::Airspaces::DEG_TO_RAD = 0.017453292519943295769236907684886 |
| Init constants PI/180 constant. | |
| static const double | Updraft::Airspaces::RAD_TO_DEG = 1/DEG_TO_RAD |
| static const int | Updraft::Airspaces::NM_TO_M = 1852 |
| Nautical miles to meter const. | |
| static const double | Updraft::Airspaces::M_TO_NM = 1./1852 |
| static const double | Updraft::Airspaces::FT_TO_M = 0.3048 |
| Foot to meters const. | |
| static const double | Updraft::Airspaces::M_TO_FT = 1/0.3048 |
| static const double | Updraft::Airspaces::EARTH_RADIUS_IN_METERS = 6372797.560856 |
| Earth's quatratic mean radius for WGS-84. | |
| static const double | Updraft::Airspaces::M_2PI = 2*M_PI |
| 2pi | |
| static const double | Updraft::Airspaces::ARC_GRANULARITY = 0.05 |
| airspace arcs granularity | |
| static const float | Updraft::Airspaces::DEFAULT_TRANSPARENCY = 0.1f |
| Default line trnsparency. | |
| static const int | Updraft::Airspaces::GND = 0 |
| Default elevations in ft. | |
| static const int | Updraft::Airspaces::ROOF = 80000 |