16#ifndef QGSFLATTERRAINGENERATOR_H
17#define QGSFLATTERRAINGENERATOR_H
23#include <Qt3DExtras/QPlaneGeometry>
30class FlatTerrainChunkLoader :
public QgsTerrainTileLoader
36 FlatTerrainChunkLoader( QgsTerrainEntity *terrain, QgsChunkNode *mNode );
38 Qt3DCore::QEntity *createEntity( Qt3DCore::QEntity *parent )
override;
41 Qt3DExtras::QPlaneGeometry *mTileGeometry =
nullptr;
59 QgsChunkLoader *createChunkLoader( QgsChunkNode *node )
const override SIP_FACTORY;
62 Type type() const override;
65 void rootChunkHeightRange(
float &hMin,
float &hMax ) const override;
66 void writeXml( QDomElement &elem ) const override;
67 void readXml( const QDomElement &elem ) override;
76 void updateTilingScheme();
This class represents a coordinate reference system (CRS).
QgsFlatTerrainGenerator()=default
Creates flat terrain generator object.
A rectangle specified with double values.
Type
Enumeration of the available terrain generators.
virtual QgsTerrainGenerator * clone() const =0SIP_FACTORY
Makes a copy of the current instance.
const QgsCoordinateReferenceSystem & crs