17#ifndef QGSQUANTIZEDMESHTILED_H
18#define QGSQUANTIZEDMESHTILED_H
24#include <qbytearray.h>
26#define TINYGLTF_NO_STB_IMAGE
27#define TINYGLTF_NO_STB_IMAGE_WRITE
95 void removeDegenerateTriangles();
96 void generateNormals();
97 tinygltf::Model toGltf(
bool addSkirt =
false,
double skirtDepth = 0,
bool withTextureCoords =
false );
Defines a QGIS exception class.
QgsException(const QString &message)
Constructor for QgsException, with the specified error message.
Exception thrown on failure to parse Quantized Mesh tile (malformed data)
A rectangle specified with double values.
Mesh - vertices, edges and faces.
std::vector< float > mNormalCoords
std::vector< uint32_t > mTriangleIndices
std::vector< uint32_t > mNorthVertices
std::vector< uint32_t > mWestVertices
QgsQuantizedMeshHeader mHeader
std::vector< uint32_t > mEastVertices
std::map< uint8_t, std::vector< char > > mExtensions
std::vector< uint16_t > mVertexCoords
std::vector< uint32_t > mSouthVertices