16 #ifndef QGSFLATTERRAINGENERATOR_H
17 #define QGSFLATTERRAINGENERATOR_H
24 #include <Qt3DExtras/QPlaneGeometry>
31 class FlatTerrainChunkLoader :
public QgsTerrainTileLoader
37 FlatTerrainChunkLoader( QgsTerrainEntity *terrain, QgsChunkNode *mNode );
39 Qt3DCore::QEntity *createEntity( Qt3DCore::QEntity *parent )
override;
42 Qt3DExtras::QPlaneGeometry *mTileGeometry =
nullptr;
59 QgsChunkLoader *createChunkLoader( QgsChunkNode *node )
const override SIP_FACTORY;
62 Type type() const override;
64 void rootChunkHeightRange(
float &hMin,
float &hMax ) const override;
65 void writeXml( QDomElement &elem ) const override;
66 void readXml( const QDomElement &elem ) override;
78 void updateTilingScheme();
87 #endif // QGSFLATTERRAINGENERATOR_H