marble
#include <GroundLayer.h>

Public Member Functions | |
| GroundLayer () | |
| ~GroundLayer () | |
| QColor | color () const |
| virtual bool | render (GeoPainter *painter, ViewportParams *viewport, const QString &renderPos="NONE", GeoSceneLayer *layer=0) |
| virtual QStringList | renderPosition () const |
| RenderState | renderState () const |
| virtual QString | runtimeTrace () const |
| void | setColor (const QColor &color) |
| virtual qreal | zValue () const |
Public Member Functions inherited from Marble::LayerInterface | |
| virtual | ~LayerInterface () |
Detailed Description
Definition at line 21 of file GroundLayer.h.
Constructor & Destructor Documentation
| Marble::GroundLayer::GroundLayer | ( | ) |
Definition at line 19 of file GroundLayer.cpp.
| Marble::GroundLayer::~GroundLayer | ( | ) |
Definition at line 24 of file GroundLayer.cpp.
Member Function Documentation
| QColor Marble::GroundLayer::color | ( | ) | const |
Definition at line 61 of file GroundLayer.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 33 of file GroundLayer.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 28 of file GroundLayer.cpp.
|
virtual |
Reimplemented from Marble::LayerInterface.
Definition at line 66 of file GroundLayer.cpp.
|
inlinevirtual |
Returns a debug line for perfo/tracing issues.
Reimplemented from Marble::LayerInterface.
Definition at line 42 of file GroundLayer.h.
| void Marble::GroundLayer::setColor | ( | const QColor & | color | ) |
Definition at line 56 of file GroundLayer.cpp.
|
virtual |
Returns the z value of the layer (default: 0.0).
If two layers are painted at the same render position, the one with the higher z value is painted on top. If both have the same z value, their paint order is undefined.
Reimplemented from Marble::LayerInterface.
Definition at line 51 of file GroundLayer.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:45 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