cesium-native 0.43.0
Loading...
Searching...
No Matches
Defaults.h
1#pragma once
2
3namespace CesiumIonClient {
4
12 int64_t imagery = -1;
13
17 int64_t terrain = -1;
18
22 int64_t buildings = -1;
23};
24
32 std::string name{};
33
37 int64_t assetId = -1;
38
42 bool subscribed = false;
43};
44
52 std::string name{};
53
59 std::string objectName{};
60
64 std::string description{};
65
69 int64_t assetId = -1;
70
77 std::string type{};
78
82 bool subscribed = false;
83
87 std::vector<QuickAddRasterOverlay> rasterOverlays{};
88};
89
95struct Defaults {
100
104 std::vector<QuickAddAsset> quickAddAssets{};
105};
106
107} // namespace CesiumIonClient
Classes for working with Cesium ion clients.
The default assets.
Definition Defaults.h:8
int64_t buildings
The asset id of the default buildings asset.
Definition Defaults.h:22
int64_t imagery
The asset id of the default imagery asset.
Definition Defaults.h:12
int64_t terrain
The asset id of the default terrain asset.
Definition Defaults.h:17
The data returned by Cesium ion's v1/defaults service. It includes information about default imagery,...
Definition Defaults.h:95
DefaultAssets defaultAssets
The default assets.
Definition Defaults.h:99
std::vector< QuickAddAsset > quickAddAssets
The quick add assets.
Definition Defaults.h:104
A quick add asset.
Definition Defaults.h:48
std::vector< QuickAddRasterOverlay > rasterOverlays
The raster overlays available for this asset.
Definition Defaults.h:87
std::string type
This asset's type.
Definition Defaults.h:77
bool subscribed
true if the user is subscribed to the asset, false otherwise.
Definition Defaults.h:82
int64_t assetId
The unique identifier for this asset.
Definition Defaults.h:69
std::string objectName
The name of the main asset. In most cases this will be the same as name, but in the cases of assets w...
Definition Defaults.h:59
std::string description
A Markdown compatible string describing this asset.
Definition Defaults.h:64
std::string name
The name of this asset.
Definition Defaults.h:52
A raster overlay available for use with a quick add asset.
Definition Defaults.h:28
std::string name
The name of this asset.
Definition Defaults.h:32
int64_t assetId
The unique identifier for this asset.
Definition Defaults.h:37
bool subscribed
true if the user is subscribed to the asset, false otherwise.
Definition Defaults.h:42