cesium-native  0.41.0
TileID.h
1 #pragma once
2 
3 #include "Library.h"
4 
5 #include <CesiumGeometry/OctreeTileID.h>
6 #include <CesiumGeometry/QuadtreeTileID.h>
7 
8 #include <string>
9 #include <variant>
10 
11 namespace Cesium3DTilesSelection {
12 
35 typedef std::variant<
36  std::string,
41 
45 struct CESIUM3DTILESSELECTION_API TileIdUtilities {
58  static std::string createTileIdString(const TileID& tileId);
59 };
60 
61 } // namespace Cesium3DTilesSelection
Classes that implement the 3D Tiles standard.
std::variant< std::string, CesiumGeometry::QuadtreeTileID, CesiumGeometry::OctreeTileID, CesiumGeometry::UpsampledQuadtreeNode > TileID
An identifier for a Tile inside the tile hierarchy.
Definition: TileID.h:40
Utility functions related to TileID objects.
Definition: TileID.h:45
static std::string createTileIdString(const TileID &tileId)
Creates an unspecified string representation of the given {}.
A structure serving as a unique identifier for a node in an octree.
Definition: OctreeTileID.h:18
Uniquely identifies a node in a quadtree.
A node of a tile hierarchy that was created by upsampling the tile content of a parent node.