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;
108 #endif // QGSTERRAINTEXTUREGENERATOR_P_H