16 #ifndef QGSFLATTERRAINGENERATOR_H 17 #define QGSFLATTERRAINGENERATOR_H 38 QgsChunkLoader *createChunkLoader( QgsChunkNode *node )
const override SIP_FACTORY;
44 void writeXml( QDomElement &elem )
const override;
45 void readXml(
const QDomElement &elem )
override;
57 void updateTilingScheme();
66 #endif // QGSFLATTERRAINGENERATOR_H 3 Terrain generator that creates a simple square flat area.
A rectangle specified with double values.
virtual void rootChunkHeightRange(float &hMin, float &hMax) const
Returns height range of the root chunk in world coordinates.
QgsCoordinateReferenceSystem crs() const
Returns CRS of the terrain.
virtual Type type() const =0
What texture generator implementation is this.
virtual void readXml(const QDomElement &elem)=0
Read terrain generator's configuration from XML.
virtual QgsTerrainGenerator * clone() const =0SIP_FACTORY
Makes a copy of the current instance.
Type
Enumeration of the available terrain generators.
3 Base class for generators of terrain.
virtual void writeXml(QDomElement &elem) const =0
Write terrain generator's configuration to XML.
This class represents a coordinate reference system (CRS).
virtual QgsRectangle extent() const =0
extent of the terrain in terrain's CRS