• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • Marble
  • GroundLayer
Public Member Functions | List of all members
Marble::GroundLayer Class Reference

#include <GroundLayer.h>

Inheritance diagram for Marble::GroundLayer:
Inheritance graph
[legend]

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.

bool Marble::GroundLayer::render ( GeoPainter *  painter,
ViewportParams *  viewport,
const QString &  renderPos = "NONE",
GeoSceneLayer *  layer = 0 
)
virtual

Renders the content provided by the layer on the viewport.

Parameters
painterpainter object allowing to paint on the map
viewportmetadata, such as current projection, screen dimension, etc.
renderPoscurrent render position
layerdeprecated, always zero (NULL)
Returns
true Returns whether the rendering has been successful

Implements Marble::LayerInterface.

Definition at line 33 of file GroundLayer.cpp.

QStringList Marble::GroundLayer::renderPosition ( ) const
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.

RenderState Marble::GroundLayer::renderState ( ) const
virtual

Reimplemented from Marble::LayerInterface.

Definition at line 66 of file GroundLayer.cpp.

virtual QString Marble::GroundLayer::runtimeTrace ( ) const
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.

qreal Marble::GroundLayer::zValue ( ) const
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:
  • GroundLayer.h
  • GroundLayer.cpp
This file is part of the KDE documentation.
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.

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