cesium-native 0.66.0
Loading...
Searching...
No Matches
Extension3dTilesImplicitTiling.h
1// This file was generated by generate-classes.
2// DO NOT EDIT THIS FILE!
3#pragma once
4
5#include <CesiumGltf/Library.h>
6#include <CesiumUtility/ExtensibleObject.h>
7
8#include <cstdint>
9#include <string>
10
11namespace CesiumGltf {
16struct CESIUMGLTF_API Extension3dTilesImplicitTiling final
21 static constexpr const char* TypeName = "Extension3dTilesImplicitTiling";
24 static constexpr const char* ExtensionName = "3DTILES_implicit_tiling";
25
31 inline static const std::string QUADTREE = "QUADTREE";
32
34 inline static const std::string OCTREE = "OCTREE";
35 };
36
42 std::string contentUri;
43
49 std::string subtreeUri;
50
58
62 int64_t availableLevels = int64_t();
63
67 int64_t subtreeLevels = int64_t();
68
75 int64_t getSizeBytes() const {
76 int64_t accum = 0;
77 accum += int64_t(sizeof(Extension3dTilesImplicitTiling));
79 int64_t(sizeof(CesiumUtility::ExtensibleObject));
80 accum += int64_t(this->contentUri.capacity() * sizeof(char));
81 accum += int64_t(this->subtreeUri.capacity() * sizeof(char));
82 return accum;
83 }
84};
85} // namespace CesiumGltf
Classes for working with glTF models.
Known values for Either QUADTREE or OCTREE. See Subdivision scheme.
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 ...