cesium-native 0.43.0
Loading...
Searching...
No Matches
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#include <CesiumUtility/ExtensibleObject.h>
7#include <CesiumUtility/JsonValue.h>
8
9#include <cstdint>
10#include <optional>
11#include <string>
12
13namespace Cesium3DTiles {
19struct CESIUM3DTILES_API PropertyTableProperty final
24 static constexpr const char* TypeName = "PropertyTableProperty";
25
31 inline static const std::string UINT8 = "UINT8";
32
34 inline static const std::string UINT16 = "UINT16";
35
37 inline static const std::string UINT32 = "UINT32";
38
40 inline static const std::string UINT64 = "UINT64";
41 };
42
48 inline static const std::string UINT8 = "UINT8";
49
51 inline static const std::string UINT16 = "UINT16";
52
54 inline static const std::string UINT32 = "UINT32";
55
57 inline static const std::string UINT64 = "UINT64";
58 };
59
75 int64_t values = int64_t();
76
89 std::optional<int64_t> arrayOffsets;
90
101 std::optional<int64_t> stringOffsets;
102
109 std::string arrayOffsetType = ArrayOffsetType::UINT32;
110
117 std::string stringOffsetType = StringOffsetType::UINT32;
118
124 std::optional<CesiumUtility::JsonValue> offset;
125
131 std::optional<CesiumUtility::JsonValue> scale;
132
139 std::optional<CesiumUtility::JsonValue> max;
140
147 std::optional<CesiumUtility::JsonValue> min;
148
155 int64_t getSizeBytes() const {
156 int64_t accum = 0;
157 accum += int64_t(sizeof(PropertyTableProperty));
159 int64_t(sizeof(CesiumUtility::ExtensibleObject));
160
161 return accum;
162 }
163};
164} // 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,...
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
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.
int64_t getSizeBytes() const
Calculates the size in bytes of this ExtensibleObject, including all of its extras but NOT including ...