16 #ifndef QGSTERRAINTEXTUREIMAGE_P_H
17 #define QGSTERRAINTEXTUREIMAGE_P_H
32 #include <Qt3DRender/QAbstractTextureImage>
36 class QgsTerrainTextureGenerator;
46 class QgsTerrainTextureImage :
public Qt3DRender::QAbstractTextureImage
51 QgsTerrainTextureImage(
const QImage &image,
const QgsRectangle &extent,
const QString &debugText, Qt3DCore::QNode *parent =
nullptr );
53 Qt3DRender::QTextureImageDataGeneratorPtr dataGenerator()
const override;
58 void setImage(
const QImage &image );
60 QImage getImage()
const {
return mImage; }
65 QString imageDebugText()
const {
return mDebugText; }
76 #endif // QGSTERRAINTEXTUREIMAGE_P_H