cesium-native 0.46.0
Loading...
Searching...
No Matches
IModel.h
1#pragma once
2
3#include <CesiumGeospatial/GlobeRectangle.h>
4
5#include <cstdint>
6#include <string>
7
8namespace CesiumITwinClient {
16enum class IModelState : uint8_t {
17 Unknown = 0,
18 Initialized = 1,
19 NotInitialized = 2
20};
21
29IModelState iModelStateFromString(const std::string& str);
30
38struct IModel {
40 std::string id;
42 std::string displayName;
44 std::string name;
46 std::string description;
53};
54}; // namespace CesiumITwinClient
A two-dimensional, rectangular region on a globe, specified using longitude and latitude coordinates....
Classes for interacting with the iTwin API.
@ Unknown
The content type returned is not a known type.
IModelState
The possible states for an iModel.
Definition IModel.h:16
IModelState iModelStateFromString(const std::string &str)
Obtains an IModelState value from the provided string.
CesiumGeospatial::GlobeRectangle extent
The maximum rectangular area on the Earth which encloses the iModel.
Definition IModel.h:52
std::string displayName
Display name of the iModel.
Definition IModel.h:42
std::string description
Description of the iModel.
Definition IModel.h:46
std::string id
Id of the iModel.
Definition IModel.h:40
IModelState state
Indicates the state of the iModel.
Definition IModel.h:48
std::string name
Name of the iModel.
Definition IModel.h:44