cesium-native 0.56.0
Loading...
Searching...
No Matches
Defaults.h
1#pragma once
2
3#include <cstdint>
4#include <string>
5#include <vector>
6
7namespace CesiumIonClient {
8
16 int64_t imagery = -1;
17
21 int64_t terrain = -1;
22
26 int64_t buildings = -1;
27};
28
36 std::string name{};
37
41 int64_t assetId = -1;
42
46 bool subscribed = false;
47};
48
56 std::string name{};
57
63 std::string objectName{};
64
68 std::string description{};
69
73 int64_t assetId = -1;
74
81 std::string type{};
82
86 bool subscribed = false;
87
91 std::vector<QuickAddRasterOverlay> rasterOverlays{};
92};
93
99struct Defaults {
104
108 std::vector<QuickAddAsset> quickAddAssets{};
109};
110
111} // namespace CesiumIonClient
Classes for working with Cesium ion clients.
The default assets.
Definition Defaults.h:12
int64_t buildings
The asset id of the default buildings asset.
Definition Defaults.h:26
int64_t imagery
The asset id of the default imagery asset.
Definition Defaults.h:16
int64_t terrain
The asset id of the default terrain asset.
Definition Defaults.h:21
The data returned by Cesium ion's v1/defaults service. It includes information about default imagery,...
Definition Defaults.h:99
DefaultAssets defaultAssets
The default assets.
Definition Defaults.h:103
std::vector< QuickAddAsset > quickAddAssets
The quick add assets.
Definition Defaults.h:108
A quick add asset.
Definition Defaults.h:52
std::vector< QuickAddRasterOverlay > rasterOverlays
The raster overlays available for this asset.
Definition Defaults.h:91
std::string type
This asset's type.
Definition Defaults.h:81
bool subscribed
true if the user is subscribed to the asset, false otherwise.
Definition Defaults.h:86
int64_t assetId
The unique identifier for this asset.
Definition Defaults.h:73
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:63
std::string description
A Markdown compatible string describing this asset.
Definition Defaults.h:68
std::string name
The name of this asset.
Definition Defaults.h:56
A raster overlay available for use with a quick add asset.
Definition Defaults.h:32
std::string name
The name of this asset.
Definition Defaults.h:36
int64_t assetId
The unique identifier for this asset.
Definition Defaults.h:41
bool subscribed
true if the user is subscribed to the asset, false otherwise.
Definition Defaults.h:46