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;
58 QgsChunkLoader *createChunkLoader( QgsChunkNode *node )
const override SIP_FACTORY;
61 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;
75 void updateTilingScheme();
This class represents a coordinate reference system (CRS).
QgsFlatTerrainGenerator()=default
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