cesium-native 0.46.0
Loading...
Searching...
No Matches
CesiumCuratedContent.h
1#pragma once
2
3#include <cstdint>
4#include <string>
5
6namespace CesiumITwinClient {
7
16enum class CesiumCuratedContentType : uint8_t {
18 Unknown = 0,
20 Cesium3DTiles = 1,
22 Gltf = 2,
27 Imagery = 3,
29 Terrain = 4,
31 Kml = 5,
38 Czml = 6,
40 GeoJson = 7,
41};
42
52cesiumCuratedContentTypeFromString(const std::string& str);
53
62enum class CesiumCuratedContentStatus : uint8_t {
63 Unknown = 0,
64 AwaitingFiles = 1,
65 NotStarted = 2,
66 InProgress = 3,
67 Complete = 4,
68 Error = 5,
69 DataError = 6
70};
71
82
109} // namespace CesiumITwinClient
Classes for using 3D Tiles.
Definition Buffer.h:7
Classes for interacting with the iTwin API.
CesiumCuratedContentType
The type of content obtained from the iTwin Cesium Curated Content API.
@ Terrain
The content is quantized mesh terrain.
@ Imagery
The content is imagery that can be loaded with CesiumRasterOverlays::ITwinCesiumCuratedContentRasterO...
@ Czml
The content is in the Cesium Language (CZML) format.
@ Unknown
The content type returned is not a known type.
@ Kml
The content is in the Keyhole Markup Language (KML) format.
@ Gltf
The content is a glTF model.
@ GeoJson
The content is in the GeoJSON format.
CesiumCuratedContentType cesiumCuratedContentTypeFromString(const std::string &str)
Obtains a CesiumCuratedContentType value from the provided string.
CesiumCuratedContentStatus
Describes the state of the content during the upload and tiling processes.
CesiumCuratedContentStatus cesiumCuratedContentStatusFromString(const std::string &str)
Obtains a CesiumCuratedContentStatus value from the provided string.
A single asset obtained from the iTwin Cesium Curated Content API.
std::string attribution
A Markdown compatible string containing any required attribution for the content.
CesiumCuratedContentType type
The type of the content.
uint64_t id
The unique identifier for the content.
std::string name
The name of the content.
CesiumCuratedContentStatus status
The status of the content.
std::string description
A Markdown string describing the content.