Interface with callback methods for the raster data retriever
to call.
More...
#include <luciad/models/rasters/IMultilevelTiledRasterDataRetriever.h>
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
◆ ~IMultilevelTiledRasterDataRetrieverCallback()
virtual luciad::IMultilevelTiledRasterDataRetrieverCallback::~IMultilevelTiledRasterDataRetrieverCallback |
( |
| ) |
|
|
virtualdefault |
◆ onCanceled()
Call this method when the request for the raster tile data was canceled.
- Parameters
-
tileCoordinate | the tile coordinate for which the request was canceled. |
◆ onDataAvailable()
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
-
tileCoordinate | the tile coordinate for which the raster tile data was retrieved. |
data | the raster tile data. |
◆ onDataNotAvailable()
virtual void luciad::IMultilevelTiledRasterDataRetrieverCallback::onDataNotAvailable |
( |
MultilevelTileCoordinate |
tileCoordinate | ) |
|
|
pure virtual |
Call this method when there is no data available for the tile coordindate.
- Parameters
-
tileCoordinate | the tile coordinate for which there is no raster tile data. |
◆ onError()
virtual void luciad::IMultilevelTiledRasterDataRetrieverCallback::onError |
( |
MultilevelTileCoordinate |
tileCoordinate, |
|
|
const std::string & |
message |
|
) |
| |
|
pure virtual |
Call this method when there is an error to retrieve the raster tile data.
- Parameters
-
tileCoordinate | the tile coordinate for which there is no raster tile data. |
message | a message to detail what went wrong. |
◆ onImageAvailable()
virtual void luciad::IMultilevelTiledRasterDataRetrieverCallback::onImageAvailable |
( |
MultilevelTileCoordinate |
tileCoordinate, |
|
|
const std::shared_ptr< Image > & |
image |
|
) |
| |
|
pure virtual |
Call this method when you have retrieved the raster tile data and have decoded it as an image.
Supported image types:
Imagery:
Elevation:
- Parameters
-
tileCoordinate | the tile coordinate for which the raster tile data was retrieved. |
image | the raster tile data decoded into an image. |