|
| QuadtreeRasterOverlayTileProvider (const CesiumUtility::IntrusivePointer< const RasterOverlay > &pOwner, const CesiumAsync::AsyncSystem &asyncSystem, const std::shared_ptr< CesiumAsync::IAssetAccessor > &pAssetAccessor, std::optional< CesiumUtility::Credit > credit, const std::shared_ptr< IPrepareRasterOverlayRendererResources > &pPrepareRendererResources, const std::shared_ptr< spdlog::logger > &pLogger, const CesiumGeospatial::Projection &projection, const CesiumGeometry::QuadtreeTilingScheme &tilingScheme, const CesiumGeometry::Rectangle &coverageRectangle, uint32_t minimumLevel, uint32_t maximumLevel, uint32_t imageWidth, uint32_t imageHeight) noexcept |
| Creates a new instance. More...
|
|
uint32_t | getMinimumLevel () const noexcept |
| Returns the minimum tile level of this instance.
|
|
uint32_t | getMaximumLevel () const noexcept |
| Returns the maximum tile level of this instance.
|
|
uint32_t | getWidth () const noexcept |
| Returns the image width of this instance, in pixels.
|
|
uint32_t | getHeight () const noexcept |
| Returns the image height of this instance, in pixels.
|
|
const CesiumGeometry::QuadtreeTilingScheme & | getTilingScheme () const noexcept |
| Returns the CesiumGeometry::QuadtreeTilingScheme of this instance.
|
|
uint32_t | computeLevelFromTargetScreenPixels (const CesiumGeometry::Rectangle &rectangle, const glm::dvec2 &screenPixels) |
| Computes the best quadtree level to use for an image intended to cover a given projected rectangle when it is a given size on the screen. More...
|
|
| RasterOverlayTileProvider (const CesiumUtility::IntrusivePointer< const RasterOverlay > &pOwner, const CesiumAsync::AsyncSystem &asyncSystem, const std::shared_ptr< CesiumAsync::IAssetAccessor > &pAssetAccessor, const CesiumGeospatial::Ellipsoid &ellipsoid CESIUM_DEFAULT_ELLIPSOID) noexcept |
|
| RasterOverlayTileProvider (const CesiumUtility::IntrusivePointer< const RasterOverlay > &pOwner, const CesiumAsync::AsyncSystem &asyncSystem, const std::shared_ptr< CesiumAsync::IAssetAccessor > &pAssetAccessor, 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. More...
|
|
virtual | ~RasterOverlayTileProvider () noexcept |
| Default destructor.
|
|
bool | isPlaceholder () const noexcept |
| Returns whether this is a placeholder. More...
|
|
RasterOverlay & | getOwner () noexcept |
| Returns the RasterOverlay that created this instance.
|
|
const RasterOverlay & | getOwner () const noexcept |
| Returns the RasterOverlay that created this instance. More...
|
|
const std::shared_ptr< CesiumAsync::IAssetAccessor > & | getAssetAccessor () const noexcept |
| Get the system to use for asychronous requests and threaded work.
|
|
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.
|
|
CesiumUtility::IntrusivePointer< RasterOverlayTile > | getTile (const CesiumGeometry::Rectangle &rectangle, const glm::dvec2 &targetScreenPixels) |
| Returns a new RasterOverlayTile with the given specifications. More...
|
|
int64_t | getTileDataBytes () const noexcept |
| Gets the number of bytes of tile data that are currently loaded.
|
|
uint32_t | getNumberOfTilesLoading () const noexcept |
| Returns the number of tiles that are currently loading.
|
|
void | removeTile (RasterOverlayTile *pTile) noexcept |
| Removes a no-longer-referenced tile from this provider's cache and deletes it. More...
|
|
const std::optional< CesiumUtility::Credit > & | getCredit () const noexcept |
| Get the per-TileProvider Credit if one exists.
|
|
CesiumAsync::Future< TileProviderAndTile > | loadTile (RasterOverlayTile &tile) |
| Loads a tile immediately, without throttling requests. More...
|
|
bool | loadTileThrottled (RasterOverlayTile &tile) |
| Loads a tile, unless there are too many tile loads already in progress. More...
|
|
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.
|
|