Logo Search packages:      
Sourcecode: fgfs-atlas version File versions  Download package

Classes | Public Types | Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes

MapBrowser Class Reference

Collaboration diagram for MapBrowser:
Collaboration graph

List of all members.


struct  Coord
struct  MapTile
struct  TileLess
struct  Tilewidth

Public Types

enum  { ATLAS, SQUARE }

Public Member Functions

void changeResolution (char *)
void draw ()
int getFeatures ()
FlightTrackgetFlightTrack ()
float getLat ()
float getLon ()
int getNumProjections ()
OverlaysgetOverlays ()
const char * getProjectionNameByID (int id)
float getScale ()
float getSize ()
bool getTextured ()
void loadDb ()
 MapBrowser (GLfloat x1, GLfloat y1, GLfloat size, int features, char *fg_root, int mode, bool texturedFonts=true)
void setFeatures (int features)
void setFlightTrack (FlightTrack *track)
void setLocation (float lat, float lon)
void setMapPath (char *path)
void setProjectionByID (int id)
void setScale (float scale)
void setSize (GLfloat size)
void setTextured (bool texture=true)
void toggleFeaturesAllNavaids ()

Static Public Attributes

static const int CACHE_LIMIT = 2

Protected Types

typedef map< Coord, MapTile
*, TileLess

Protected Member Functions

float deg (float x)
float rad (float x)
void scale (float x, float y, GLfloat *cx, GLfloat *cy)
void update ()

Protected Attributes

float clat
float clon
int features
char * font_name
int mode
char mpath [512]
int pathl
float scle
bool textured
bool texturedFonts
list< MapTile * > tiles
TileTable tiletable
GLfloat view_left
GLfloat view_size
GLfloat view_top
float zoom

Static Protected Attributes

static const char * TXF_FONT_NAME = "/Fonts/helvetica_medium.txf"

Detailed Description

Definition at line 35 of file MapBrowser.hxx.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index