Marble::GeoSceneMap

Search for usage in LXR

Marble::GeoSceneMap Class Reference

#include <GeoSceneMap.h>

Inheritance diagram for Marble::GeoSceneMap:

Public Member Functions

void addFilter (GeoSceneFilter *)
 
void addLayer (GeoSceneLayer *)
 
QColor backgroundColor () const
 
QVariantList center () const
 
GeoSceneFilterfilter (const QString &name)
 
QList< GeoSceneFilter * > filters () const
 
bool hasTextureLayers () const
 
bool hasVectorLayers () const
 
QColor highlightBrushColor () const
 
QColor highlightPenColor () const
 
QColor labelColor () const
 
GeoSceneLayerlayer (const QString &name)
 
const GeoSceneLayerlayer (const QString &name) const
 
QList< GeoSceneLayer * > layers () const
 
const char * nodeType () const override
 
void setBackgroundColor (const QColor &)
 
void setCenter (const QString &coordinateString)
 
void setHighlightBrushColor (const QColor &)
 
void setHighlightPenColor (const QColor &)
 
void setLabelColor (const QColor &)
 
- Public Member Functions inherited from Marble::GeoNode

Detailed Description

Map layer structure of a GeoScene document.

Definition at line 31 of file GeoSceneMap.h.

Constructor & Destructor Documentation

◆ GeoSceneMap()

Marble::GeoSceneMap::GeoSceneMap ( )

Definition at line 53 of file GeoSceneMap.cpp.

◆ ~GeoSceneMap()

Marble::GeoSceneMap::~GeoSceneMap ( )
override

Definition at line 58 of file GeoSceneMap.cpp.

Member Function Documentation

◆ addFilter()

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

Add a new filter to the map.

Parameters
filterThe new filter

Definition at line 129 of file GeoSceneMap.cpp.

◆ addLayer()

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

Add a new layer to the map.

Parameters
layerThe new layer

Definition at line 68 of file GeoSceneMap.cpp.

◆ backgroundColor()

QColor Marble::GeoSceneMap::backgroundColor ( ) const

Definition at line 226 of file GeoSceneMap.cpp.

◆ center()

QVariantList Marble::GeoSceneMap::center ( ) const

@breif Get starting center with cooredinates used if a scene downloadUrl do not handle elements in other locations return A QVariantList of lon lat as specified in the dgml

Definition at line 149 of file GeoSceneMap.cpp.

◆ filter()

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 174 of file GeoSceneMap.cpp.

◆ filters()

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

Return all filters.

Returns
A vector that contains pointers to all available filters

Definition at line 195 of file GeoSceneMap.cpp.

◆ hasTextureLayers()

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 200 of file GeoSceneMap.cpp.

◆ hasVectorLayers()

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 213 of file GeoSceneMap.cpp.

◆ highlightBrushColor()

QColor Marble::GeoSceneMap::highlightBrushColor ( ) const

Definition at line 246 of file GeoSceneMap.cpp.

◆ highlightPenColor()

QColor Marble::GeoSceneMap::highlightPenColor ( ) const

Definition at line 256 of file GeoSceneMap.cpp.

◆ labelColor()

QColor Marble::GeoSceneMap::labelColor ( ) const

Definition at line 236 of file GeoSceneMap.cpp.

◆ layer() [1/2]

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 88 of file GeoSceneMap.cpp.

◆ layer() [2/2]

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

Definition at line 109 of file GeoSceneMap.cpp.

◆ layers()

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

Return all layers.

Returns
A vector that contains pointers to all available layers

Definition at line 124 of file GeoSceneMap.cpp.

◆ nodeType()

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

Provides type information for downcasting a GeoNode.

Implements Marble::GeoNode.

Definition at line 63 of file GeoSceneMap.cpp.

◆ setBackgroundColor()

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

Definition at line 231 of file GeoSceneMap.cpp.

◆ setCenter()

void Marble::GeoSceneMap::setCenter ( const QString & coordinateString)

@ brief Set starting center with lon lat cooredinates used if a scene downloadUrl do not handle elements in other locations

Definition at line 154 of file GeoSceneMap.cpp.

◆ setHighlightBrushColor()

void Marble::GeoSceneMap::setHighlightBrushColor ( const QColor & highlightBrushColor)

Definition at line 251 of file GeoSceneMap.cpp.

◆ setHighlightPenColor()

void Marble::GeoSceneMap::setHighlightPenColor ( const QColor & highlightPenColor)

Definition at line 261 of file GeoSceneMap.cpp.

◆ setLabelColor()

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

Definition at line 241 of file GeoSceneMap.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:04 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.