QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
15 #ifndef QUANTIZEDMESHGEOMETRY_H
16 #define QUANTIZEDMESHGEOMETRY_H
18 #include <QtGui/QTransform>
20 #include <Qt3DRender/QGeometry>
21 #include <Qt3DRender/QBuffer>
22 #include <Qt3DRender/QAttribute>
88 Qt3DRender::QBuffer *mVertexBuffer =
nullptr;
89 Qt3DRender::QBuffer *mIndexBuffer =
nullptr;
90 Qt3DRender::QAttribute *mPositionAttribute =
nullptr;
91 Qt3DRender::QAttribute *mTexCoordAttribute =
nullptr;
92 Qt3DRender::QAttribute *mIndexAttribute =
nullptr;
95 #endif // QUANTIZEDMESHGEOMETRY_H
static void downloadTileIfMissing(int tx, int ty, int tz)
Downloads a tile to to a file in the local disk cache.
QuantizedMeshGeometry(QuantizedMeshTile *t, const Map3D &map, const QgsMapToPixel &mapToPixel, const QgsCoordinateTransform &terrainToMap, QNode *parent=nullptr)
Constructs geometry based on the loaded tile data.
A rectangle specified with double values.
3 Stores vertex and index buffer for one tile of quantized mesh terrain.
QVector< quint16 > indices
QuantizedMeshHeader header
Perform transforms between map coordinates and device coordinates.
static QuantizedMeshTile * readTile(int tx, int ty, int tz, const QgsRectangle &extent)
Reads a tile from a file in the local disk cache.