4 #include "RasterOverlay.h"
6 #include <CesiumAsync/IAssetRequest.h>
7 #include <CesiumGeometry/QuadtreeTilingScheme.h>
8 #include <CesiumGeospatial/Ellipsoid.h>
9 #include <CesiumGeospatial/GlobeRectangle.h>
10 #include <CesiumGeospatial/Projection.h>
110 std::optional<std::map<std::string, std::string>>
dimensions;
145 const std::string& name,
146 const std::string& url,
147 const std::vector<CesiumAsync::IAssetAccessor::THeader>& headers = {},
149 const RasterOverlayOptions& overlayOptions = {});
150 virtual ~WebMapTileServiceRasterOverlay()
override;
154 const std::shared_ptr<CesiumAsync::IAssetAccessor>& pAssetAccessor,
155 const std::shared_ptr<CesiumUtility::CreditSystem>& pCreditSystem,
156 const std::shared_ptr<IPrepareRasterOverlayRendererResources>&
157 pPrepareRendererResources,
158 const std::shared_ptr<spdlog::logger>& pLogger,
164 std::vector<CesiumAsync::IAssetAccessor::THeader> _headers;
A system for managing asynchronous requests and tasks.
A value that will be available in the future, as produced by AsyncSystem.
The base class for a rasterized image that can be draped over a Tileset. The image may be very,...
A RasterOverlay accessing images from a Web Map Tile Service (WMTS) server.
WebMapTileServiceRasterOverlay(const std::string &name, const std::string &url, const std::vector< CesiumAsync::IAssetAccessor::THeader > &headers={}, const WebMapTileServiceRasterOverlayOptions &tmsOptions={}, const RasterOverlayOptions &overlayOptions={})
Creates a new instance.
virtual CesiumAsync::Future< CreateTileProviderResult > createTileProvider(const CesiumAsync::AsyncSystem &asyncSystem, const std::shared_ptr< CesiumAsync::IAssetAccessor > &pAssetAccessor, const std::shared_ptr< CesiumUtility::CreditSystem > &pCreditSystem, const std::shared_ptr< IPrepareRasterOverlayRendererResources > &pPrepareRendererResources, const std::shared_ptr< spdlog::logger > &pLogger, CesiumUtility::IntrusivePointer< const RasterOverlay > pOwner) const override
Begins asynchronous creation of a tile provider for this overlay and eventually returns it via a Futu...
A smart pointer that calls addReference and releaseReference on the controlled object.
Classes for raster overlays, which allow draping massive 2D textures over a model.
Options for WebMapTileServiceRasterOverlay.
std::optional< uint32_t > minimumLevel
The minimum level-of-detail supported by the imagery provider.
std::optional< std::string > format
The MIME type for images to retrieve from the server.
std::optional< CesiumGeospatial::Ellipsoid > ellipsoid
The CesiumGeospatial::Ellipsoid.
std::optional< CesiumGeospatial::Projection > projection
The CesiumGeospatial::Projection that is used.
std::optional< std::vector< std::string > > tileMatrixLabels
A list of identifiers in the TileMatrix to use for WMTS requests, one per TileMatrix level.
std::vector< std::string > subdomains
The subdomains to use for the {s} placeholder in the URL template.
std::optional< std::string > credit
A credit for the data source, which is displayed on the canvas.
std::optional< uint32_t > tileWidth
Pixel width of image tiles.
std::optional< CesiumGeometry::Rectangle > coverageRectangle
The CesiumGeometry::Rectangle, in radians, covered by the image.
std::optional< uint32_t > maximumLevel
The maximum level-of-detail supported by the imagery provider.
std::string layer
The layer name for WMTS requests.
std::optional< std::map< std::string, std::string > > dimensions
A object containing static dimensions and their values.
std::string tileMatrixSetID
The identifier of the TileMatrixSet to use for WMTS requests.
std::optional< uint32_t > tileHeight
Pixel height of image tiles.
std::string style
The style name for WMTS requests.
std::optional< CesiumGeometry::QuadtreeTilingScheme > tilingScheme
The CesiumGeometry::QuadtreeTilingScheme specifying how the ellipsoidal surface is broken into tiles.