cesium-native  0.41.0
Tileset.h
1 // This file was generated by generate-classes.
2 // DO NOT EDIT THIS FILE!
3 #pragma once
4 
5 #include "Cesium3DTiles/Asset.h"
6 #include "Cesium3DTiles/GroupMetadata.h"
7 #include "Cesium3DTiles/Library.h"
8 #include "Cesium3DTiles/MetadataEntity.h"
9 #include "Cesium3DTiles/Properties.h"
10 #include "Cesium3DTiles/Schema.h"
11 #include "Cesium3DTiles/Statistics.h"
12 #include "Cesium3DTiles/Tile.h"
13 
14 #include <CesiumUtility/ExtensibleObject.h>
15 
16 #include <optional>
17 #include <string>
18 #include <unordered_map>
19 #include <vector>
20 
21 namespace Cesium3DTiles {
25 struct CESIUM3DTILES_API Tileset final
27  static inline constexpr const char* TypeName = "Tileset";
28 
33 
37  std::unordered_map<std::string, Cesium3DTiles::Properties> properties;
38 
43  std::optional<Cesium3DTiles::Schema> schema;
44 
49  std::optional<std::string> schemaUri;
50 
54  std::optional<Cesium3DTiles::Statistics> statistics;
55 
61  std::vector<Cesium3DTiles::GroupMetadata> groups;
62 
66  std::optional<Cesium3DTiles::MetadataEntity> metadata;
67 
73  double geometricError = double();
74 
79 
83  std::vector<std::string> extensionsUsed;
84 
89  std::vector<std::string> extensionsRequired;
90 };
91 } // namespace Cesium3DTiles
Classes for using 3D Tiles.
Definition: Buffer.h:7
Metadata about the entire tileset.
Definition: Asset.h:16
A tile in a 3D Tiles tileset.
Definition: Tile.h:21
A 3D Tiles tileset.
Definition: Tileset.h:26
Cesium3DTiles::Tile root
The root tile.
Definition: Tileset.h:78
std::optional< Cesium3DTiles::MetadataEntity > metadata
A metadata entity that is associated with this tileset.
Definition: Tileset.h:66
std::vector< std::string > extensionsRequired
Names of 3D Tiles extensions required to properly load this tileset. Each element of this array shall...
Definition: Tileset.h:89
std::optional< Cesium3DTiles::Statistics > statistics
An object containing statistics about metadata entities.
Definition: Tileset.h:54
std::vector< std::string > extensionsUsed
Names of 3D Tiles extensions used somewhere in this tileset.
Definition: Tileset.h:83
std::unordered_map< std::string, Cesium3DTiles::Properties > properties
A dictionary object of metadata about per-feature properties.
Definition: Tileset.h:37
std::vector< Cesium3DTiles::GroupMetadata > groups
An array of groups that tile content may belong to. Each element of this array is a metadata entity t...
Definition: Tileset.h:61
Cesium3DTiles::Asset asset
Metadata about the entire tileset.
Definition: Tileset.h:32
std::optional< std::string > schemaUri
The URI (or IRI) of the external schema file. When this is defined, then schema shall be undefined.
Definition: Tileset.h:49
std::optional< Cesium3DTiles::Schema > schema
An object defining the structure of metadata classes and enums. When this is defined,...
Definition: Tileset.h:43
The base class for objects that have extensions and extras.