LuciadCPillar C# 2023.1.04
Luciad.Models.Rasters.IMultilevelTiledRasterDataRetriever Interface Reference

The interface to implement to retrieve the raster tile for a given tile coordinate. More...

Public Member Functions

void RetrieveTileData (Luciad.Models.MultilevelTileCoordinate tileCoordinate, Luciad.Concurrent.CancellationToken cancellationToken, Luciad.Models.Rasters.IMultilevelTiledRasterDataRetrieverCallback callback)
 Retrieves the raster tile data for a give tile coordinate. More...
 

Detailed Description

The interface to implement to retrieve the raster tile for a given tile coordinate.

2022.1

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::IMultilevelTiledRasterDataRetriever.

Member Function Documentation

◆ RetrieveTileData()

void Luciad.Models.Rasters.IMultilevelTiledRasterDataRetriever.RetrieveTileData ( Luciad.Models.MultilevelTileCoordinate  tileCoordinate,
Luciad.Concurrent.CancellationToken  cancellationToken,
Luciad.Models.Rasters.IMultilevelTiledRasterDataRetrieverCallback  callback 
)

Retrieves the raster tile data for a give tile coordinate.

Call one of the methods on the callback. When the data is retrieved successfully you can call either onDataAvailable or onImageAvailable depending on whether you provide the 'raw' tile data or decoded already as an image. When there is no tile data available for a tile coordinate call the method onDataNotAvailable. When an error occurred while retrieving the raster tile data call the method onError. When the request has been canceled call the method onCanceled. Note that while handling the tile data retrieval you need to check within your implementation whether the cancellation token has changed its value to true using the method isCanceled. When none of the callback methods is called the data cannot be visualized. This function must be thread-safe.

tileCoordinate

the tile coordinate.

cancellationToken

a cancellation token.

callback

the callback on which to invoke methods depending on success, unavailable data, or errors.

IMultilevelTiledRasterDataRetrieverCallback

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::IMultilevelTiledRasterDataRetriever::retrieveTileData.