The GPS canvas maker. More...
#include <AnitaGpsCanvasMaker.h>
Public Member Functions | |
AnitaGpsCanvasMaker () | |
Constructor. | |
~AnitaGpsCanvasMaker () | |
Destructor. | |
TPad * | getGpsMainCanvas (Adu5Sat *adu5SatAPtr, Adu5Sat *adu5SatBPtr, G12Sat *g12SatPtr, Adu5Pat *adu5PatAPtr, Adu5Pat *adu5PatBPtr, G12Pos *g12PosPtr, TPad *useCan=0) |
Returns the main GPS canvas. More... | |
TPad * | getGpsInfoCanvas (Adu5Sat *adu5SatAPtr, Adu5Sat *adu5SatBPtr, G12Sat *g12SatPtr, Adu5Pat *adu5PatAPtr, Adu5Pat *adu5PatBPtr, G12Pos *g12PosPtr, TPad *useCan) |
Returns the GPS info canvas, the canvas can be provided in useCan | |
void | setGpsDisplayOpt (MagicDisplayGpsDisplay::MagicDisplayGpsDisplay_t displayOpt) |
Sets the GPS display option. | |
MagicDisplayGpsDisplay::MagicDisplayGpsDisplay_t | getGpsDisplayOpt () |
Gets the GPS display option. | |
Static Public Member Functions | |
static AnitaGpsCanvasMaker * | Instance () |
Instance generator. | |
Protected Member Functions | |
void | getSatelliteView (Adu5Sat *adu5SatAPtr, Adu5Sat *adu5SatBPtr, G12Sat *g12SatPtr, TPad *plotPad) |
void | addSatellitesToTimeArray (Adu5Sat *adu5SatAPtr, Adu5Sat *adu5SatBPtr, G12Sat *g12SatPtr) |
void | getMapView (Adu5Pat *adu5PatPtr, TPad *plotPad) |
void | getXYFromLatLong (double latitude, double longitude, double &x, double &y) |
void | getRelXYFromLatLong (float latitude, float longitude, float &x, float &y) |
Protected Attributes | |
MagicDisplayGpsDisplay::MagicDisplayGpsDisplay_t | fDisplayOpt |
Double_t | fG12SatTimeArray [200] |
Double_t | fG12SatNumArray [200] |
Double_t | fAdu5ASatTimeArray [200] |
Double_t | fAdu5ASatNumArray [4][200] |
Double_t | fAdu5BSatTimeArray [200] |
Double_t | fAdu5BSatNumArray [4][200] |
Int_t | fNumG12Sat |
Int_t | fNumAdu5ASat |
Int_t | fNumAdu5BSat |
Int_t | fReloadMap |
Static Protected Attributes | |
static AnitaGpsCanvasMaker * | fgInstance = 0 |
Protect against multiple instances. | |
The GPS canvas maker.
This is where all the heavy lifting regarding the GPS plots is done.
Definition at line 36 of file AnitaGpsCanvasMaker.h.
TPad * AnitaGpsCanvasMaker::getGpsMainCanvas | ( | Adu5Sat * | adu5SatAPtr, |
Adu5Sat * | adu5SatBPtr, | ||
G12Sat * | g12SatPtr, | ||
Adu5Pat * | adu5PatAPtr, | ||
Adu5Pat * | adu5PatBPtr, | ||
G12Pos * | g12PosPtr, | ||
TPad * | useCan = 0 |
||
) |
Returns the main GPS canvas.
useCan | Returns the main GPS canvas |
Definition at line 78 of file AnitaGpsCanvasMaker.cxx.