marble/src
Route Class Reference
#include <Route.h>
Inheritance diagram for Route:

Detailed Description
representation a GPS Route.A GPS Route is an ordered list of waypoints representing a series of turn points leading to a destination.
Definition at line 22 of file Route.h.
Public Member Functions | |
| Route () | |
| virtual void | draw (ClipPainter *painter, const QSize &canvasSize, ViewParams *viewParams) |
| virtual void | draw (ClipPainter *painter, const QSize &canvasSize, ViewParams *viewParams, BoundingBox box) |
| virtual void | draw (ClipPainter *, const QPoint &) |
| virtual void | printToStream (QTextStream &) const |
Constructor & Destructor Documentation
Member Function Documentation
| void Route::draw | ( | ClipPainter * | painter, | |
| const QSize & | canvasSize, | |||
| ViewParams * | viewParams | |||
| ) | [virtual] |
draw each of the Waypoints in the route.
- See also:
- AbstractLayerContainer::draw()
Reimplemented from AbstractLayerContainer.
| void Route::draw | ( | ClipPainter * | painter, | |
| const QSize & | canvasSize, | |||
| ViewParams * | viewParams, | |||
| BoundingBox | box | |||
| ) | [virtual] |
draw this Container after evaluating its bounding Box
this container will only get drawn if the bounding box of the view intersects with the bounding box of the container
- Parameters:
-
painter this will be used to draw the contianer canvasSize the size of the marble widget view radius measure of zoom level invRotAxis inversion of the rotation Quaternion that represents the rotation of the globe box the bounding box that holds the view
Reimplemented from AbstractLayerContainer.
| void Route::draw | ( | ClipPainter * | painter, | |
| const QPoint & | point | |||
| ) | [virtual] |
default implementation of AbstractLayerInterface function.
this method does not apply to AbstractLayerContainer and should never be called.
- Parameters:
-
painter only provided to match AbstractLayerInterface point only provided to match AbstractLayerInterface
Reimplemented from AbstractLayerContainer.
| void Route::printToStream | ( | QTextStream & | out | ) | const [virtual] |
The documentation for this class was generated from the following files:
KDE 4.0 API Reference