QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
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
void setBaseTileFromExtent(const QgsRectangle &extentInTerrainCrs)
Determines base tile from map extent.
void readXml(const QDomElement &elem) override
Read terrain generator's configuration from XML.
int terrainBaseZ
Coordinates of the base tile.
QuantizedMeshTerrainGenerator()
QgsTerrainGenerator::Type type() const override
What texture generator implementation is this.
QgsChunkLoader * createChunkLoader(QgsChunkNode *node) const override SIP_FACTORY
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.
A rectangle specified with double values.
QgsRectangle extent() const override
extent of the terrain in terrain's CRS
3 Base class for generators of terrain.
void writeXml(QDomElement &elem) const override
Write terrain generator's configuration to XML.
Type
Enumeration of the available terrain generators.
3 Terrain generator using downloaded terrain tiles using quantized mesh specification