3#include <CesiumAsync/AsyncSystem.h>
4#include <CesiumAsync/IAssetAccessor.h>
5#include <CesiumGeospatial/CartographicPolygon.h>
6#include <CesiumGeospatial/Ellipsoid.h>
7#include <CesiumRasterOverlays/Library.h>
8#include <CesiumRasterOverlays/RasterOverlay.h>
9#include <CesiumRasterOverlays/RasterOverlayTileProvider.h>
10#include <CesiumUtility/Color.h>
11#include <CesiumUtility/IntrusivePointer.h>
12#include <CesiumVectorData/GeoJsonDocument.h>
13#include <CesiumVectorData/GeoJsonObject.h>
14#include <CesiumVectorData/VectorStyle.h>
16#include <spdlog/fwd.h>
64 const std::string& name,
65 const std::shared_ptr<CesiumVectorData::GeoJsonDocument>& document,
80 const std::string& name,
90 const std::shared_ptr<CesiumAsync::IAssetAccessor>& pAssetAccessor,
91 const std::shared_ptr<CesiumUtility::CreditSystem>& pCreditSystem,
92 const std::shared_ptr<IPrepareRasterOverlayRendererResources>&
93 pPrepareRendererResources,
94 const std::shared_ptr<spdlog::logger>& pLogger,
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.
A raster overlay made from rasterizing a CesiumVectorData::GeoJsonDocument.
GeoJsonDocumentRasterOverlay(const CesiumAsync::AsyncSystem &asyncSystem, const std::string &name, const std::shared_ptr< CesiumVectorData::GeoJsonDocument > &document, const GeoJsonDocumentRasterOverlayOptions &vectorOverlayOptions, const RasterOverlayOptions &overlayOptions={})
Creates a new GeoJsonDocumentRasterOverlay.
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...
GeoJsonDocumentRasterOverlay(const std::string &name, CesiumAsync::Future< std::shared_ptr< CesiumVectorData::GeoJsonDocument > > &&documentFuture, const GeoJsonDocumentRasterOverlayOptions &vectorOverlayOptions, const RasterOverlayOptions &overlayOptions={})
Creates a new GeoJsonDocumentRasterOverlay from a future.
RasterOverlay(const std::string &name, const RasterOverlayOptions &overlayOptions=RasterOverlayOptions())
Creates a new instance.
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.
A set of options for configuring a GeoJsonDocumentRasterOverlay.
CesiumVectorData::VectorStyle defaultStyle
The default style to use when no style is otherwise specified on a CesiumVectorData::GeoJsonObject.
CesiumGeospatial::Ellipsoid ellipsoid
The ellipsoid to use for this overlay.
uint32_t mipLevels
The number of mip levels to generate.
Options for loading raster overlays.
Style information to use when drawing vector data.