QGIS API Documentation
3.2.0-Bonn (bc43194)
|
3 Stores vertex and index buffer for one tile of quantized mesh terrain. More...
#include <quantizedmeshgeometry.h>
Public Member Functions | |
QuantizedMeshGeometry (QuantizedMeshTile *t, const Map3D &map, const QgsMapToPixel &mapToPixel, const QgsCoordinateTransform &terrainToMap, QNode *parent=nullptr) | |
Constructs geometry based on the loaded tile data. More... | |
Static Public Member Functions | |
static void | downloadTileIfMissing (int tx, int ty, int tz) |
Downloads a tile to to a file in the local disk cache. More... | |
static QuantizedMeshTile * | readTile (int tx, int ty, int tz, const QgsRectangle &extent) |
Reads a tile from a file in the local disk cache. More... | |
3 Stores vertex and index buffer for one tile of quantized mesh terrain.
Definition at line 76 of file quantizedmeshgeometry.h.
QuantizedMeshGeometry::QuantizedMeshGeometry | ( | QuantizedMeshTile * | t, |
const Map3D & | map, | ||
const QgsMapToPixel & | mapToPixel, | ||
const QgsCoordinateTransform & | terrainToMap, | ||
QNode * | parent = nullptr |
||
) |
Constructs geometry based on the loaded tile data.
Definition at line 276 of file quantizedmeshgeometry.cpp.
|
static |
Downloads a tile to to a file in the local disk cache.
Definition at line 238 of file quantizedmeshgeometry.cpp.
|
static |
Reads a tile from a file in the local disk cache.
Definition at line 146 of file quantizedmeshgeometry.cpp.