• 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
GeoGraphicsScene.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 2010 Bastian Holst <bastianholst@gmx.de>
9 // Copyright 2011 Konstantin Oblaukhov <oblaukhov.konstantin@gmail.com>
10 //
11 
12 #ifndef MARBLE_GEOGRAPHICSSCENE_H
13 #define MARBLE_GEOGRAPHICSSCENE_H
14 
15 #include "marble_export.h"
16 #include "MarbleGlobal.h"
17 
18 #include <QObject>
19 #include <QList>
20 
21 namespace Marble
22 {
23 
24 class GeoGraphicsItem;
25 class GeoDataFeature;
26 class GeoDataLatLonBox;
27 class GeoGraphicsScenePrivate;
28 
32 class MARBLE_EXPORT GeoGraphicsScene : public QObject
33 {
34  Q_OBJECT
35 
36 public:
41  explicit GeoGraphicsScene( QObject *parent = 0 );
42  ~GeoGraphicsScene();
43 
48  void addItem( GeoGraphicsItem *item );
49 
54  void removeItem( const GeoDataFeature *feature );
55 
60  void clear();
61 
69  void eraseAll();
70 
78  QList<GeoGraphicsItem *> items( const GeoDataLatLonBox &box, int maxZoomLevel ) const;
79 
80 private:
81  GeoGraphicsScenePrivate * const d;
82 };
83 }
84 #endif // MARBLE_GEOGRAPHICSSCENE_H
Marble::GeoGraphicsItem
Definition: GeoGraphicsItem.h:30
QObject
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
QList
MarbleGlobal.h
marble_export.h
Marble::GeoDataFeature
A base class for all geodata features.
Definition: GeoDataFeature.h:57
Marble::GeoGraphicsScene
This is the home of all GeoGraphicsItems to be shown on the map.
Definition: GeoGraphicsScene.h:32
Marble::GeoDataLatLonBox
A class that defines a 2D bounding box for geographic data.
Definition: GeoDataLatLonBox.h:51
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