16#ifndef QGSTERRAINTEXTUREGENERATOR_P_H
17#define QGSTERRAINTEXTUREGENERATOR_P_H
55class QgsTerrainTextureGenerator :
public QObject
60 QgsTerrainTextureGenerator(
const Qgs3DMapSettings &map );
66 int render(
const QgsRectangle &extent, QgsChunkNodeId nodeId,
const QString &debugText = QString() );
69 void cancelJob(
int jobId );
72 void waitForFinished();
75 QSize textureSize()
const {
return mTextureSize; }
77 void setTextureSize( QSize textureSize ) { mTextureSize = textureSize; }
81 void tileReady(
int jobId,
const QImage &image );
84 void onRenderingFinished();
87 QgsMapSettings baseMapSettings();
89 const Qgs3DMapSettings &mMap;
94 QgsChunkNodeId tileId;
95 QgsMapRendererSequentialJob *job =
nullptr;
100 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.