16#ifndef QGSTERRAINTEXTUREGENERATOR_P_H
17#define QGSTERRAINTEXTUREGENERATOR_P_H
56class QgsTerrainTextureGenerator :
public QObject
61 QgsTerrainTextureGenerator(
const Qgs3DMapSettings &map );
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();
88 QgsMapSettings baseMapSettings();
90 const Qgs3DMapSettings &mMap;
95 QgsChunkNodeId tileId;
96 QgsMapRendererSequentialJob *job =
nullptr;
101 QHash<QgsMapRendererSequentialJob *, JobData> mJobs;
Job implementation that renders everything sequentially in one thread.
Contains configuration for rendering maps.
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
Represents a raster layer.