• 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
GeoPointGraphicsItem.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 2009 Andrew Manson <g.real.ate@gmail.com>
9 //
10 
11 #ifndef MARBLE_GEOPOINTGRAPHICSITEM_H
12 #define MARBLE_GEOPOINTGRAPHICSITEM_H
13 
14 #include "GeoDataPoint.h"
15 #include "GeoGraphicsItem.h"
16 #include "GeoDataLatLonAltBox.h"
17 #include "marble_export.h"
18 
19 namespace Marble
20 {
21 
22 class MARBLE_EXPORT GeoPointGraphicsItem : public GeoGraphicsItem
23 {
24 public:
25  explicit GeoPointGraphicsItem( const GeoDataFeature *feature );
26 
27  void setPoint( const GeoDataPoint& point );
28  GeoDataPoint point() const;
29 
30  virtual void paint( GeoPainter* painter, const ViewportParams *viewport );
31 
32  virtual const GeoDataLatLonAltBox& latLonAltBox() const;
33 
34 protected:
35  GeoDataPoint m_point;
36 };
37 
38 }
39 
40 #endif
Marble::GeoDataPoint
A Geometry object representing a 3d point.
Definition: GeoDataPoint.h:47
Marble::GeoPointGraphicsItem::m_point
GeoDataPoint m_point
Definition: GeoPointGraphicsItem.h:35
Marble::GeoPainter
A painter that allows to draw geometric primitives on the map.
Definition: GeoPainter.h:98
Marble::GeoGraphicsItem
Definition: GeoGraphicsItem.h:30
Marble::GeoPointGraphicsItem
Definition: GeoPointGraphicsItem.h:22
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
Marble::ViewportParams
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:44
GeoGraphicsItem.h
GeoDataPoint.h
marble_export.h
GeoDataLatLonAltBox.h
Marble::GeoDataFeature
A base class for all geodata features.
Definition: GeoDataFeature.h:57
Marble::GeoDataLatLonAltBox
A class that defines a 3D bounding box for geographic data.
Definition: GeoDataLatLonAltBox.h:49
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