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

marble

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

#include <GeoSceneMap.h>

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

Public Member Functions

 GeoSceneMap ()
 
 ~GeoSceneMap ()
 
void addFilter (GeoSceneFilter *)
 
void addLayer (GeoSceneLayer *)
 
QColor backgroundColor () const
 
GeoSceneFilter * filter (const QString &name)
 
QVector< GeoSceneFilter * > filters () const
 
bool hasTextureLayers () const
 
bool hasVectorLayers () const
 
QColor labelColor () const
 
GeoSceneLayer * layer (const QString &name)
 
const GeoSceneLayer * layer (const QString &name) const
 
QVector< GeoSceneLayer * > layers () const
 
virtual const char * nodeType () const
 
void setBackgroundColor (const QColor &)
 
void setLabelColor (const QColor &)
 
- Public Member Functions inherited from Marble::GeoNode
 GeoNode ()
 
virtual ~GeoNode ()
 

Detailed Description

Map layer structure of a GeoScene document.

Definition at line 44 of file GeoSceneMap.h.

Constructor & Destructor Documentation

Marble::GeoSceneMap::GeoSceneMap ( )

Definition at line 66 of file GeoSceneMap.cpp.

Marble::GeoSceneMap::~GeoSceneMap ( )

Definition at line 71 of file GeoSceneMap.cpp.

Member Function Documentation

void Marble::GeoSceneMap::addFilter ( GeoSceneFilter *  filter)

Add a new filter to the map.

Parameters
sectionThe new filter

Definition at line 143 of file GeoSceneMap.cpp.

void Marble::GeoSceneMap::addLayer ( GeoSceneLayer *  layer)

Add a new layer to the map.

Parameters
sectionThe new layer

Definition at line 81 of file GeoSceneMap.cpp.

QColor Marble::GeoSceneMap::backgroundColor ( ) const

Definition at line 215 of file GeoSceneMap.cpp.

GeoSceneFilter * Marble::GeoSceneMap::filter ( const QString &  name)

Return a filter by its name.

Parameters
nameThe name of the filter
Returns
A pointer to the filter request by its name

Definition at line 164 of file GeoSceneMap.cpp.

QVector< GeoSceneFilter * > Marble::GeoSceneMap::filters ( ) const

Return all filters.

Returns
A vector that contains pointers to all available filters

Definition at line 185 of file GeoSceneMap.cpp.

bool Marble::GeoSceneMap::hasTextureLayers ( ) const

Checks for valid layers that contain texture data.

Returns
Whether a texture layer got created internally

NOTE: The existence of the file(s) that contain the actual data still needs to get checked at runtime!

Definition at line 190 of file GeoSceneMap.cpp.

bool Marble::GeoSceneMap::hasVectorLayers ( ) const

Checks for valid layers that contain vector data.

Returns
Whether a vector layer got created internally

NOTE: The existence of the file(s) that contain the actual data still needs to get checked at runtime!

Definition at line 203 of file GeoSceneMap.cpp.

QColor Marble::GeoSceneMap::labelColor ( ) const

Definition at line 226 of file GeoSceneMap.cpp.

GeoSceneLayer * Marble::GeoSceneMap::layer ( const QString &  name)

Return a layer by its name.

Parameters
nameThe name of the layer
Returns
A pointer to the layer request by its name

Definition at line 102 of file GeoSceneMap.cpp.

const GeoSceneLayer * Marble::GeoSceneMap::layer ( const QString &  name) const

Definition at line 123 of file GeoSceneMap.cpp.

QVector< GeoSceneLayer * > Marble::GeoSceneMap::layers ( ) const

Return all layers.

Returns
A vector that contains pointers to all available layers

Definition at line 138 of file GeoSceneMap.cpp.

const char * Marble::GeoSceneMap::nodeType ( ) const
virtual

Reimplemented from Marble::GeoNode.

Definition at line 76 of file GeoSceneMap.cpp.

void Marble::GeoSceneMap::setBackgroundColor ( const QColor &  backgroundColor)

Definition at line 220 of file GeoSceneMap.cpp.

void Marble::GeoSceneMap::setLabelColor ( const QColor &  backgroundColor)

Definition at line 231 of file GeoSceneMap.cpp.


The documentation for this class was generated from the following files:
  • GeoSceneMap.h
  • GeoSceneMap.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