LuciadCPillar C# 2024.0.08
Luciad.Models.Rasters.IMultilevelTiledRasterDataRetrieverCallback Interface Reference

Interface with callback methods for the raster data retriever to call. More...

Public Member Functions

void OnCanceled (Luciad.Models.MultilevelTileCoordinate tileCoordinate)
 Call this method when the request for the raster tile data was canceled. More...
 
void OnDataAvailable (Luciad.Models.MultilevelTileCoordinate tileCoordinate, Luciad.Containers.DataEntity data)
 Call this method when you have retrieved the raster tile data in its raw form. More...
 
void OnDataNotAvailable (Luciad.Models.MultilevelTileCoordinate tileCoordinate)
 Call this method when there is no data available for the tile coordindate. More...
 
void OnError (Luciad.Models.MultilevelTileCoordinate tileCoordinate, string message)
 Call this method when there is an error to retrieve the raster tile data. More...
 
void OnImageAvailable (Luciad.Models.MultilevelTileCoordinate tileCoordinate, Luciad.Drawing.Image image)
 Call this method when you have retrieved the raster tile data and have decoded it as an image. More...
 

Detailed Description

Interface with callback methods for the raster data retriever to call.

There is usually no need to make a user implementation. An implementation to call the methods on is provided by the raster model implementation that has been created using either a MultilevelTiledRasterModelBuilder or a QuadTreeRasterModelBuilder.

Since
2022.1

Member Function Documentation

◆ OnCanceled()

void Luciad.Models.Rasters.IMultilevelTiledRasterDataRetrieverCallback.OnCanceled ( Luciad.Models.MultilevelTileCoordinate  tileCoordinate)

Call this method when the request for the raster tile data was canceled.

Parameters
tileCoordinatethe tile coordinate for which the request was canceled.

◆ OnDataAvailable()

void Luciad.Models.Rasters.IMultilevelTiledRasterDataRetrieverCallback.OnDataAvailable ( Luciad.Models.MultilevelTileCoordinate  tileCoordinate,
Luciad.Containers.DataEntity  data 
)

Call this method when you have retrieved the raster tile data in its raw form.

Supported mime types for the raster tile data:

Imagery:

  • image/png
  • image/jpeg
  • image/tiff (containing RGB(A))

Elevation:

  • image/tiff (containing a single channel with floating point data)
Parameters
tileCoordinatethe tile coordinate for which the raster tile data was retrieved.
datathe raster tile data.

◆ OnDataNotAvailable()

void Luciad.Models.Rasters.IMultilevelTiledRasterDataRetrieverCallback.OnDataNotAvailable ( Luciad.Models.MultilevelTileCoordinate  tileCoordinate)

Call this method when there is no data available for the tile coordindate.

Parameters
tileCoordinatethe tile coordinate for which there is no raster tile data.

◆ OnError()

void Luciad.Models.Rasters.IMultilevelTiledRasterDataRetrieverCallback.OnError ( Luciad.Models.MultilevelTileCoordinate  tileCoordinate,
string  message 
)

Call this method when there is an error to retrieve the raster tile data.

Parameters
tileCoordinatethe tile coordinate for which there is no raster tile data.
messagea message to detail what went wrong.

◆ OnImageAvailable()

void Luciad.Models.Rasters.IMultilevelTiledRasterDataRetrieverCallback.OnImageAvailable ( Luciad.Models.MultilevelTileCoordinate  tileCoordinate,
Luciad.Drawing.Image  image 
)

Call this method when you have retrieved the raster tile data and have decoded it as an image.

Supported image types:

Imagery:

Elevation:

Parameters
tileCoordinatethe tile coordinate for which the raster tile data was retrieved.
imagethe raster tile data decoded into an image.