QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
QgsQuantizedMeshTile Struct Reference

#include <qgsquantizedmeshtiles.h>

Public Member Functions

 QgsQuantizedMeshTile (const QByteArray &data)
 
void generateNormals ()
 
void removeDegenerateTriangles ()
 
tinygltf::Model toGltf (bool addSkirt=false, double skirtDepth=0, bool withTextureCoords=false)
 
QgsMesh toMesh (QgsRectangle tileBounds)
 

Public Attributes

std::vector< uint32_t > mEastVertices
 
std::map< uint8_t, std::vector< char > > mExtensions
 
QgsQuantizedMeshHeader mHeader
 
std::vector< float > mNormalCoords
 
std::vector< uint32_t > mNorthVertices
 
std::vector< uint32_t > mSouthVertices
 
std::vector< uint32_t > mTriangleIndices
 
std::vector< uint16_t > mVertexCoords
 
std::vector< uint32_t > mWestVertices
 

Detailed Description

Definition at line 77 of file qgsquantizedmeshtiles.h.

Constructor & Destructor Documentation

◆ QgsQuantizedMeshTile()

QgsQuantizedMeshTile::QgsQuantizedMeshTile ( const QByteArray &  data)

Definition at line 111 of file qgsquantizedmeshtiles.cpp.

Member Function Documentation

◆ generateNormals()

void QgsQuantizedMeshTile::generateNormals ( )

Definition at line 207 of file qgsquantizedmeshtiles.cpp.

◆ removeDegenerateTriangles()

void QgsQuantizedMeshTile::removeDegenerateTriangles ( )

Definition at line 191 of file qgsquantizedmeshtiles.cpp.

◆ toGltf()

tinygltf::Model QgsQuantizedMeshTile::toGltf ( bool  addSkirt = false,
double  skirtDepth = 0,
bool  withTextureCoords = false 
)

Definition at line 246 of file qgsquantizedmeshtiles.cpp.

◆ toMesh()

QgsMesh QgsQuantizedMeshTile::toMesh ( QgsRectangle  tileBounds)

Definition at line 558 of file qgsquantizedmeshtiles.cpp.

Member Data Documentation

◆ mEastVertices

std::vector<uint32_t> QgsQuantizedMeshTile::mEastVertices

Definition at line 85 of file qgsquantizedmeshtiles.h.

◆ mExtensions

std::map<uint8_t, std::vector<char> > QgsQuantizedMeshTile::mExtensions

Definition at line 87 of file qgsquantizedmeshtiles.h.

◆ mHeader

QgsQuantizedMeshHeader QgsQuantizedMeshTile::mHeader

Definition at line 79 of file qgsquantizedmeshtiles.h.

◆ mNormalCoords

std::vector<float> QgsQuantizedMeshTile::mNormalCoords

Definition at line 81 of file qgsquantizedmeshtiles.h.

◆ mNorthVertices

std::vector<uint32_t> QgsQuantizedMeshTile::mNorthVertices

Definition at line 86 of file qgsquantizedmeshtiles.h.

◆ mSouthVertices

std::vector<uint32_t> QgsQuantizedMeshTile::mSouthVertices

Definition at line 84 of file qgsquantizedmeshtiles.h.

◆ mTriangleIndices

std::vector<uint32_t> QgsQuantizedMeshTile::mTriangleIndices

Definition at line 82 of file qgsquantizedmeshtiles.h.

◆ mVertexCoords

std::vector<uint16_t> QgsQuantizedMeshTile::mVertexCoords

Definition at line 80 of file qgsquantizedmeshtiles.h.

◆ mWestVertices

std::vector<uint32_t> QgsQuantizedMeshTile::mWestVertices

Definition at line 83 of file qgsquantizedmeshtiles.h.


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