Warning, file /education/marble/src/lib/marble/TextureMapperInterface.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // SPDX-License-Identifier: LGPL-2.1-or-later
0002 //
0003 // SPDX-FileCopyrightText: 2007 Andrew Manson <g.real.ate@gmail.com>
0004 // SPDX-FileCopyrightText: 2011 Bernhard Beschow <bbeschow@cs.tu-berlin.de>
0005 //
0006 
0007 #ifndef MARBLE_TEXTUREMAPPERINTERFACE_H
0008 #define MARBLE_TEXTUREMAPPERINTERFACE_H
0009 
0010 class QRect;
0011 
0012 namespace Marble
0013 {
0014 
0015 class GeoPainter;
0016 class TextureColorizer;
0017 class ViewportParams;
0018 
0019 
0020 class TextureMapperInterface
0021 {
0022 public:
0023     TextureMapperInterface();
0024     virtual ~TextureMapperInterface();
0025 
0026     virtual void mapTexture( GeoPainter *painter,
0027                              const ViewportParams *viewport,
0028                              int tileZoomLevel,
0029                              const QRect &dirtyRect,
0030                              TextureColorizer *texColorizer ) = 0;
0031 
0032     void setRepaintNeeded();
0033 
0034 protected:
0035     bool m_repaintNeeded;
0036 };
0037 
0038 }
0039 
0040 #endif