• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

marble/src

Route Class Reference

#include <Route.h>

Inheritance diagram for Route:

Inheritance graph
[legend]

List of all members.


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

Route::Route (  ) 

empty constructor

Definition at line 17 of file Route.cpp.


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.

Definition at line 23 of file Route.cpp.

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.

Definition at line 52 of file Route.cpp.

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.

Definition at line 62 of file Route.cpp.

void Route::printToStream ( QTextStream &  out  )  const [virtual]

print a text representation of this class to a stream

Reimplemented from AbstractLayerContainer.

Definition at line 66 of file Route.cpp.


The documentation for this class was generated from the following files:
  • Route.h
  • Route.cpp

marble/src

Skip menu "marble/src"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal