QGIS API Documentation  3.18.1-Zürich (202f1bf7e5)
Public Member Functions | Static Public Member Functions | List of all members
QuantizedMeshGeometry Class Reference

3 More...

#include <quantizedmeshgeometry.h>

Inheritance diagram for QuantizedMeshGeometry:
Inheritance graph
[legend]

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 QuantizedMeshTilereadTile (int tx, int ty, int tz, const QgsRectangle &extent)
 Reads a tile from a file in the local disk cache. More...
 

Detailed Description

3

Stores vertex and index buffer for one tile of quantized mesh terrain.

Since
QGIS 3.0

Definition at line 76 of file quantizedmeshgeometry.h.

Constructor & Destructor Documentation

◆ QuantizedMeshGeometry()

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.

Member Function Documentation

◆ downloadTileIfMissing()

void QuantizedMeshGeometry::downloadTileIfMissing ( int  tx,
int  ty,
int  tz 
)
static

Downloads a tile to to a file in the local disk cache.

Definition at line 238 of file quantizedmeshgeometry.cpp.

◆ readTile()

QuantizedMeshTile * QuantizedMeshGeometry::readTile ( int  tx,
int  ty,
int  tz,
const QgsRectangle extent 
)
static

Reads a tile from a file in the local disk cache.

Definition at line 146 of file quantizedmeshgeometry.cpp.


The documentation for this class was generated from the following files: