Main Page | Namespace List | Class List | Directories | File List | Class Members | File Members

TileMaker Class Reference

#include <TileMaker.H>

List of all members.


Detailed Description

Class that produces the images necessary to show bike maps, in the form of tiles at particular zoom levels. Accomplished using the Qt gui package. Tiles must be generated only once for each zoom level.


Public Member Functions

 TileMaker ()
virtual ~TileMaker ()
void drawRoad (double xa, double ya, double xb, double yb, int roadType)
 Method responsible for drawing a road based on geographic points and a flag indicating the type of road.
void createAndSave (int zoom)
 Method driving the class. Creates a map at a given zoom level, and saves it appropriately for future use.

Private Attributes

QCanvas * m_canvas
 Qt class used to draw the maps initially, prior to converting them to image files.
int m_zoom
 Flag indicating the zoom level on the tile currently being processed.


Constructor & Destructor Documentation

TileMaker::TileMaker  ) 
 

Here is the call graph for this function:

TileMaker::~TileMaker  )  [virtual]
 


Member Function Documentation

void TileMaker::createAndSave int  zoom  ) 
 

Method driving the class. Creates a map at a given zoom level, and saves it appropriately for future use.

void TileMaker::drawRoad double  xa,
double  ya,
double  xb,
double  yb,
int  roadType
 

Method responsible for drawing a road based on geographic points and a flag indicating the type of road.


Member Data Documentation

QCanvas* TileMaker::m_canvas [private]
 

Qt class used to draw the maps initially, prior to converting them to image files.

int TileMaker::m_zoom [private]
 

Flag indicating the zoom level on the tile currently being processed.


The documentation for this class was generated from the following files:
Generated on Mon May 16 11:08:58 2005 for BikeQuest by  doxygen 1.4.0