15 #ifndef QUANTIZEDMESHTERRAINGENERATOR_H 16 #define QUANTIZEDMESHTERRAINGENERATOR_H 39 void writeXml( QDomElement &elem )
const override;
40 void readXml(
const QDomElement &elem )
override;
48 #endif // QUANTIZEDMESHTERRAINGENERATOR_H A rectangle specified with double values.
void readXml(const QDomElement &elem) override
Read terrain generator's configuration from XML.
QuantizedMeshTerrainGenerator()
QgsChunkLoader * createChunkLoader(QgsChunkNode *node) const override SIP_FACTORY
QgsRectangle extent() const override
extent of the terrain in terrain's CRS
QgsTerrainGenerator::Type type() const override
What texture generator implementation is this.
3 Terrain generator using downloaded terrain tiles using quantized mesh specification ...
void quadTreeTileToBaseTile(int x, int y, int z, int &tx, int &ty, int &tz) const
Converts tile coordinates (x,y,z) in our quadtree to tile coordinates of quantized mesh tree...
void writeXml(QDomElement &elem) const override
Write terrain generator's configuration to XML.
Type
Enumeration of the available terrain generators.
3 Base class for generators of terrain.
void setBaseTileFromExtent(const QgsRectangle &extentInTerrainCrs)
Determines base tile from map extent.
int terrainBaseZ
Coordinates of the base tile.