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

marble

  • sources
  • kde-4.12
  • kdeedu
  • marble
  • src
  • lib
  • marble
  • geodata
  • data
GeoDataRegion.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 Torsten Rahn <tackat@kde.org>
9 //
10 
11 
12 #ifndef MARBLE_GEODATAREGION_H
13 #define MARBLE_GEODATAREGION_H
14 
15 #include "GeoDataObject.h"
16 #include "GeoDataLatLonAltBox.h"
17 #include "GeoDataLod.h"
18 
19 
20 namespace Marble
21 {
22 
23 class GeoDataFeature;
24 class GeoDataRegionPrivate;
25 
49 class GEODATA_EXPORT GeoDataRegion : public GeoDataObject
50 {
51 
52  public:
60  GeoDataRegion();
61 
65  GeoDataRegion( const GeoDataRegion& other );
66 
71  explicit GeoDataRegion( GeoDataFeature * feature );
72 
73 
77  virtual ~GeoDataRegion();
78 
79 
83  virtual const char* nodeType() const;
84 
85 
86 
99  const GeoDataLatLonAltBox& latLonAltBox() const;
100 
101 
107  void setLatLonAltBox( const GeoDataLatLonAltBox& latLonAltBox );
108 
109 
116  GeoDataLod& lod() const;
117 
118 
123  void setLod( const GeoDataLod& lod );
124 
125 
126  // Serialization
131  virtual void pack( QDataStream& stream ) const;
132 
133 
138  virtual void unpack( QDataStream& stream );
139 
140  GeoDataRegion &operator=( const GeoDataRegion& other );
141 
142  private:
143  void swap( GeoDataRegion & other );
144  GeoDataRegionPrivate *d;
145 };
146 
147 }
148 
149 #endif
Marble::GeoDataObject
A base class for all geodata objects.
Definition: GeoDataObject.h:48
GeoDataObject.h
GeoDataLod.h
Marble::GeoDataLod
The level of detail which indicates visibility and importance.
Definition: GeoDataLod.h:44
GeoDataLatLonAltBox.h
Marble::GeoDataFeature
A base class for all geodata features.
Definition: GeoDataFeature.h:55
Marble::GeoDataRegion
GeoDataRegion describes the visibility and extent of a feature.
Definition: GeoDataRegion.h:49
GEODATA_EXPORT
#define GEODATA_EXPORT
Definition: geodata_export.h:22
Marble::GeoDataRegionPrivate
Definition: GeoDataRegion_p.h:21
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-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:50 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
  • kstars
  • libkdeedu
  •   keduvocdocument
  • 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