LuciadCPillar C# 2023.1.02
|
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... | |
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. 2022.1
void Luciad.Models.Rasters.IMultilevelTiledRasterDataRetrieverCallback.OnCanceled | ( | Luciad.Models.MultilevelTileCoordinate | tileCoordinate | ) |
Call this method when the request for the raster tile data was canceled.
tileCoordinate
the tile coordinate for which the request was canceled.
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)
tileCoordinate
the tile coordinate for which the raster tile data was retrieved.
data
the raster tile data.
void Luciad.Models.Rasters.IMultilevelTiledRasterDataRetrieverCallback.OnDataNotAvailable | ( | Luciad.Models.MultilevelTileCoordinate | tileCoordinate | ) |
Call this method when there is no data available for the tile coordindate.
tileCoordinate
the tile coordinate for which there is no raster tile data.
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.
tileCoordinate
the tile coordinate for which there is no raster tile data.
message
a message to detail what went wrong.
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: PixelFormat::Rgb888 PixelFormat::Rgba8888 PixelFormat::Rgb565
Elevation: PixelFormat::Float32
tileCoordinate
the tile coordinate for which the raster tile data was retrieved.
image
the raster tile data decoded into an image.