Marble::TextureTile Class Reference

#include <TextureTile.h>

Inheritance diagram for Marble::TextureTile:

Public Member Functions

 TextureTile (TileId const &tileId, QImage const &image, const Blending *blending)
Blending const * blending () const
int byteCount () const
QImage const * image () const
- Public Member Functions inherited from Marble::Tile
 Tile (TileId const &tileId)
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 57 of file TextureTile.h.

Member Function Documentation

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

Returns the kind of blending used for the texture tile.

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 92 of file TextureTile.h.

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

Returns the QImage that describes the look of the Tile.

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

Definition at line 87 of file TextureTile.h.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Sep 21 2020 23:20:59 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.