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;
 
Perform transforms between map coordinates and device coordinates.
A rectangle specified with double values.
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.
static QuantizedMeshTile * readTile(int tx, int ty, int tz, const QgsRectangle &extent)
Reads a tile from a file in the local disk cache.
QVector< quint16 > indices
QuantizedMeshHeader header