• 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
  • 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  bool operator==( const GeoDataRegion &other ) const;
86  bool operator!=( const GeoDataRegion &other ) const;
87 
100  const GeoDataLatLonAltBox& latLonAltBox() const;
101 
102 
108  void setLatLonAltBox( const GeoDataLatLonAltBox& latLonAltBox );
109 
110 
117  GeoDataLod& lod() const;
118 
119 
124  void setLod( const GeoDataLod& lod );
125 
126 
127  // Serialization
132  virtual void pack( QDataStream& stream ) const;
133 
134 
139  virtual void unpack( QDataStream& stream );
140 
141  GeoDataRegion &operator=( const GeoDataRegion& other );
142 
143  private:
144  void swap( GeoDataRegion & other );
145  GeoDataRegionPrivate *d;
146 };
147 
148 }
149 
150 #endif
QDataStream
Marble::GeoDataObject
A base class for all geodata objects.
Definition: GeoDataObject.h:48
Marble::operator==
bool operator==(const DownloadPolicyKey &lhs, const DownloadPolicyKey &rhs)
Definition: DownloadPolicy.h:49
GeoDataObject.h
GeoDataLod.h
Marble::operator!=
bool operator!=(GeoDataLatLonBox const &lhs, GeoDataLatLonBox const &rhs)
Definition: GeoDataLatLonBox.cpp:59
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:57
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-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