marble/src
Waypoint Class Reference
#include <Waypoint.h>

Detailed Description
representaion of a GPS Waypoint.A Waypoint is a point of interest, or named feature on a map.
Definition at line 25 of file Waypoint.h.
Public Member Functions | |
| Waypoint (double lat, double lon) | |
| Waypoint (GeoDataPoint position) | |
| ~Waypoint () | |
| virtual void | draw (ClipPainter *, const QPoint &) |
| virtual void | draw (ClipPainter *painter, const QSize &canvasSize, ViewParams *viewParams) |
| virtual void | printToStream (QTextStream &) const |
| void | printBodyToStream (QTextStream &) const |
| double | elevation () |
| void | setElevation (const double &elevation) |
| QTime | time () |
| void | setTime (const QTime &time) |
| double | magVariation () |
| void | setMagVariation (const double &magVar) |
| double | geoIdHeight () |
| void | setGeoIdHeight (const double &geoHeightId) |
| QString | gpsSymbol () |
| void | setGpsSymbol (const QString &gpsSymbol) |
| QString | type () |
| void | setType (const QString &type) |
| QString | fix () |
| void | setFix (const QString &fix) |
| int | satalites () |
| void | setSatalites (const int &satalites) |
| double | hdop () |
| void | setHdop (const double &hdop) |
| double | vdop () |
| void | setVdop (const double &vdop) |
| double | pdop () |
| void | setPdop (const double &pdop) |
| double | ageOfGpsData () |
| void | setAgeOfGpsData (const double &age) |
| int | dgpsid () |
| void | setDgpsid (const int &gpsdid) |
Constructor & Destructor Documentation
| Waypoint::Waypoint | ( | double | lat, | |
| double | lon | |||
| ) |
Waypoint constructor from latitude and longitude.
This constructor sets all of the pointers to 0 and allows the AbstractLayerData constructor make a geopoint from the latitude and longitude.
- Parameters:
-
lat double representation of latitude lon double representation of longitude
Definition at line 20 of file Waypoint.cpp.
| Waypoint::Waypoint | ( | GeoDataPoint | position | ) |
Constructor froim a geopoint object.
- Parameters:
-
position the geopoint that will be the position of this waypoint
Definition at line 28 of file Waypoint.cpp.
| Waypoint::~Waypoint | ( | ) |
Member Function Documentation
| void Waypoint::draw | ( | ClipPainter * | painter, | |
| const QPoint & | position | |||
| ) | [virtual] |
implementation of AbstractLayerData::draw
- See also:
- AbstractLayerData::draw
Reimplemented from AbstractLayerData.
Reimplemented in TrackPoint.
Definition at line 54 of file Waypoint.cpp.
| void Waypoint::draw | ( | ClipPainter * | painter, | |
| const QSize & | canvasSize, | |||
| ViewParams * | viewParams | |||
| ) | [virtual] |
implementation of AbstractLayerData::draw
- See also:
- AbstractLayerData::draw
Reimplemented from AbstractLayerData.
Definition at line 60 of file Waypoint.cpp.
| void Waypoint::printToStream | ( | QTextStream & | out | ) | const [virtual] |
print a text representation of this class to a stream
Reimplemented from AbstractLayerData.
Reimplemented in TrackPoint.
Definition at line 72 of file Waypoint.cpp.
| void Waypoint::printBodyToStream | ( | QTextStream & | out | ) | const |
Definition at line 80 of file Waypoint.cpp.
| double Waypoint::elevation | ( | ) |
| void Waypoint::setElevation | ( | const double & | elevation | ) |
| QTime Waypoint::time | ( | ) |
| void Waypoint::setTime | ( | const QTime & | time | ) |
| double Waypoint::magVariation | ( | ) |
| void Waypoint::setMagVariation | ( | const double & | magVar | ) |
| double Waypoint::geoIdHeight | ( | ) |
| void Waypoint::setGeoIdHeight | ( | const double & | geoHeightId | ) |
| QString Waypoint::gpsSymbol | ( | ) |
| void Waypoint::setGpsSymbol | ( | const QString & | gpsSymbol | ) |
| QString Waypoint::type | ( | ) |
| void Waypoint::setType | ( | const QString & | type | ) |
| QString Waypoint::fix | ( | ) |
| void Waypoint::setFix | ( | const QString & | fix | ) |
| int Waypoint::satalites | ( | ) |
| void Waypoint::setSatalites | ( | const int & | satalites | ) |
| double Waypoint::hdop | ( | ) |
| void Waypoint::setHdop | ( | const double & | hdop | ) |
| double Waypoint::vdop | ( | ) |
| void Waypoint::setVdop | ( | const double & | vdop | ) |
| double Waypoint::pdop | ( | ) |
| void Waypoint::setPdop | ( | const double & | pdop | ) |
| double Waypoint::ageOfGpsData | ( | ) |
| void Waypoint::setAgeOfGpsData | ( | const double & | age | ) |
| int Waypoint::dgpsid | ( | ) |
| void Waypoint::setDgpsid | ( | const int & | gpsdid | ) |
The documentation for this class was generated from the following files:
KDE 4.0 API Reference