[Kflog Index] [Kflog Hierarchy] [Headers]
This class provides basic functions for displaying the flight data More...
#include <map.h>
Inherits: QWidget (qt)
This class provides basic functions for displaying the flight data.
[public]
constructor
[public]
destructor
[public]
changing the scale and redraw the map
[public]
set the type of projection either to "Lambert" or to "Mercator"
[public]
returns TRUE, if current projectiontype ist Lambert
[public]
returns TRUE, if current projectiontype ist Mercator
[public]
Convert internal representation to radians.
[public]
Convert radians into internal data.
[public]
Calculates the coordinates for drawing.
[public]
Returns the x-coordinate for the Lambert-projection
[public]
Returns the y-coordinate for the Lambert-projection
[public]
Returns the x-coordinates for the Mercator-projection.
[public]
Returns the y-coordinates for the Mercator-projection.
Note: We return negative values, because the the point (0/0) is the upper left corner of the painter. Therefore we must mirror the coordinates.
[public]
Converts radians to degree.
[public]
Converts degree to radians.
[public]
Returns the pointlist
[private]
Coordinates of the current mouse-position, needed to show in the status bar
[private]
The QPainter in wich the map will be drawn. This painter is about the same size as the map-widget, but only used for internal buffering the map. Whenever the widget ist about to be drawn, this buffer is used to get the content.
[private]
Pointer to the current main window
[private]
The (internal) scale for the map. This value has nothing in common with the scale of a normal map. It determines a factor with wich the drawn map will be expanded.
[private]
The mapCenter is position displayed in the center of the map. It is used in two different ways: 1.: Determine the area shown in the map-widget 2.: Calculating the differenz in latitude between a point in the map and the center.
[private]
Enables drawing of the map. Used to guarantee, that the map will only be drawn, if the widget is already build. Otherwise, the map would be drawn twice when opening a window!
[private]
The earth's radius used for calculation.
[private]
standard parallels for conical projection
[private]
The second standard parallel. It doesn't matter which one is which.
[private]
contains the current projectiontype
| Kdoc |