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

marble

  • Marble
  • TextureLayer
Public Slots | Signals | Public Member Functions | List of all members
Marble::TextureLayer Class Reference

#include <TextureLayer.h>

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

Public Slots

void downloadStackedTile (const TileId &stackedTileId)
 
void reload ()
 
void reset ()
 
void setMapTheme (const QVector< const GeoSceneTextureTile * > &textures, const GeoSceneGroup *textureLayerSettings, const QString &seaFile, const QString &landFile)
 
void setNeedsUpdate ()
 
void setProjection (Projection projection)
 
void setShowCityLights (bool show)
 
void setShowRelief (bool show)
 
void setShowSunShading (bool show)
 
void setShowTileId (bool show)
 
void setVolatileCacheLimit (quint64 kilobytes)
 

Signals

void repaintNeeded ()
 
void tileLevelChanged (int)
 

Public Member Functions

 TextureLayer (HttpDownloadManager *downloadManager, const SunLocator *sunLocator, VectorComposer *veccomposer, const PluginManager *pluginManager, QAbstractItemModel *groundOverlayModel)
 
 ~TextureLayer ()
 
void addLandDocument (const GeoDataDocument *landDocument)
 
void addSeaDocument (const GeoDataDocument *seaDocument)
 
int preferredRadiusCeil (int radius) const
 
int preferredRadiusFloor (int radius) const
 
virtual bool render (GeoPainter *painter, ViewportParams *viewport, const QString &renderPos="NONE", GeoSceneLayer *layer=0)
 
QStringList renderPosition () const
 
virtual QString runtimeTrace () const
 
bool showCityLights () const
 
bool showSunShading () const
 
int tileColumnCount (int level) const
 
GeoSceneTiled::Projection tileProjection () const
 
int tileRowCount (int level) const
 
QSize tileSize () const
 
int tileZoomLevel () const
 
qint64 volatileCacheLimit () const
 
- Public Member Functions inherited from Marble::LayerInterface
virtual ~LayerInterface ()
 
virtual qreal zValue () const
 

Detailed Description

Definition at line 39 of file TextureLayer.h.

Constructor & Destructor Documentation

Marble::TextureLayer::TextureLayer ( HttpDownloadManager *  downloadManager,
const SunLocator *  sunLocator,
VectorComposer *  veccomposer,
const PluginManager *  pluginManager,
QAbstractItemModel *  groundOverlayModel 
)

Definition at line 234 of file TextureLayer.cpp.

Marble::TextureLayer::~TextureLayer ( )

Definition at line 255 of file TextureLayer.cpp.

Member Function Documentation

void Marble::TextureLayer::addLandDocument ( const GeoDataDocument *  landDocument)

Definition at line 275 of file TextureLayer.cpp.

void Marble::TextureLayer::addSeaDocument ( const GeoDataDocument *  seaDocument)

Definition at line 267 of file TextureLayer.cpp.

void Marble::TextureLayer::downloadStackedTile ( const TileId &  stackedTileId)
slot

Definition at line 447 of file TextureLayer.cpp.

int Marble::TextureLayer::preferredRadiusCeil ( int  radius) const

Definition at line 502 of file TextureLayer.cpp.

int Marble::TextureLayer::preferredRadiusFloor ( int  radius) const

Definition at line 516 of file TextureLayer.cpp.

void Marble::TextureLayer::reload ( )
slot

Definition at line 437 of file TextureLayer.cpp.

bool Marble::TextureLayer::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 293 of file TextureLayer.cpp.

QStringList Marble::TextureLayer::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 262 of file TextureLayer.cpp.

void Marble::TextureLayer::repaintNeeded ( )
signal
void Marble::TextureLayer::reset ( )
slot

Definition at line 429 of file TextureLayer.cpp.

QString Marble::TextureLayer::runtimeTrace ( ) const
virtual

Returns a debug line for perfo/tracing issues.

Reimplemented from Marble::LayerInterface.

Definition at line 345 of file TextureLayer.cpp.

void Marble::TextureLayer::setMapTheme ( const QVector< const GeoSceneTextureTile * > &  textures,
const GeoSceneGroup *  textureLayerSettings,
const QString &  seaFile,
const QString &  landFile 
)
slot

Definition at line 452 of file TextureLayer.cpp.

void Marble::TextureLayer::setNeedsUpdate ( )
slot

Definition at line 415 of file TextureLayer.cpp.

void Marble::TextureLayer::setProjection ( Projection  projection)
slot

Set the Projection used for the map.

Parameters
projectionprojection type (e.g. Spherical, Equirectangular, Mercator)

Definition at line 386 of file TextureLayer.cpp.

void Marble::TextureLayer::setShowCityLights ( bool  show)
slot

Definition at line 372 of file TextureLayer.cpp.

void Marble::TextureLayer::setShowRelief ( bool  show)
slot

Definition at line 350 of file TextureLayer.cpp.

void Marble::TextureLayer::setShowSunShading ( bool  show)
slot

Definition at line 357 of file TextureLayer.cpp.

void Marble::TextureLayer::setShowTileId ( bool  show)
slot

Definition at line 379 of file TextureLayer.cpp.

void Marble::TextureLayer::setVolatileCacheLimit ( quint64  kilobytes)
slot

Definition at line 424 of file TextureLayer.cpp.

bool Marble::TextureLayer::showCityLights ( ) const

Definition at line 288 of file TextureLayer.cpp.

bool Marble::TextureLayer::showSunShading ( ) const

Definition at line 283 of file TextureLayer.cpp.

int Marble::TextureLayer::tileColumnCount ( int  level) const

Definition at line 487 of file TextureLayer.cpp.

void Marble::TextureLayer::tileLevelChanged ( int  )
signal
GeoSceneTiled::Projection Marble::TextureLayer::tileProjection ( ) const

Definition at line 482 of file TextureLayer.cpp.

int Marble::TextureLayer::tileRowCount ( int  level) const

Definition at line 492 of file TextureLayer.cpp.

QSize Marble::TextureLayer::tileSize ( ) const

Definition at line 477 of file TextureLayer.cpp.

int Marble::TextureLayer::tileZoomLevel ( ) const

Return the current tile zoom level.

For example for OpenStreetMap possible values are 1..18, for BlueMarble 0..6.

Definition at line 472 of file TextureLayer.cpp.

qint64 Marble::TextureLayer::volatileCacheLimit ( ) const

Definition at line 497 of file TextureLayer.cpp.


The documentation for this class was generated from the following files:
  • TextureLayer.h
  • TextureLayer.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:57 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
  • kstars
  • libkdeedu
  •   keduvocdocument
  • 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