cesium-native 0.43.0
Loading...
Searching...
No Matches
Layer.h
1#pragma once
2
3#include "Library.h"
4
5#include <CesiumGeometry/QuadtreeTilingScheme.h>
6#include <CesiumGeospatial/BoundingRegion.h>
7#include <CesiumGeospatial/Projection.h>
8#include <CesiumQuantizedMeshTerrain/LayerSpec.h>
9
10#include <optional>
11
13
17struct Layer : public LayerSpec {
24 std::optional<CesiumGeospatial::Projection>
26 CESIUM_DEFAULT_ELLIPSOID) const noexcept;
27
34 std::optional<CesiumGeometry::QuadtreeTilingScheme>
36 CESIUM_DEFAULT_ELLIPSOID) const noexcept;
37
48 std::optional<CesiumGeospatial::BoundingRegion>
50 CESIUM_DEFAULT_ELLIPSOID) const noexcept;
51};
52
53} // namespace CesiumQuantizedMeshTerrain
A quadratic surface defined in Cartesian coordinates.
Definition Ellipsoid.h:38
Classes for accessing terrain based on layer.json and quantized-mesh-1.0.
Definition Layer.h:12
A quantized-mesh terrain layer.json.
Definition LayerSpec.h:19
A quantized-mesh terrain layer.json.
Definition Layer.h:17
std::optional< CesiumGeometry::QuadtreeTilingScheme > getTilingScheme(const CesiumGeospatial::Ellipsoid &ellipsoid=CesiumGeospatial::Ellipsoid::WGS84) const noexcept
Gets the tiling scheme specified by this layer.json.
std::optional< CesiumGeospatial::BoundingRegion > getRootBoundingRegion(const CesiumGeospatial::Ellipsoid &ellipsoid=CesiumGeospatial::Ellipsoid::WGS84) const noexcept
Gets the bounding region for the root tile.
std::optional< CesiumGeospatial::Projection > getProjection(const CesiumGeospatial::Ellipsoid &ellipsoid=CesiumGeospatial::Ellipsoid::WGS84) const noexcept
Gets the projection specified by this layer.json.