cesium-native  0.41.0
Tile.h
1 // This file was generated by generate-classes.
2 // DO NOT EDIT THIS FILE!
3 #pragma once
4 
5 #include "Cesium3DTiles/BoundingVolume.h"
6 #include "Cesium3DTiles/Content.h"
7 #include "Cesium3DTiles/ImplicitTiling.h"
8 #include "Cesium3DTiles/Library.h"
9 #include "Cesium3DTiles/MetadataEntity.h"
10 
11 #include <CesiumUtility/ExtensibleObject.h>
12 
13 #include <optional>
14 #include <string>
15 #include <vector>
16 
17 namespace Cesium3DTiles {
21 struct CESIUM3DTILES_API Tile final : public CesiumUtility::ExtensibleObject {
22  static inline constexpr const char* TypeName = "Tile";
23 
30  struct Refine {
31  inline static const std::string ADD = "ADD";
32 
33  inline static const std::string REPLACE = "REPLACE";
34  };
35 
40 
46  std::optional<Cesium3DTiles::BoundingVolume> viewerRequestVolume;
47 
53  double geometricError = double();
54 
64  std::optional<std::string> refine;
65 
77  std::vector<double> transform =
78  {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1};
79 
85  std::optional<Cesium3DTiles::Content> content;
86 
91  std::vector<Cesium3DTiles::Content> contents;
92 
96  std::optional<Cesium3DTiles::MetadataEntity> metadata;
97 
101  std::optional<Cesium3DTiles::ImplicitTiling> implicitTiling;
102 
109  std::vector<Cesium3DTiles::Tile> children;
110 };
111 } // namespace Cesium3DTiles
Classes for using 3D Tiles.
Definition: Buffer.h:7
A bounding volume that encloses a tile or its content. At least one bounding volume property is requi...
Known values for Specifies if additive or replacement refinement is used when traversing the tileset ...
Definition: Tile.h:30
A tile in a 3D Tiles tileset.
Definition: Tile.h:21
std::optional< Cesium3DTiles::MetadataEntity > metadata
A metadata entity that is associated with this tile.
Definition: Tile.h:96
std::vector< Cesium3DTiles::Content > contents
An array of contents. When this is defined, then content shall be undefined.
Definition: Tile.h:91
std::optional< Cesium3DTiles::ImplicitTiling > implicitTiling
An object that describes the implicit subdivision of this tile.
Definition: Tile.h:101
std::optional< std::string > refine
Specifies if additive or replacement refinement is used when traversing the tileset for rendering....
Definition: Tile.h:64
std::optional< Cesium3DTiles::BoundingVolume > viewerRequestVolume
Optional bounding volume that defines the volume the viewer shall be inside of before the tile's cont...
Definition: Tile.h:46
std::vector< Cesium3DTiles::Tile > children
An array of objects that define child tiles. Each child tile content is fully enclosed by its parent ...
Definition: Tile.h:109
Cesium3DTiles::BoundingVolume boundingVolume
The bounding volume that encloses the tile.
Definition: Tile.h:39
std::optional< Cesium3DTiles::Content > content
Metadata about the tile's content and a link to the content. When this is omitted the tile is just us...
Definition: Tile.h:85
The base class for objects that have extensions and extras.