marble
#include <TextureLayer.h>

Public Slots | |
| void | downloadStackedTile (const TileId &stackedTileId) |
| void | reload () |
| void | reset () |
| void | setMapTheme (const QVector< const GeoSceneTextureTile * > &textures, const GeoSceneGroup *textureLayerSettings, const QString &seaFile, const QString &landFile) |
| void | setNeedsUpdate () |
| void | setProjection (Projection projection) |
| void | setShowCityLights (bool show) |
| void | setShowRelief (bool show) |
| void | setShowSunShading (bool show) |
| void | setShowTileId (bool show) |
| void | setVolatileCacheLimit (quint64 kilobytes) |
Signals | |
| void | repaintNeeded () |
| void | tileLevelChanged (int) |
Public Member Functions | |
| TextureLayer (HttpDownloadManager *downloadManager, const SunLocator *sunLocator, QAbstractItemModel *groundOverlayModel) | |
| ~TextureLayer () | |
| void | addLandDocument (const GeoDataDocument *landDocument) |
| void | addSeaDocument (const GeoDataDocument *seaDocument) |
| int | preferredRadiusCeil (int radius) const |
| int | preferredRadiusFloor (int radius) const |
| virtual bool | render (GeoPainter *painter, ViewportParams *viewport, const QString &renderPos="NONE", GeoSceneLayer *layer=0) |
| QStringList | renderPosition () const |
| RenderState | renderState () const |
| virtual QString | runtimeTrace () const |
| bool | showCityLights () const |
| bool | showSunShading () const |
| int | tileColumnCount (int level) const |
| GeoSceneTiled::Projection | tileProjection () const |
| int | tileRowCount (int level) const |
| QSize | tileSize () const |
| int | tileZoomLevel () const |
| qint64 | volatileCacheLimit () const |
Public Member Functions inherited from QObject | |
| QObject (QObject *parent) | |
| QObject (QObject *parent, const char *name) | |
| virtual | ~QObject () |
| bool | blockSignals (bool block) |
| QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
| const QObjectList & | children () const |
| const char * | className () const |
| bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
| void | deleteLater () |
| void | destroyed (QObject *obj) |
| bool | disconnect (const QObject *receiver, const char *method) |
| bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
| void | dumpObjectInfo () |
| void | dumpObjectTree () |
| QList< QByteArray > | dynamicPropertyNames () const |
| virtual bool | event (QEvent *e) |
| virtual bool | eventFilter (QObject *watched, QEvent *event) |
| T | findChild (const QString &name) const |
| QList< T > | findChildren (const QRegExp ®Exp) const |
| QList< T > | findChildren (const QString &name) const |
| bool | inherits (const char *className) const |
| void | insertChild (QObject *object) |
| void | installEventFilter (QObject *filterObj) |
| bool | isA (const char *className) const |
| bool | isWidgetType () const |
| void | killTimer (int id) |
| virtual const QMetaObject * | metaObject () const |
| void | moveToThread (QThread *targetThread) |
| const char * | name () const |
| const char * | name (const char *defaultName) const |
| QString | objectName () const |
| QObject * | parent () const |
| QVariant | property (const char *name) const |
| void | removeChild (QObject *object) |
| void | removeEventFilter (QObject *obj) |
| void | setName (const char *name) |
| void | setObjectName (const QString &name) |
| void | setParent (QObject *parent) |
| bool | setProperty (const char *name, const QVariant &value) |
| bool | signalsBlocked () const |
| int | startTimer (int interval) |
| QThread * | thread () const |
Public Member Functions inherited from Marble::LayerInterface | |
| virtual | ~LayerInterface () |
| virtual qreal | zValue () const |
Additional Inherited Members | |
Static Public Member Functions inherited from QObject | |
| bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
| bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
| bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
| bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
| QString | tr (const char *sourceText, const char *disambiguation, int n) |
| QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Protected Member Functions inherited from QObject | |
| bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
| virtual void | childEvent (QChildEvent *event) |
| virtual void | connectNotify (const char *signal) |
| virtual void | customEvent (QEvent *event) |
| virtual void | disconnectNotify (const char *signal) |
| int | receivers (const char *signal) const |
| QObject * | sender () const |
| int | senderSignalIndex () const |
| virtual void | timerEvent (QTimerEvent *event) |
Static Protected Member Functions inherited from QObject | |
| QByteArray | normalizeSignalSlot (const char *signalSlot) |
Properties inherited from QObject | |
| objectName | |
Detailed Description
Definition at line 38 of file TextureLayer.h.
Constructor & Destructor Documentation
| Marble::TextureLayer::TextureLayer | ( | HttpDownloadManager * | downloadManager, |
| const SunLocator * | sunLocator, | ||
| QAbstractItemModel * | groundOverlayModel | ||
| ) |
Definition at line 228 of file TextureLayer.cpp.
| Marble::TextureLayer::~TextureLayer | ( | ) |
Definition at line 244 of file TextureLayer.cpp.
Member Function Documentation
| void Marble::TextureLayer::addLandDocument | ( | const GeoDataDocument * | landDocument | ) |
Definition at line 264 of file TextureLayer.cpp.
| void Marble::TextureLayer::addSeaDocument | ( | const GeoDataDocument * | seaDocument | ) |
Definition at line 256 of file TextureLayer.cpp.
|
slot |
Definition at line 438 of file TextureLayer.cpp.
| int Marble::TextureLayer::preferredRadiusCeil | ( | int | radius | ) | const |
Definition at line 493 of file TextureLayer.cpp.
| int Marble::TextureLayer::preferredRadiusFloor | ( | int | radius | ) | const |
Definition at line 507 of file TextureLayer.cpp.
|
slot |
Definition at line 428 of file TextureLayer.cpp.
|
virtual |
Renders the content provided by the layer on the viewport.
- Parameters
-
painter painter object allowing to paint on the map viewport metadata, such as current projection, screen dimension, etc. renderPos current render position layer deprecated, always zero (NULL)
- Returns
trueReturns whether the rendering has been successful
Implements Marble::LayerInterface.
Definition at line 282 of file TextureLayer.cpp.
|
virtual |
Preferred level in the layer stack for the rendering.
Gives a preferred level in the existing layer stack where the render() method of this plugin should get executed. Possible Values: "NONE" "STARS" "BEHIND_TARGET" "SURFACE" "HOVERS_ABOVE_SURFACE" "ATMOSPHERE" "ORBIT" "ALWAYS_ON_TOP" "FLOAT_ITEM" "USER_TOOLS"
Implements Marble::LayerInterface.
Definition at line 251 of file TextureLayer.cpp.
|
virtual |
Reimplemented from Marble::LayerInterface.
Definition at line 521 of file TextureLayer.cpp.
|
signal |
|
slot |
Definition at line 420 of file TextureLayer.cpp.
|
virtual |
Returns a debug line for perfo/tracing issues.
Reimplemented from Marble::LayerInterface.
Definition at line 336 of file TextureLayer.cpp.
|
slot |
Definition at line 443 of file TextureLayer.cpp.
|
slot |
Definition at line 406 of file TextureLayer.cpp.
|
slot |
Set the Projection used for the map.
- Parameters
-
projection projection type (e.g. Spherical, Equirectangular, Mercator)
Definition at line 377 of file TextureLayer.cpp.
|
slot |
Definition at line 363 of file TextureLayer.cpp.
|
slot |
Definition at line 341 of file TextureLayer.cpp.
|
slot |
Definition at line 348 of file TextureLayer.cpp.
|
slot |
Definition at line 370 of file TextureLayer.cpp.
|
slot |
Definition at line 415 of file TextureLayer.cpp.
| bool Marble::TextureLayer::showCityLights | ( | ) | const |
Definition at line 277 of file TextureLayer.cpp.
| bool Marble::TextureLayer::showSunShading | ( | ) | const |
Definition at line 272 of file TextureLayer.cpp.
| int Marble::TextureLayer::tileColumnCount | ( | int | level | ) | const |
Definition at line 478 of file TextureLayer.cpp.
|
signal |
| GeoSceneTiled::Projection Marble::TextureLayer::tileProjection | ( | ) | const |
Definition at line 473 of file TextureLayer.cpp.
| int Marble::TextureLayer::tileRowCount | ( | int | level | ) | const |
Definition at line 483 of file TextureLayer.cpp.
| QSize Marble::TextureLayer::tileSize | ( | ) | const |
Definition at line 468 of file TextureLayer.cpp.
| int Marble::TextureLayer::tileZoomLevel | ( | ) | const |
Return the current tile zoom level.
For example for OpenStreetMap possible values are 1..18, for BlueMarble 0..6.
Definition at line 463 of file TextureLayer.cpp.
| qint64 Marble::TextureLayer::volatileCacheLimit | ( | ) | const |
Definition at line 488 of file TextureLayer.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference
Public Member Functions inherited from