cesium-native  0.41.0
Subtree.h
1 // This file was generated by generate-classes.
2 // DO NOT EDIT THIS FILE!
3 #pragma once
4 
5 #include "Cesium3DTiles/Availability.h"
6 #include "Cesium3DTiles/Buffer.h"
7 #include "Cesium3DTiles/BufferView.h"
8 #include "Cesium3DTiles/Library.h"
9 #include "Cesium3DTiles/MetadataEntity.h"
10 #include "Cesium3DTiles/PropertyTable.h"
11 
12 #include <CesiumUtility/ExtensibleObject.h>
13 
14 #include <cstdint>
15 #include <optional>
16 #include <vector>
17 
18 namespace Cesium3DTiles {
24 struct CESIUM3DTILES_API Subtree final
26  static inline constexpr const char* TypeName = "Subtree";
27 
31  std::vector<Cesium3DTiles::Buffer> buffers;
32 
36  std::vector<Cesium3DTiles::BufferView> bufferViews;
37 
41  std::vector<Cesium3DTiles::PropertyTable> propertyTables;
42 
56 
63  std::vector<Cesium3DTiles::Availability> contentAvailability;
64 
78 
85  std::optional<int64_t> tileMetadata;
86 
96  std::vector<int64_t> contentMetadata;
97 
101  std::optional<Cesium3DTiles::MetadataEntity> subtreeMetadata;
102 };
103 } // namespace Cesium3DTiles
Classes for using 3D Tiles.
Definition: Buffer.h:7
An object describing the availability of a set of elements.
Definition: Availability.h:17
An object describing the availability of tiles and content in a subtree, as well as availability of c...
Definition: Subtree.h:25
std::optional< Cesium3DTiles::MetadataEntity > subtreeMetadata
Subtree metadata encoded in JSON.
Definition: Subtree.h:101
std::vector< Cesium3DTiles::PropertyTable > propertyTables
An array of property tables.
Definition: Subtree.h:41
std::optional< int64_t > tileMetadata
Index of the property table containing tile metadata. Tile metadata only exists for available tiles a...
Definition: Subtree.h:85
std::vector< Cesium3DTiles::BufferView > bufferViews
An array of buffer views.
Definition: Subtree.h:36
std::vector< Cesium3DTiles::Buffer > buffers
An array of buffers.
Definition: Subtree.h:31
Cesium3DTiles::Availability tileAvailability
The availability of tiles in the subtree. The availability bitstream is a 1D boolean array where tile...
Definition: Subtree.h:55
Cesium3DTiles::Availability childSubtreeAvailability
The availability of children subtrees. The availability bitstream is a 1D boolean array where subtree...
Definition: Subtree.h:77
std::vector< Cesium3DTiles::Availability > contentAvailability
An array of content availability objects. If the tile has a single content this array will have one e...
Definition: Subtree.h:63
std::vector< int64_t > contentMetadata
An array of indexes to property tables containing content metadata. If the tile has a single content ...
Definition: Subtree.h:96
The base class for objects that have extensions and extras.