4 #include "RasterOverlay.h"
5 #include "RasterOverlayTileProvider.h"
7 #include <CesiumAsync/AsyncSystem.h>
8 #include <CesiumGeospatial/CartographicPolygon.h>
9 #include <CesiumGeospatial/Ellipsoid.h>
10 #include <CesiumGeospatial/Projection.h>
12 #include <spdlog/fwd.h>
25 const std::string& name,
26 const std::vector<CesiumGeospatial::CartographicPolygon>& polygons,
35 const std::shared_ptr<CesiumAsync::IAssetAccessor>& pAssetAccessor,
36 const std::shared_ptr<CesiumUtility::CreditSystem>& pCreditSystem,
37 const std::shared_ptr<IPrepareRasterOverlayRendererResources>&
38 pPrepareRendererResources,
39 const std::shared_ptr<spdlog::logger>& pLogger,
43 const std::vector<CesiumGeospatial::CartographicPolygon>&
44 getPolygons() const noexcept {
45 return this->_polygons;
48 bool getInvertSelection() const noexcept {
return this->_invertSelection; }
51 return this->_ellipsoid;
55 std::vector<CesiumGeospatial::CartographicPolygon> _polygons;
56 bool _invertSelection;
A system for managing asynchronous requests and tasks.
A value that will be available in the future, as produced by AsyncSystem.
A quadratic surface defined in Cartesian coordinates.
The base class for a rasterized image that can be draped over a Tileset. The image may be very,...
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.
std::variant< GeographicProjection, WebMercatorProjection > Projection
A projection.
Classes for raster overlays, which allow draping massive 2D textures over a model.
Options for loading raster overlays.