• 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
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 GeoDataLineString;
25 class MarbleModel;
26 class ViewportParams;
27 class TextureLayer;
28 
29 class MARBLE_EXPORT DownloadRegion : public QObject
30 {
31  Q_OBJECT
32 
33  public:
34  explicit DownloadRegion( QObject* parent=0 );
35 
36  void setMarbleModel( MarbleModel *model );
37 
38  ~DownloadRegion();
39 
40  void setTileLevelRange( int const minimumTileLevel, int const maximumTileLevel );
41 
42  QVector<TileCoordsPyramid> region( const TextureLayer *textureLayer, const GeoDataLatLonAltBox &region ) const;
43 
44  void setVisibleTileLevel( int const tileLevel );
45 
49  QVector<TileCoordsPyramid> fromPath( const TextureLayer *textureLayer, qreal offset, const GeoDataLineString &path ) const;
50 
51  private:
52  DownloadRegionPrivate* const d;
53 };
54 
55 }
56 
57 #endif
TileCoordsPyramid.h
QObject
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
Marble::TextureLayer
Definition: TextureLayer.h:38
Marble::GeoDataLineString
A LineString that allows to store a contiguous set of line segments.
Definition: GeoDataLineString.h:75
Marble::MarbleModel
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
QVector
marble_export.h
Marble::DownloadRegion
Definition: DownloadRegion.h:29
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:38 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