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
19
20class TextureMapperInterface
21{
22public:
23 TextureMapperInterface();
24 virtual ~TextureMapperInterface();
25
26 virtual void mapTexture( GeoPainter *painter,
27 const ViewportParams *viewport,
28 int tileZoomLevel,
29 const QRect &dirtyRect,
30 TextureColorizer *texColorizer ) = 0;
31
32 void setRepaintNeeded();
33
34protected:
35 bool m_repaintNeeded;
36};
37
38}
39
40#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 Tue Mar 26 2024 11:18:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.