• 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
GeoDataLod.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_GEODATALOD_H
13 #define MARBLE_GEODATALOD_H
14 
15 #include "GeoDataObject.h"
16 
17 
18 namespace Marble
19 {
20 
21 class GeoDataLodPrivate;
22 
44 class GEODATA_EXPORT GeoDataLod : public GeoDataObject
45 {
46 
47  public:
51  GeoDataLod();
52 
56  GeoDataLod( const GeoDataLod& other );
57 
61  virtual ~GeoDataLod();
62 
63 
68  bool operator==( const GeoDataLod &other ) const;
69  bool operator!=( const GeoDataLod &other ) const;
70 
71  virtual const char* nodeType() const;
72 
73 
81  qreal minLodPixels() const;
82 
83 
89  void setMinLodPixels( qreal pixels );
90 
91 
99  qreal maxLodPixels() const;
100 
101 
107  void setMaxLodPixels( qreal pixels );
108 
109 
115  qreal minFadeExtent() const;
116 
117 
123  void setMinFadeExtent( qreal pixels );
124 
125 
131  qreal maxFadeExtent() const;
132 
133 
139  void setMaxFadeExtent( qreal pixels );
140 
141 
142  // Serialization
147  virtual void pack( QDataStream& stream ) const;
148 
149 
154  virtual void unpack( QDataStream& stream );
155 
156  GeoDataLod &operator=( const GeoDataLod& other );
157 
158  protected:
159  GeoDataLodPrivate * const d;
160 };
161 
162 }
163 
164 #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
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
Marble::GeoDataLodPrivate
Definition: GeoDataLod_p.h:21
Marble::GeoDataLod::d
GeoDataLodPrivate *const d
Definition: GeoDataLod.h:159
GEODATA_EXPORT
#define GEODATA_EXPORT
Definition: geodata_export.h:22
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