15#ifndef QUANTIZEDMESHTERRAINGENERATOR_H
16#define QUANTIZEDMESHTERRAINGENERATOR_H
41 void writeXml( QDomElement &elem )
const override;
42 void readXml(
const QDomElement &elem )
override;
A rectangle specified with double values.
Type
Enumeration of the available terrain generators.
QgsTerrainGenerator::Type type() const override
What texture generator implementation is this.
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.
int terrainBaseZ
Coordinates of the base tile.
QgsChunkLoader * createChunkLoader(QgsChunkNode *node) const override SIP_FACTORY
void readXml(const QDomElement &elem) override
Read terrain generator's configuration from XML.
QuantizedMeshTerrainGenerator()
void setBaseTileFromExtent(const QgsRectangle &extentInTerrainCrs)
Determines base tile from map extent.
void writeXml(QDomElement &elem) const override
Write terrain generator's configuration to XML.
QgsRectangle extent() const override
extent of the terrain in terrain's CRS