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

marble

  • sources
  • kde-4.14
  • kdeedu
  • marble
  • src
  • lib
  • marble
  • geodata
  • graphicsitem
GeoTrackGraphicsItem.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2011 Guillaume Martres <smarter@ubuntu.com>
9 //
10 
11 #ifndef MARBLE_GEOTRACKGRAPHICSITEM_H
12 #define MARBLE_GEOTRACKGRAPHICSITEM_H
13 
14 #include "GeoLineStringGraphicsItem.h"
15 
16 namespace Marble
17 {
18 
19 class GeoDataTrack;
20 
21 class MARBLE_EXPORT GeoTrackGraphicsItem : public GeoLineStringGraphicsItem
22 {
23 
24 public:
25  explicit GeoTrackGraphicsItem( const GeoDataFeature *feature, const GeoDataTrack *track );
26 
27  void setTrack( const GeoDataTrack *track );
28 
29  virtual void paint( GeoPainter *painter, const ViewportParams *viewport );
30 
31 private:
32  const GeoDataTrack *m_track;
33  void update();
34 };
35 
36 }
37 
38 #endif // MARBLE_GEOTRACKGRAPHICSITEM_H
Marble::GeoDataTrack
A geometry for tracking objects made of (time, coordinates) pairs.
Definition: GeoDataTrack.h:54
Marble::GeoPainter
A painter that allows to draw geometric primitives on the map.
Definition: GeoPainter.h:98
Marble::GeoTrackGraphicsItem
Definition: GeoTrackGraphicsItem.h:21
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
GeoLineStringGraphicsItem.h
Marble::ViewportParams
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:44
Marble::GeoLineStringGraphicsItem
Definition: GeoLineStringGraphicsItem.h:23
Marble::GeoDataFeature
A base class for all geodata features.
Definition: GeoDataFeature.h:57
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal