|
QGIS API Documentation 4.1.0-Master (64dc32379c2)
|
Contains utilities for working with Cesium 3D Tiles implicit tiling. More...
#include <qgscesiumimplicittiling.h>
Classes | |
| struct | Root |
| Definition of root implicit tiling node (typically root node of the whole tileset, but it does not have to be - there could be even multiple root implicit tiling nodes within a tileset). More... | |
| struct | Subtree |
| Data about subtree of a node - there should be subtree at least for root implicit tiling node, and there may be further subtrees if the hierarchy is deeper. More... | |
| struct | TileCoordinate |
| Contains ZXY coordinates of a node within implicit tiling. More... | |
Static Public Member Functions | |
| static Qgis::TileChildrenAvailability | childAvailability (const Root &tilingData, const TileCoordinate &coord) |
| Returns tile availability of a child based on cached subtree data. | |
| static QMap< TileCoordinate, QgsTiledSceneNode * > | createImplicitTilingChildren (QgsTiledSceneNode *node, const TileCoordinate &coord, Root &tilingData, const TileCoordinate &subtreeCoord, QgsCoordinateTransformContext &transformContext, long long &nextTileId) |
| Creates immediate children of a node according to implicit tiling. | |
| static QString | expandTemplateUri (const QString &templateUri, const QUrl &baseUrl, const TileCoordinate &coord) |
| Expands template URI (using {level}, {x}, {y} markers) to the final URI. | |
| static bool | parseImplicitTiling (const json &tileJson, QgsTiledSceneNode *newNode, const QUrl &baseUrl, Qgis::Axis gltfUpAxis, Root &tilingData) |
Parses JSON definition of implicit tiling into tilingData argument and returns true on success. | |
| static Subtree | parseSubtree (const Root &tilingData, const QByteArray &data) |
| Parses subtree definition and returns it. | |
| static int | subtreeBitIndex (int localLevel, int localX, int localY) |
| Returns the bit index within a subtree's availability bitstream for a given local tile position. | |
| static TileCoordinate | tileCoordinateToParentSubtree (TileCoordinate coord, int subtreeLevels) |
| Returns parent subtree's tile coordinates of the given tile. | |
Contains utilities for working with Cesium 3D Tiles implicit tiling.
Currently only supporting QUADTREE subdivision scheme.
Definition at line 43 of file qgscesiumimplicittiling.h.
|
static |
Returns tile availability of a child based on cached subtree data.
Definition at line 355 of file qgscesiumimplicittiling.cpp.
|
static |
Creates immediate children of a node according to implicit tiling.
Definition at line 271 of file qgscesiumimplicittiling.cpp.
|
static |
Expands template URI (using {level}, {x}, {y} markers) to the final URI.
Definition at line 55 of file qgscesiumimplicittiling.cpp.
|
static |
Parses JSON definition of implicit tiling into tilingData argument and returns true on success.
Definition at line 394 of file qgscesiumimplicittiling.cpp.
|
static |
Parses subtree definition and returns it.
Definition at line 118 of file qgscesiumimplicittiling.cpp.
|
static |
Returns the bit index within a subtree's availability bitstream for a given local tile position.
Definition at line 49 of file qgscesiumimplicittiling.cpp.
|
static |
Returns parent subtree's tile coordinates of the given tile.
Definition at line 261 of file qgscesiumimplicittiling.cpp.