marble
#include <LayerManager.h>
Public Slots | |
void | setShowBackground (bool show) |
void | setShowRuntimeTrace (bool show) |
void | setVisible (const QString &nameId, bool visible) |
Signals | |
void | pluginSettingsChanged () |
void | renderPluginInitialized (RenderPlugin *renderPlugin) |
void | repaintNeeded (const QRegion &dirtyRegion=QRegion()) |
void | visibilityChanged (const QString &nameId, bool visible) |
Public Member Functions | |
LayerManager (const MarbleModel *model, QObject *parent=0) | |
~LayerManager () | |
void | addLayer (LayerInterface *layer) |
QList< AbstractDataPlugin * > | dataPlugins () const |
QList< AbstractFloatItem * > | floatItems () const |
QList< LayerInterface * > | internalLayers () const |
void | removeLayer (LayerInterface *layer) |
void | renderLayers (GeoPainter *painter, ViewportParams *viewport) |
QList< RenderPlugin * > | renderPlugins () const |
bool | showBackground () const |
QList< AbstractDataPluginItem * > | whichItemAt (const QPoint &curpos) const |
Detailed Description
Handles rendering of all active layers in the correct order.
Definition at line 41 of file LayerManager.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 84 of file LayerManager.cpp.
Marble::LayerManager::~LayerManager | ( | ) |
Definition at line 92 of file LayerManager.cpp.
Member Function Documentation
void Marble::LayerManager::addLayer | ( | LayerInterface * | layer | ) |
Add a layer to be included in rendering.
Definition at line 263 of file LayerManager.cpp.
QList< AbstractDataPlugin * > Marble::LayerManager::dataPlugins | ( | ) | const |
Returns a list of all DataPlugins on the layer.
- Returns
- the list of DataPlugins
Definition at line 112 of file LayerManager.cpp.
QList< AbstractFloatItem * > Marble::LayerManager::floatItems | ( | ) | const |
Returns a list of all FloatItems on the layer.
- Returns
- the list of the floatItems
Definition at line 107 of file LayerManager.cpp.
QList< LayerInterface * > Marble::LayerManager::internalLayers | ( | ) | const |
Definition at line 273 of file LayerManager.cpp.
|
signal |
This signal is emitted when the settings of a plugin changed.
void Marble::LayerManager::removeLayer | ( | LayerInterface * | layer | ) |
Remove a layer from being included in rendering.
Definition at line 268 of file LayerManager.cpp.
void Marble::LayerManager::renderLayers | ( | GeoPainter * | painter, |
ViewportParams * | viewport | ||
) |
Definition at line 127 of file LayerManager.cpp.
|
signal |
Signal that a render item has been initialized.
QList< RenderPlugin * > Marble::LayerManager::renderPlugins | ( | ) | const |
Returns a list of all RenderPlugins on the layer, this includes float items.
- Returns
- the list of RenderPlugins
Definition at line 102 of file LayerManager.cpp.
|
signal |
This signal is emitted when the repaint of the view was requested by a plugin.
If available with the dirtyRegion
which is the region the view will change in. If dirtyRegion.isEmpty() returns true, the whole viewport has to be repainted.
|
slot |
Definition at line 239 of file LayerManager.cpp.
|
slot |
Definition at line 244 of file LayerManager.cpp.
|
slot |
Definition at line 249 of file LayerManager.cpp.
bool Marble::LayerManager::showBackground | ( | ) | const |
Definition at line 97 of file LayerManager.cpp.
|
signal |
QList< AbstractDataPluginItem * > Marble::LayerManager::whichItemAt | ( | const QPoint & | curpos | ) | const |
Returns all items of dataPlugins on the position curpos.
Definition at line 117 of file LayerManager.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.