• 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
  • layers
VectorTileLayer.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 2008 Patrick Spendrin <ps_ml@gmx.de>
9  Copyright 2010 Thibaut Gridel <tgridel@free.fr>
10  Copyright 2012 Ander Pijoan <ander.pijoan@deusto.es>
11  Copyright 2013 Bernhard Beschow <bbeschow@cs.tu-berlin.de>
12 */
13 
14 #ifndef MARBLE_VECTORTILELAYER_H
15 #define MARBLE_VECTORTILELAYER_H
16 
17 #include "LayerInterface.h"
18 #include <QObject>
19 #include <QRunnable>
20 
21 #include "MarbleGlobal.h"
22 #include "MarbleModel.h"
23 #include "GeoDataDocument.h"
24 #include "GeoDataLatLonAltBox.h"
25 #include "TileId.h"
26 
27 #include <QSize>
28 
29 class QImage;
30 class QRegion;
31 class QRect;
32 
33 namespace Marble
34 {
35 
36 class GeoPainter;
37 class GeoSceneGroup;
38 class GeoSceneVectorTile;
39 class HttpDownloadManager;
40 class SunLocator;
41 class TileLoader;
42 class ViewportParams;
43 
44 class VectorTileLayer : public QObject, public LayerInterface
45 {
46  Q_OBJECT
47 
48  public:
49  VectorTileLayer( HttpDownloadManager *downloadManager,
50  const PluginManager *pluginManager,
51  GeoDataTreeModel *treeModel);
52 
53  ~VectorTileLayer();
54 
55  QStringList renderPosition() const;
56 
57  RenderState renderState() const;
58 
59  public Q_SLOTS:
60  bool render( GeoPainter *painter, ViewportParams *viewport,
61  const QString &renderPos = "NONE", GeoSceneLayer *layer = 0 );
62 
63  void setMapTheme( const QVector<const GeoSceneVectorTile *> &textures, const GeoSceneGroup *textureLayerSettings );
64 
65  void reset();
66 
67  private:
68  Q_PRIVATE_SLOT( d, void updateTextureLayers() )
69 
70 
71  private:
72  class Private;
73  Private *const d;
74 
75 };
76 
77 }
78 
79 #endif // MARBLE_VECTORTILELAYER_H
GeoDataDocument.h
TileId.h
Marble::PluginManager
The class that handles Marble's plugins.
Definition: PluginManager.h:45
Marble::GeoDataTreeModel
The representation of GeoData in a model This class represents all available data given by kml-data f...
Definition: GeoDataTreeModel.h:32
Marble::GeoPainter
A painter that allows to draw geometric primitives on the map.
Definition: GeoPainter.h:98
Marble::VectorTileLayer
Definition: VectorTileLayer.h:44
MarbleModel.h
This file contains the headers for MarbleModel.
LayerInterface.h
Marble::LayerInterface
Definition: LayerInterface.h:26
Marble::VectorTileLayer::setMapTheme
void setMapTheme(const QVector< const GeoSceneVectorTile * > &textures, const GeoSceneGroup *textureLayerSettings)
Definition: VectorTileLayer.cpp:144
Marble::VectorTileLayer::renderState
RenderState renderState() const
Definition: VectorTileLayer.cpp:118
QRect
Marble::VectorTileLayer::~VectorTileLayer
~VectorTileLayer()
Definition: VectorTileLayer.cpp:108
Marble::GeoSceneLayer
Layer of a GeoScene document.
Definition: GeoSceneLayer.h:43
Marble::VectorTileLayer::VectorTileLayer
VectorTileLayer(HttpDownloadManager *downloadManager, const PluginManager *pluginManager, GeoDataTreeModel *treeModel)
Definition: VectorTileLayer.cpp:98
QObject
Marble::GeoSceneGroup
Group inside the settings of a GeoScene document.
Definition: GeoSceneGroup.h:40
Marble::VectorTileLayer::reset
void reset()
Definition: VectorTileLayer.cpp:137
QString
MarbleGlobal.h
Marble::RenderState
Definition: RenderState.h:22
QStringList
Marble::ViewportParams
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:44
QImage
QVector
GeoDataLatLonAltBox.h
Marble::VectorTileLayer::render
bool render(GeoPainter *painter, ViewportParams *viewport, const QString &renderPos="NONE", GeoSceneLayer *layer=0)
Definition: VectorTileLayer.cpp:123
Marble::VectorTileLayer::renderPosition
QStringList renderPosition() const
Preferred level in the layer stack for the rendering.
Definition: VectorTileLayer.cpp:113
QRegion
Marble::HttpDownloadManager
This class manages scheduled downloads.
Definition: HttpDownloadManager.h:44
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:42 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