QgsFlatTerrainGenerator class

3 Terrain generator that creates a simple square flat area.

Base classes

class QgsTerrainGenerator
3 Base class for generators of terrain.

Constructors, destructors, conversion operators

QgsFlatTerrainGenerator() defaulted
Creates flat terrain generator object.

Public functions

auto clone() const override SIP_FACTORY -> QgsTerrainGenerator* virtual
Makes a copy of the current instance.
auto crs() const -> QgsCoordinateReferenceSystem
Returns CRS of the terrain.
auto extent() const -> QgsRectangle override
extent of the terrain in terrain's CRS
void readXml(const QDomElement& elem) override
Read terrain generator's configuration from XML.
void rootChunkHeightRange(float& hMin, float& hMax) const override
Returns height range of the root chunk in world coordinates.
void setCrs(const QgsCoordinateReferenceSystem& crs)
Sets CRS of the terrain.
void setExtent(const QgsRectangle& extent)
Sets extent of the terrain.
auto type() const -> Type override
What texture generator implementation is this.
void writeXml(QDomElement& elem) const override
Write terrain generator's configuration to XML.