|
| | RasterOverlayTileProvider (const CesiumUtility::IntrusivePointer< const RasterOverlay > &pOwner, const RasterOverlayExternals &externals, const CesiumGeospatial::Projection &projection, const CesiumGeometry::Rectangle &coverageRectangle) noexcept |
| | Creates a new instance.
|
| |
| | RasterOverlayTileProvider (const CesiumUtility::IntrusivePointer< const RasterOverlay > &pOwner, const CesiumAsync::AsyncSystem &asyncSystem, const std::shared_ptr< CesiumAsync::IAssetAccessor > &pAssetAccessor, const std::shared_ptr< CesiumUtility::CreditSystem > &pCreditSystem, std::optional< CesiumUtility::Credit > credit, const std::shared_ptr< IPrepareRasterOverlayRendererResources > &pPrepareRendererResources, const std::shared_ptr< spdlog::logger > &pLogger, const CesiumGeospatial::Projection &projection, const CesiumGeometry::Rectangle &coverageRectangle) noexcept |
| | Creates a new instance.
|
| |
|
virtual | ~RasterOverlayTileProvider () noexcept |
| | Default destructor.
|
| |
|
CesiumAsync::SharedFuture< void > & | getAsyncDestructionCompleteEvent () |
| | A future that resolves when this RasterOverlayTileProvider has been destroyed (i.e. its destructor has been called) and all async operations that it was executing have completed.
|
| |
|
RasterOverlay & | getOwner () noexcept |
| | Returns the RasterOverlay that created this instance.
|
| |
| const RasterOverlay & | getOwner () const noexcept |
| | Returns the RasterOverlay that created this instance.
|
| |
|
const RasterOverlayExternals & | getExternals () const noexcept |
| | Get the external interfaces for use by the tile provider.
|
| |
|
const std::shared_ptr< CesiumAsync::IAssetAccessor > & | getAssetAccessor () const noexcept |
| | Get the system to use for asychronous requests and threaded work.
|
| |
|
const std::shared_ptr< CesiumUtility::CreditSystem > & | getCreditSystem () const noexcept |
| | Get the credit system that receives credits from this tile provider.
|
| |
|
const CesiumAsync::AsyncSystem & | getAsyncSystem () const noexcept |
| | Gets the async system used to do work in threads.
|
| |
|
const std::shared_ptr< IPrepareRasterOverlayRendererResources > & | getPrepareRendererResources () const noexcept |
| | Gets the interface used to prepare raster overlay images for rendering.
|
| |
|
const std::shared_ptr< spdlog::logger > & | getLogger () const noexcept |
| | Gets the logger to which to send messages about the tile provider and tiles.
|
| |
|
const CesiumGeospatial::Projection & | getProjection () const noexcept |
| | Returns the CesiumGeospatial::Projection of this instance.
|
| |
|
const CesiumGeometry::Rectangle & | getCoverageRectangle () const noexcept |
| | Returns the coverage CesiumGeometry::Rectangle of this instance.
|
| |
| const std::optional< CesiumUtility::Credit > & | getCredit () const noexcept |
| | Get the per-TileProvider CesiumUtility::Credit if one exists.
|
| |
| virtual CesiumAsync::Future< LoadedRasterOverlayImage > | loadTileImage (const RasterOverlayTile &overlayTile)=0 |
| | Loads the image for a tile.
|
| |
| virtual void | addCredits (CesiumUtility::CreditReferencer &creditReferencer) noexcept |
| | Adds this tile provider's credits to a credit referencer.
|
| |
| void | addReference () const |
| | Adds a counted reference to this object. Use CesiumUtility::IntrusivePointer instead of calling this method directly.
|
| |
| void | releaseReference () const |
| | Removes a counted reference from this object. When the last reference is removed, this method will delete this instance. Use CesiumUtility::IntrusivePointer instead of calling this method directly.
|
| |
| std::int32_t | getReferenceCount () const noexcept |
| | Returns the current reference count of this instance.
|
| |
| void | addReference () const |
| | Adds a counted reference to this object. Use CesiumUtility::IntrusivePointer instead of calling this method directly.
|
| |
| void | releaseReference () const |
| | Removes a counted reference from this object. When the last reference is removed, this method will delete this instance. Use CesiumUtility::IntrusivePointer instead of calling this method directly.
|
| |
| std::int32_t | getReferenceCount () const noexcept |
| | Returns the current reference count of this instance.
|
| |
Provides individual tiles for a RasterOverlay on demand.
Instances of this class must be allocated on the heap, and their lifetimes must be managed with CesiumUtility::IntrusivePointer.
Definition at line 135 of file RasterOverlayTileProvider.h.