cesium-native 0.43.0
Loading...
Searching...
No Matches
ImplicitTiling.h
1// This file was generated by generate-classes.
2// DO NOT EDIT THIS FILE!
3#pragma once
4
5#include <Cesium3DTiles/Library.h>
6#include <Cesium3DTiles/Subtrees.h>
7#include <CesiumUtility/ExtensibleObject.h>
8
9#include <cstdint>
10#include <string>
11
12namespace Cesium3DTiles {
18struct CESIUM3DTILES_API ImplicitTiling final
23 static constexpr const char* TypeName = "ImplicitTiling";
24
31 inline static const std::string QUADTREE = "QUADTREE";
32
34 inline static const std::string OCTREE = "OCTREE";
35 };
36
43 std::string subdivisionScheme = SubdivisionScheme::QUADTREE;
44
50 int64_t subtreeLevels = int64_t();
51
55 int64_t availableLevels = int64_t();
56
61
68 int64_t getSizeBytes() const {
69 int64_t accum = 0;
70 accum += int64_t(sizeof(ImplicitTiling));
72 int64_t(sizeof(CesiumUtility::ExtensibleObject));
73 accum += this->subtrees.getSizeBytes() -
74 int64_t(sizeof(Cesium3DTiles::Subtrees));
75 return accum;
76 }
77};
78} // namespace Cesium3DTiles
Classes for using 3D Tiles.
Definition Buffer.h:7
Known values for A string describing the subdivision scheme used within the tileset.
This object allows a tile to be implicitly subdivided. Tile and content availability and metadata is ...
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
Cesium3DTiles::Subtrees subtrees
An object describing the location of subtree files.
An object describing the location of subtree files.
Definition Subtrees.h:15
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
Definition Subtrees.h:32
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 ...