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;
60 QgsChunkLoader *createChunkLoader( QgsChunkNode *node )
const override SIP_FACTORY;
63 Type type() const override;
66 void rootChunkHeightRange(
float &hMin,
float &hMax ) const override;
67 void writeXml( QDomElement &elem ) const override;
68 void readXml( const QDomElement &elem ) override;
77 void updateTilingScheme();
This class represents a coordinate reference system (CRS).
QgsFlatTerrainGenerator()=default
Creates flat terrain generator object.
A rectangle specified with double values.
virtual QgsTerrainGenerator * clone() const =0SIP_FACTORY
Makes a copy of the current instance.
Type
Enumeration of the available terrain generators.
const QgsCoordinateReferenceSystem & crs