• 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
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 
67  virtual const char* nodeType() const;
68 
69 
77  qreal minLodPixels() const;
78 
79 
85  void setMinLodPixels( qreal pixels );
86 
87 
95  qreal maxLodPixels() const;
96 
97 
103  void setMaxLodPixels( qreal pixels );
104 
105 
111  qreal minFadeExtent() const;
112 
113 
119  void setMinFadeExtent( qreal pixels );
120 
121 
127  qreal maxFadeExtent() const;
128 
129 
135  void setMaxFadeExtent( qreal pixels );
136 
137 
138  // Serialization
143  virtual void pack( QDataStream& stream ) const;
144 
145 
150  virtual void unpack( QDataStream& stream );
151 
152  GeoDataLod &operator=( const GeoDataLod& other );
153 
154  protected:
155  GeoDataLodPrivate * const d;
156 };
157 
158 }
159 
160 #endif
Marble::GeoDataObject
A base class for all geodata objects.
Definition: GeoDataObject.h:48
GeoDataObject.h
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:155
GEODATA_EXPORT
#define GEODATA_EXPORT
Definition: geodata_export.h:22
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