16 #ifndef QGSTERRAINTEXTUREGENERATOR_P_H
17 #define QGSTERRAINTEXTUREGENERATOR_P_H
56 class QgsTerrainTextureGenerator :
public QObject
67 int render(
const QgsRectangle &extent, QgsChunkNodeId nodeId,
const QString &debugText = QString() );
70 void cancelJob(
int jobId );
73 void waitForFinished();
76 QSize textureSize()
const {
return mTextureSize; }
78 void setTextureSize( QSize textureSize ) { mTextureSize = textureSize; }
82 void tileReady(
int jobId,
const QImage &image );
85 void onRenderingFinished();
95 QgsChunkNodeId tileId;
101 QHash<QgsMapRendererSequentialJob *, JobData> mJobs;
Job implementation that renders everything sequentially in one thread.
The QgsMapSettings class contains configuration for rendering of the map.
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
Represents a raster layer.
A rectangle specified with double values.