Updraft
1.0
Open source glider flight visualisation tool.
|
Top level object of airspaces plugin. More...
#include <airspaces.h>
Public Slots | |
void | mapLayerDisplayed (bool value, MapLayerInterface *sender) |
Changes the visibility of the plug-in. | |
void | reloadAirspaces () |
Reloads the airspaces. | |
void | contextMenuRequested (QPoint pos, MapLayerInterface *sender) |
Context menu setup. | |
Public Member Functions | |
Airspaces () | |
The class constructor. | |
QString | getName () |
void | initialize (CoreInterface *coreInterface) |
Plug-in initialisation routine. | |
void | deinitialize () |
Plug-in unlouad. | |
bool | fileOpen (const QString &fileName, int role) |
Open File routine. | |
void | loadImportedFiles () |
Loads allt he files imported to the application. | |
Private Types | |
enum | FileRole { IMPORT_OPENAIRSPACE_FILE = 0 } |
Private Attributes | |
FileRegistration | OAirspaceFileReg |
Registration for loading Airspaces from OpenAirspace file. | |
QVector< QPair< osg::Node *, QString > > * | mapNodes |
Map nodes. | |
MapLayerGroupInterface * | mapLayerGroup |
Map layers. |
Top level object of airspaces plugin.
enum Updraft::Airspaces::Airspaces::FileRole [private] |
The class constructor.
void Updraft::Airspaces::Airspaces::contextMenuRequested | ( | QPoint | pos, |
MapLayerInterface * | sender | ||
) | [slot] |
Context menu setup.
void Updraft::Airspaces::Airspaces::deinitialize | ( | ) | [virtual] |
Plug-in unlouad.
Implements Updraft::PluginBase.
bool Updraft::Airspaces::Airspaces::fileOpen | ( | const QString & | fileName, |
int | role | ||
) | [virtual] |
Open File routine.
Processes the imported file according to the file type calls the correct drawing engine.
fileName | The filename. |
role | The file type. |
Reimplemented from Updraft::PluginBase.
QString Updraft::Airspaces::Airspaces::getName | ( | ) | [virtual] |
Implements Updraft::PluginBase.
void Updraft::Airspaces::Airspaces::initialize | ( | CoreInterface * | coreInterface | ) | [virtual] |
Plug-in initialisation routine.
coreInterface | The pointer to the Core. |
Implements Updraft::PluginBase.
Loads allt he files imported to the application.
void Updraft::Airspaces::Airspaces::mapLayerDisplayed | ( | bool | value, |
MapLayerInterface * | sender | ||
) | [slot] |
Changes the visibility of the plug-in.
void Updraft::Airspaces::Airspaces::reloadAirspaces | ( | ) | [slot] |
Reloads the airspaces.
Map layers.
QVector<QPair<osg::Node*, QString> >* Updraft::Airspaces::Airspaces::mapNodes [private] |
Map nodes.
Registration for loading Airspaces from OpenAirspace file.