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 |
virtual QString | runtimeTrace () const |
void | setColor (const QColor &color) |
virtual qreal | zValue () const |
![]() | |
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
true
Returns 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.
|
inlinevirtual |
Returns a debug line for perfo/tracing issues.
Reimplemented from Marble::LayerInterface.
Definition at line 40 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-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.