Inheritance diagram for Eaagles::MovingMap::MovingMapImage:


Public Types | |
| enum | { MAX_MAPS = 10 } |
Public Member Functions | |
| MovingMapImage () | |
| virtual void | setNorthUpMode (const bool nu) |
| virtual bool | setDrawGridMode (const bool dg) |
| virtual void | setZoomFactor (const LCreal zf) |
| virtual void | setClipWindow (const LCreal leftMM, const LCreal rightMM, const LCreal bottomMM, const LCreal topMM) |
| virtual bool | setMapIntensity (const LCreal intensity) |
| virtual bool | setZoneFix (const bool x) |
| LCreal | getMapIntensity () |
| virtual void | setMap (Map *map) |
| virtual void | updateZDR (int zone, int &selected, TilePager *tp) |
| MapPosition * | getMapPosition () |
| virtual void | drawOverlayGraphics () |
| virtual bool | setMapLevel (const char *newLevel) |
| Basic::LcString * | getCurrentLevel () |
| TilePager * | getMainPager () |
| virtual void | drawFunc () |
| virtual bool | setGridSize (const int aGridSize=9, bool aUseLookUpTable=false) |
| virtual void | updateData (const LCreal dt=0.000000) |
Protected Member Functions | |
| bool | setSlotGridSize (const Basic::LcNumber *const x) |
| bool | setSlotMapIntensity (const Basic::LcNumber *const x) |
| bool | setSlotDrawGridMode (const Basic::LcNumber *const x) |
| bool | setSlotMapLevel (Basic::LcString *const x) |
| bool | setSlotNorthUpMode (const Basic::LcNumber *const x) |
| bool | setSlotZoneFix (const Basic::LcNumber *const x) |
Private Member Functions | |
| void | setTileScale (TilePager *tp) |
| void | setTileRefScale (TilePager *tp) |
| void | drawTile (const int row, const int column, const LCreal transTileX, const LCreal transTileY, TilePager *tp) |
| int | isInView (const LCreal x, const LCreal y, TilePager *tp) |
| int | clipCode (const LCreal x, const LCreal y) |
| void | goDrawGrid (const int row, const int column) |
| void | drawMap (int zone, TilePager *tp) |
Private Attributes | |
| Map * | myMap |
| Map * | maps [MAX_MAPS] |
| MapPosition * | pos |
| bool | northUp |
| LCreal | zoom |
| int | drawTileDirection |
| LCreal | mmPT |
| LCreal | pixelPerMM |
| int | gridSize |
| LCreal | mmPerPixel |
| bool | useLookUpTable |
| bool | drawGrid |
| LCreal | left |
| LCreal | right |
| LCreal | bottom |
| LCreal | top |
| LCreal | mapIntensity |
| TilePager * | tm |
| TilePager * | tmLL |
| TilePager * | tmLR |
| TilePager * | tmUL |
| TilePager * | tmUR |
| int | currentZDR |
| double | refLat |
| double | refLon |
| LCreal | refHdg |
| LCreal | sinAng |
| LCreal | cosAng |
| Basic::LcString * | level |
| int | mmIndex |
| LCreal | refTileScaleN |
| LCreal | refTileScaleE |
| LCreal | refNmm |
| LCreal | refEmm |
| int | currentTR |
| int | currentTL |
| int | currentBR |
| int | currentBL |
| bool | zoneFix |
| Eaagles::MovingMap::MovingMapImage::MovingMapImage | ( | ) |
Constructor. Initializes parameters such as zoom, lookup table, reference latitude, longitude etc.
| virtual void Eaagles::MovingMap::MovingMapImage::setNorthUpMode | ( | const bool | nu | ) | [inline, virtual] |
Sets the north up mode.
| virtual bool Eaagles::MovingMap::MovingMapImage::setDrawGridMode | ( | const bool | dg | ) | [inline, virtual] |
Sets the value of drawGrid flag.
| virtual void Eaagles::MovingMap::MovingMapImage::setZoomFactor | ( | const LCreal | zf | ) | [inline, virtual] |
Sets the zoom factor.
| void Eaagles::MovingMap::MovingMapImage::setClipWindow | ( | const LCreal | leftMM, | |
| const LCreal | rightMM, | |||
| const LCreal | bottomMM, | |||
| const LCreal | topMM | |||
| ) | [virtual] |
Sets the left, right, bottom and top limits for the window.
| virtual bool Eaagles::MovingMap::MovingMapImage::setMapIntensity | ( | const LCreal | intensity | ) | [inline, virtual] |
Sets the intensity of the map.
| bool Eaagles::MovingMap::MovingMapImage::setZoneFix | ( | const bool | x | ) | [virtual] |
| LCreal Eaagles::MovingMap::MovingMapImage::getMapIntensity | ( | ) | [inline] |
Returns the intensity of the map.
| void Eaagles::MovingMap::MovingMapImage::setMap | ( | Map * | map | ) | [virtual] |
Sets the current map.
| void Eaagles::MovingMap::MovingMapImage::updateZDR | ( | int | zone, | |
| int & | selected, | |||
| TilePager * | tp | |||
| ) | [virtual] |
Updates the zone data.
| MapPosition* Eaagles::MovingMap::MovingMapImage::getMapPosition | ( | ) | [inline] |
Returns the position.
| virtual void Eaagles::MovingMap::MovingMapImage::drawOverlayGraphics | ( | ) | [inline, virtual] |
Empty function currently.
| bool Eaagles::MovingMap::MovingMapImage::setMapLevel | ( | const char * | newLevel | ) | [virtual] |
Sets the level for the map.
| Basic::LcString* Eaagles::MovingMap::MovingMapImage::getCurrentLevel | ( | ) | [inline] |
Returns the current level.
| TilePager* Eaagles::MovingMap::MovingMapImage::getMainPager | ( | ) | [inline] |
Returns the center tile pager.
| void Eaagles::MovingMap::MovingMapImage::drawFunc | ( | ) | [virtual] |
| bool Eaagles::MovingMap::MovingMapImage::setGridSize | ( | const int | aGridSize = 9, |
|
| bool | aUseLookUpTable = false | |||
| ) | [virtual] |
must be set up
| void Eaagles::MovingMap::MovingMapImage::updateData | ( | const LCreal | dt = 0.000000 |
) | [virtual] |
| bool Eaagles::MovingMap::MovingMapImage::setSlotGridSize | ( | const Basic::LcNumber *const | x | ) | [protected] |
Sets the grid size (how many slots we want to display) in the slot table.
| bool Eaagles::MovingMap::MovingMapImage::setSlotMapIntensity | ( | const Basic::LcNumber *const | x | ) | [protected] |
Slot table function. Sets the map intensity.
| bool Eaagles::MovingMap::MovingMapImage::setSlotDrawGridMode | ( | const Basic::LcNumber *const | x | ) | [protected] |
Slot table function. Sets the draw grid mode.
| bool Eaagles::MovingMap::MovingMapImage::setSlotMapLevel | ( | Basic::LcString *const | x | ) | [protected] |
Slot table function. Sets the map level.
| bool Eaagles::MovingMap::MovingMapImage::setSlotNorthUpMode | ( | const Basic::LcNumber *const | x | ) | [protected] |
Slot table function. Sets the north up mode.
| bool Eaagles::MovingMap::MovingMapImage::setSlotZoneFix | ( | const Basic::LcNumber *const | x | ) | [protected] |
Slot table function. Sets the zone fix.
| void Eaagles::MovingMap::MovingMapImage::setTileScale | ( | TilePager * | tp | ) | [private] |
| void Eaagles::MovingMap::MovingMapImage::setTileRefScale | ( | TilePager * | tp | ) | [private] |
| void Eaagles::MovingMap::MovingMapImage::drawTile | ( | const int | row, | |
| const int | column, | |||
| const LCreal | transTileX, | |||
| const LCreal | transTileY, | |||
| TilePager * | tp | |||
| ) | [private] |
Draws the tiles.
| int Eaagles::MovingMap::MovingMapImage::isInView | ( | const LCreal | x, | |
| const LCreal | y, | |||
| TilePager * | tp | |||
| ) | [private] |
Returns true if it is in the field of view of the map.
Returns the clip code (0, 1, 2, 4, or 8).
| void Eaagles::MovingMap::MovingMapImage::goDrawGrid | ( | const int | row, | |
| const int | column | |||
| ) | [private] |
Draws the grid if needed.
| void Eaagles::MovingMap::MovingMapImage::drawMap | ( | int | zone, | |
| TilePager * | tp | |||
| ) | [private] |
Map* Eaagles::MovingMap::MovingMapImage::myMap [private] |
Map* Eaagles::MovingMap::MovingMapImage::maps[MAX_MAPS] [private] |
bool Eaagles::MovingMap::MovingMapImage::northUp [private] |
int Eaagles::MovingMap::MovingMapImage::drawTileDirection [private] |
int Eaagles::MovingMap::MovingMapImage::gridSize [private] |
bool Eaagles::MovingMap::MovingMapImage::useLookUpTable [private] |
bool Eaagles::MovingMap::MovingMapImage::drawGrid [private] |
current ortho
TilePager* Eaagles::MovingMap::MovingMapImage::tm [private] |
our center tile pager
our lower left tile pager
lower right tile pager
upper left tile pager
upper right tile pager
int Eaagles::MovingMap::MovingMapImage::currentZDR [private] |
current zone
double Eaagles::MovingMap::MovingMapImage::refLat [private] |
reference latitude
double Eaagles::MovingMap::MovingMapImage::refLon [private] |
reference longitude
int Eaagles::MovingMap::MovingMapImage::mmIndex [private] |
moving map index
our tile scale
int Eaagles::MovingMap::MovingMapImage::currentTR [private] |
int Eaagles::MovingMap::MovingMapImage::currentTL [private] |
int Eaagles::MovingMap::MovingMapImage::currentBR [private] |
int Eaagles::MovingMap::MovingMapImage::currentBL [private] |
bool Eaagles::MovingMap::MovingMapImage::zoneFix [private] |
use our zone fix?
1.5.0