Marble

TextureMapperInterface.h
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2007 Andrew Manson <[email protected]>
4 // SPDX-FileCopyrightText: 2011 Bernhard Beschow <[email protected]>
5 //
6 
7 #ifndef MARBLE_TEXTUREMAPPERINTERFACE_H
8 #define MARBLE_TEXTUREMAPPERINTERFACE_H
9 
10 class QRect;
11 
12 namespace Marble
13 {
14 
15 class GeoPainter;
16 class TextureColorizer;
17 class ViewportParams;
18 
19 
20 class TextureMapperInterface
21 {
22 public:
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 
34 protected:
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-2023 The KDE developers.
Generated on Mon Oct 2 2023 03:52:10 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.