Code
The object and variable declarations are the following:
FdoIRasterCapabilities * rasterCapabilities;
bool supportsRaster;
bool supportsStitching;
bool supportsSubsampling;
bool supportsDataModel;
FdoRasterDataModel * rgbRasterDataModel;
The method calls are the following:
rasterCapabilities = connection->GetRasterCapabilities();
supportsRaster = rasterCapabilities->SupportsRaster();
if (supportsRaster) {
supportsStitching = rasterCapabilities->SupportsStitching();
supportsSubsampling = rasterCapabilities->SupportsSubsampling();
rgbRasterDataModel = FdoRasterDataModel::Create();
rgbRasterDataModel->
SetDataModelType(FdoRasterDataModelType_RGB);
rgbRasterDataModel->SetBitsPerPixel(64);
rgbRasterDataModel->
SetOrganization(FdoRasterDataOrganization_Image);
rgbRasterDataModel->SetTileSizeX(64);
rgbRasterDataModel->SetTileSizeY(128);
supportsDataModel = rasterCapabilities->
SupportsDataModel(rgbRasterDataModel);
}