Marble

GenericScanlineTextureMapper.h
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2011 Bernhard Beschow <bbeschow@cs.tu-berlin.de>
4//
5
6#ifndef MARBLE_GENERICSCANLINETEXTUREMAPPER_H
7#define MARBLE_GENERICSCANLINETEXTUREMAPPER_H
8
9#include "TextureMapperInterface.h"
10
11#include <QImage>
12#include <QThreadPool>
13
14#include <MarbleGlobal.h>
15
16namespace Marble
17{
18
19class StackedTileLoader;
20
21class GenericScanlineTextureMapper : public TextureMapperInterface
22{
23public:
24 explicit GenericScanlineTextureMapper(StackedTileLoader *tileLoader);
25
26 void mapTexture(GeoPainter *painter, const ViewportParams *viewport, int tileZoomLevel, const QRect &dirtyRect, TextureColorizer *texColorizer) override;
27
28private:
29 class RenderJob;
30
31 void mapTexture(const ViewportParams *viewport, int tileZoomLevel, MapQuality mapQuality);
32
33 StackedTileLoader *const m_tileLoader;
34 int m_radius;
35 QImage m_canvasImage;
36 QThreadPool m_threadPool;
37};
38
39}
40
41#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 Mon Nov 18 2024 12:15:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.