Marble

TextureMapperInterface.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2007 Andrew Manson <g.real.ate@gmail.com>
4// SPDX-FileCopyrightText: 2011 Bernhard Beschow <bbeschow@cs.tu-berlin.de>
5//
6
7#ifndef MARBLE_TEXTUREMAPPERINTERFACE_H
8#define MARBLE_TEXTUREMAPPERINTERFACE_H
9
10class QRect;
11
12namespace Marble
13{
14
15class GeoPainter;
16class TextureColorizer;
17class ViewportParams;
18
19class TextureMapperInterface
20{
21public:
22 TextureMapperInterface();
23 virtual ~TextureMapperInterface();
24
25 virtual void mapTexture(GeoPainter *painter, const ViewportParams *viewport, int tileZoomLevel, const QRect &dirtyRect, TextureColorizer *texColorizer) = 0;
26
27 void setRepaintNeeded();
28
29protected:
30 bool m_repaintNeeded;
31};
32
33}
34
35#endif
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:08:53 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.