cesium-native  0.41.0
PropertyTableProperty.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 
7 #include <CesiumUtility/ExtensibleObject.h>
8 #include <CesiumUtility/JsonValue.h>
9 
10 #include <cstdint>
11 #include <optional>
12 #include <string>
13 
14 namespace Cesium3DTiles {
20 struct CESIUM3DTILES_API PropertyTableProperty final
22  static inline constexpr const char* TypeName = "PropertyTableProperty";
23 
27  struct ArrayOffsetType {
28  inline static const std::string UINT8 = "UINT8";
29 
30  inline static const std::string UINT16 = "UINT16";
31 
32  inline static const std::string UINT32 = "UINT32";
33 
34  inline static const std::string UINT64 = "UINT64";
35  };
36 
41  inline static const std::string UINT8 = "UINT8";
42 
43  inline static const std::string UINT16 = "UINT16";
44 
45  inline static const std::string UINT32 = "UINT32";
46 
47  inline static const std::string UINT64 = "UINT64";
48  };
49 
65  int64_t values = int64_t();
66 
79  std::optional<int64_t> arrayOffsets;
80 
91  std::optional<int64_t> stringOffsets;
92 
99  std::string arrayOffsetType = ArrayOffsetType::UINT32;
100 
107  std::string stringOffsetType = StringOffsetType::UINT32;
108 
114  std::optional<CesiumUtility::JsonValue> offset;
115 
121  std::optional<CesiumUtility::JsonValue> scale;
122 
129  std::optional<CesiumUtility::JsonValue> max;
130 
137  std::optional<CesiumUtility::JsonValue> min;
138 };
139 } // namespace Cesium3DTiles
Classes for using 3D Tiles.
Definition: Buffer.h:7
Known values for The type of values in arrayOffsets.
Known values for The type of values in stringOffsets.
An array of binary property values. This represents one column of a property table,...
std::optional< CesiumUtility::JsonValue > scale
A scale to apply to property values. Only applicable when the component type is FLOAT32 or FLOAT64,...
std::optional< int64_t > stringOffsets
The index of the buffer view containing offsets for strings. The number of offsets is equal to the nu...
std::optional< CesiumUtility::JsonValue > min
Minimum value present in the property values. Only applicable to SCALAR, VECN, and MATN types....
std::optional< CesiumUtility::JsonValue > max
Maximum value present in the property values. Only applicable to SCALAR, VECN, and MATN types....
std::optional< CesiumUtility::JsonValue > offset
An offset to apply to property values. Only applicable when the component type is FLOAT32 or FLOAT64,...
std::optional< int64_t > arrayOffsets
The index of the buffer view containing offsets for variable-length arrays. The number of offsets is ...
The base class for objects that have extensions and extras.