QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
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.
QgsRectangle extent() const override
extent of the terrain in terrain's CRS
void writeXml(QDomElement &elem) const override
Write terrain generator's configuration to XML.
Type
Enumeration of the available terrain generators.