16 #ifndef QGSFLATTERRAINGENERATOR_H 17 #define QGSFLATTERRAINGENERATOR_H 24 #include <Qt3DExtras/QPlaneGeometry> 29 class FlatTerrainChunkLoader :
public QgsTerrainTileLoader
35 FlatTerrainChunkLoader( QgsTerrainEntity *terrain, QgsChunkNode *mNode );
37 Qt3DCore::QEntity *createEntity( Qt3DCore::QEntity *parent )
override;
40 Qt3DExtras::QPlaneGeometry *mTileGeometry =
nullptr;
57 QgsChunkLoader *createChunkLoader( QgsChunkNode *node )
const override SIP_FACTORY;
60 Type type()
const override;
62 void rootChunkHeightRange(
float &hMin,
float &hMax )
const override;
63 void writeXml( QDomElement &elem )
const override;
64 void readXml(
const QDomElement &elem )
override;
76 void updateTilingScheme();
85 #endif // QGSFLATTERRAINGENERATOR_H 3 Terrain generator that creates a simple square flat area.
A rectangle specified with double values.
QgsCoordinateReferenceSystem crs() const
Returns CRS of the terrain.
const QgsCoordinateReferenceSystem & crs
Type
Enumeration of the available terrain generators.
3 Base class for generators of terrain.
This class represents a coordinate reference system (CRS).