cesium-native 0.44.2
Loading...
Searching...
No Matches
Defaults.h
1#pragma once
2
3#include <cstdint>
4#include <vector>
5
6namespace CesiumIonClient {
7
15 int64_t imagery = -1;
16
20 int64_t terrain = -1;
21
25 int64_t buildings = -1;
26};
27
35 std::string name{};
36
40 int64_t assetId = -1;
41
45 bool subscribed = false;
46};
47
55 std::string name{};
56
62 std::string objectName{};
63
67 std::string description{};
68
72 int64_t assetId = -1;
73
80 std::string type{};
81
85 bool subscribed = false;
86
90 std::vector<QuickAddRasterOverlay> rasterOverlays{};
91};
92
98struct Defaults {
103
107 std::vector<QuickAddAsset> quickAddAssets{};
108};
109
110} // namespace CesiumIonClient
Classes for working with Cesium ion clients.
The default assets.
Definition Defaults.h:11
int64_t buildings
The asset id of the default buildings asset.
Definition Defaults.h:25
int64_t imagery
The asset id of the default imagery asset.
Definition Defaults.h:15
int64_t terrain
The asset id of the default terrain asset.
Definition Defaults.h:20
The data returned by Cesium ion's v1/defaults service. It includes information about default imagery,...
Definition Defaults.h:98
DefaultAssets defaultAssets
The default assets.
Definition Defaults.h:102
std::vector< QuickAddAsset > quickAddAssets
The quick add assets.
Definition Defaults.h:107
A quick add asset.
Definition Defaults.h:51
std::vector< QuickAddRasterOverlay > rasterOverlays
The raster overlays available for this asset.
Definition Defaults.h:90
std::string type
This asset's type.
Definition Defaults.h:80
bool subscribed
true if the user is subscribed to the asset, false otherwise.
Definition Defaults.h:85
int64_t assetId
The unique identifier for this asset.
Definition Defaults.h:72
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:62
std::string description
A Markdown compatible string describing this asset.
Definition Defaults.h:67
std::string name
The name of this asset.
Definition Defaults.h:55
A raster overlay available for use with a quick add asset.
Definition Defaults.h:31
std::string name
The name of this asset.
Definition Defaults.h:35
int64_t assetId
The unique identifier for this asset.
Definition Defaults.h:40
bool subscribed
true if the user is subscribed to the asset, false otherwise.
Definition Defaults.h:45