• 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
DownloadRegion.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 2012 Dennis Nienhüser <earthwings@gentoo.org>
9 //
10 
11 #ifndef MARBLE_DOWNLOADREGION_H
12 #define MARBLE_DOWNLOADREGION_H
13 
14 #include <QObject>
15 #include <QVector>
16 
17 #include "TileCoordsPyramid.h"
18 #include "marble_export.h"
19 
20 namespace Marble
21 {
22 class DownloadRegionPrivate;
23 class GeoDataLatLonAltBox;
24 class MarbleModel;
25 class ViewportParams;
26 class TextureLayer;
27 
28 class MARBLE_EXPORT DownloadRegion : public QObject
29 {
30  Q_OBJECT
31 
32  public:
33  explicit DownloadRegion( QObject* parent=0 );
34 
35  void setMarbleModel( MarbleModel *model );
36 
37  ~DownloadRegion();
38 
39  void setTileLevelRange( int const minimumTileLevel, int const maximumTileLevel );
40 
41  QVector<TileCoordsPyramid> region( const TextureLayer *textureLayer, const GeoDataLatLonAltBox &region ) const;
42 
43  void setVisibleTileLevel( int const tileLevel );
44 
48  QVector<TileCoordsPyramid> routeRegion( const TextureLayer *textureLayer, qreal offset ) const;
49 
50  private:
51  DownloadRegionPrivate* const d;
52 };
53 
54 }
55 
56 #endif
TileCoordsPyramid.h
QObject
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
Marble::TextureLayer
Definition: TextureLayer.h:39
Marble::MarbleModel
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:96
marble_export.h
Marble::DownloadRegion
Definition: DownloadRegion.h:28
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:49 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