5#include <CesiumGltf/Library.h>
6#include <CesiumUtility/ExtensibleObject.h>
21 static constexpr const char*
TypeName =
"Extension3dTilesImplicitTiling";
31 inline static const std::string
QUADTREE =
"QUADTREE";
34 inline static const std::string
OCTREE =
"OCTREE";
80 accum += int64_t(this->contentUri.capacity() *
sizeof(
char));
81 accum += int64_t(this->subtreeUri.capacity() *
sizeof(
char));
Classes for working with glTF models.
Known values for Either QUADTREE or OCTREE. See Subdivision scheme.
static const std::string QUADTREE
QUADTREE
static const std::string OCTREE
OCTREE
Implicit tiling defines a concise representation of quadtrees and octrees in 3D Tiles.
int64_t availableLevels
How many levels there are in the tree with available tiles.
static constexpr const char * ExtensionName
The official name of the extension. This should be the same as its key in the extensions object.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
int64_t subtreeLevels
How many levels there are in each subtree.
std::string subdivisionScheme
Either QUADTREE or OCTREE. See Subdivision scheme.
std::string subtreeUri
Template URI for locating subtree files.
static constexpr const char * TypeName
The original name of this type.
std::string contentUri
Template URI for locating content files.
The base class for objects that have extensions and extras.
int64_t getSizeBytes() const
Calculates the size in bytes of this ExtensibleObject, including all of its extras but NOT including ...