cesium-native  0.41.0
DebugColorizeTilesRasterOverlay.h
1 #pragma once
2 
3 #include "CesiumGeospatial/Ellipsoid.h"
4 #include "RasterOverlay.h"
5 
6 namespace CesiumRasterOverlays {
7 
13 class CESIUMRASTEROVERLAYS_API DebugColorizeTilesRasterOverlay
14  : public RasterOverlay {
15 public:
20  const std::string& name,
21  const RasterOverlayOptions& overlayOptions = RasterOverlayOptions());
22 
27  const CesiumAsync::AsyncSystem& asyncSystem,
28  const std::shared_ptr<CesiumAsync::IAssetAccessor>& pAssetAccessor,
29  const std::shared_ptr<CesiumUtility::CreditSystem>& pCreditSystem,
30  const std::shared_ptr<IPrepareRasterOverlayRendererResources>&
31  pPrepareRendererResources,
32  const std::shared_ptr<spdlog::logger>& pLogger,
34  const override;
35 
36 private:
37  CesiumGeospatial::Ellipsoid _ellipsoid;
38 };
39 
40 } // namespace CesiumRasterOverlays
A system for managing asynchronous requests and tasks.
Definition: AsyncSystem.h:36
A value that will be available in the future, as produced by AsyncSystem.
Definition: Future.h:29
A quadratic surface defined in Cartesian coordinates.
Definition: Ellipsoid.h:38
A raster overlay that gives each tile to which it is attached a random color with 50% opacity....
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...
DebugColorizeTilesRasterOverlay(const std::string &name, const RasterOverlayOptions &overlayOptions=RasterOverlayOptions())
Creates a new instance.
The base class for a rasterized image that can be draped over a Tileset. The image may be very,...
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 loading raster overlays.
Definition: RasterOverlay.h:35