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

marble

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

#include <TextureTile.h>

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

Public Member Functions

 TextureTile (TileId const &tileId, QImage const &image, const Blending *blending)
 
 ~TextureTile ()
 
Blending const * blending () const
 
int byteCount () const
 
QImage const * image () const
 
- Public Member Functions inherited from Marble::Tile
 Tile (TileId const &tileId)
 
virtual ~Tile ()
 
TileId const & id () const
 

Detailed Description

A class that resembles an image tile (extends Tile).

This tile provides a bitmap image for a certain (geographic) area and for a given zoom level. Each Tile can be identified via a unique TileId.

A stack of Tiles that cover the same area and the same zoom level can be stored (and painted) layer by layer in a StackedTile object. For this purpose each Tile specifies a blending type.

Usually the tiles are organized in so called quad tiles: This means that with increasing zoom level four other tiles cover the same area as a single "parent" tile in the previous zoom level. These four tiles have the same pixel size as the "parent" tile.

The process of "filling the tile with data is done in stages: The State describes the current progress of loading the data (Empty, Scaled, Expired, StateUptodate).

The life time cycle of a Tile can also be influenced by its expiration time which will trigger a reload of the tile data.

Definition at line 60 of file TextureTile.h.

Constructor & Destructor Documentation

Marble::TextureTile::TextureTile ( TileId const &  tileId,
QImage const &  image,
const Blending *  blending 
)

Definition at line 30 of file TextureTile.cpp.

Marble::TextureTile::~TextureTile ( )

Definition at line 38 of file TextureTile.cpp.

Member Function Documentation

Blending const * Marble::TextureTile::blending ( ) const
inline

Returns the kind of blending used for the texture tile.

Returns
A pointer to the blending object used for painting/merging the Tile.

If no blending is set the pointer returned will be zero.

Definition at line 95 of file TextureTile.h.

int Marble::TextureTile::byteCount ( ) const
inline

Definition at line 100 of file TextureTile.h.

QImage const * Marble::TextureTile::image ( ) const
inline

Returns the QImage that describes the look of the Tile.

Returns
A non-zero pointer to a QImage associated with the tile.

Definition at line 90 of file TextureTile.h.


The documentation for this class was generated from the following files:
  • TextureTile.h
  • TextureTile.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:46 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