• 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
GeoLineStringGraphicsItem.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_GEOLINESTRINGGRAPHICSITEM_H
12 #define MARBLE_GEOLINESTRINGGRAPHICSITEM_H
13 
14 #include "GeoGraphicsItem.h"
15 #include "marble_export.h"
16 
17 namespace Marble
18 {
19 
20 class GeoDataLineString;
21 class GeoDataLineStyle;
22 
23 class MARBLE_EXPORT GeoLineStringGraphicsItem : public GeoGraphicsItem
24 {
25 public:
26  explicit GeoLineStringGraphicsItem( const GeoDataFeature *feature, const GeoDataLineString *lineString );
27 
28  void setLineString( const GeoDataLineString* lineString );
29 
30  virtual const GeoDataLatLonAltBox& latLonAltBox() const;
31 
32  virtual void paint( GeoPainter* painter, const ViewportParams *viewport );
33 
34 protected:
35  const GeoDataLineString *m_lineString;
36 };
37 
38 }
39 
40 #endif
Marble::GeoLineStringGraphicsItem::m_lineString
const GeoDataLineString * m_lineString
Definition: GeoLineStringGraphicsItem.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_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
Marble::GeoDataLineString
A LineString that allows to store a contiguous set of line segments.
Definition: GeoDataLineString.h:75
Marble::ViewportParams
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:44
GeoGraphicsItem.h
Marble::GeoLineStringGraphicsItem
Definition: GeoLineStringGraphicsItem.h:23
marble_export.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