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

marble

  • sources
  • kde-4.14
  • kdeedu
  • marble
  • src
  • lib
  • marble
LayerInterface.h
Go to the documentation of this file.
1 //
2 // This file is part of the Marble Virtual Globe.
3 //
4 // This program is free software licensed under the GNU LGPL. You can
5 // find a copy of this license in LICENSE.txt in the top directory of
6 // the source code.
7 //
8 // Copyright 2008 Torsten Rahn <tackat@kde.org>
9 // Copyright 2008 Inge Wallin <inge@lysator.liu.se>
10 //
11 
12 #ifndef MARBLE_LAYERINTERFACE_H
13 #define MARBLE_LAYERINTERFACE_H
14 
15 #include "marble_export.h"
16 #include "RenderState.h"
17 
18 #include <QStringList>
19 
20 namespace Marble {
21 
22 class GeoPainter;
23 class GeoSceneLayer;
24 class ViewportParams;
25 
26 class MARBLE_EXPORT LayerInterface
27 {
28 public:
29 
31  virtual ~LayerInterface();
32 
51  virtual QStringList renderPosition() const = 0;
52 
61  virtual bool render( GeoPainter *painter, ViewportParams *viewport,
62  const QString &renderPos, GeoSceneLayer *layer ) = 0;
63 
69  virtual qreal zValue() const;
70 
71  virtual RenderState renderState() const;
72 
76  virtual QString runtimeTrace() const;
77 };
78 
79 } // namespace Marble
80 
81 #endif
Marble::GeoPainter
A painter that allows to draw geometric primitives on the map.
Definition: GeoPainter.h:98
Marble::LayerInterface
Definition: LayerInterface.h:26
Marble::GeoSceneLayer
Layer of a GeoScene document.
Definition: GeoSceneLayer.h:43
RenderState.h
MARBLE_EXPORT
#define MARBLE_EXPORT
Definition: marble_export.h:20
QString
Marble::RenderState
Definition: RenderState.h:22
QStringList
Marble::ViewportParams
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:44
marble_export.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:40 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