cesium-native  0.41.0
PropertyStatistics.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 <optional>
11 #include <unordered_map>
12 
13 namespace Cesium3DTiles {
17 struct CESIUM3DTILES_API PropertyStatistics final
19  static inline constexpr const char* TypeName = "PropertyStatistics";
20 
27  std::optional<CesiumUtility::JsonValue> min;
28 
35  std::optional<CesiumUtility::JsonValue> max;
36 
43  std::optional<CesiumUtility::JsonValue> mean;
44 
51  std::optional<CesiumUtility::JsonValue> median;
52 
59  std::optional<CesiumUtility::JsonValue> standardDeviation;
60 
67  std::optional<CesiumUtility::JsonValue> variance;
68 
75  std::optional<CesiumUtility::JsonValue> sum;
76 
83  std::unordered_map<std::string, CesiumUtility::JsonValue> occurrences;
84 };
85 } // namespace Cesium3DTiles
Classes for using 3D Tiles.
Definition: Buffer.h:7
Statistics about property values.
std::optional< CesiumUtility::JsonValue > max
The maximum property value occurring in the tileset. Only applicable to SCALAR, VECN,...
std::optional< CesiumUtility::JsonValue > mean
The arithmetic mean of property values occurring in the tileset. Only applicable to SCALAR,...
std::optional< CesiumUtility::JsonValue > standardDeviation
The standard deviation of property values occurring in the tileset. Only applicable to SCALAR,...
std::optional< CesiumUtility::JsonValue > median
The median of property values occurring in the tileset. Only applicable to SCALAR,...
std::optional< CesiumUtility::JsonValue > variance
The variance of property values occurring in the tileset. Only applicable to SCALAR,...
std::unordered_map< std::string, CesiumUtility::JsonValue > occurrences
A dictionary, where each key corresponds to an enum name and each value is the number of occurrences ...
std::optional< CesiumUtility::JsonValue > min
The minimum property value occurring in the tileset. Only applicable to SCALAR, VECN,...
std::optional< CesiumUtility::JsonValue > sum
The sum of property values occurring in the tileset. Only applicable to SCALAR, VECN,...
The base class for objects that have extensions and extras.