cesium-native  0.41.0
CesiumRasterOverlays::LoadedRasterOverlayImage Struct Reference

Summarizes the result of loading an image of a RasterOverlay. More...

#include <CesiumRasterOverlays/RasterOverlayTileProvider.h>

Public Attributes

CesiumUtility::IntrusivePointer< CesiumGltf::ImageAssetpImage {nullptr}
 The loaded image. More...
 
CesiumGeometry::Rectangle rectangle {}
 The projected rectangle defining the bounds of this image. More...
 
std::vector< CesiumUtility::Creditcredits {}
 The Credit objects that decribe the attributions that are required when using the image.
 
CesiumUtility::ErrorList errorList {}
 Errors and warnings from loading the image. More...
 
bool moreDetailAvailable = false
 Whether more detailed data, beyond this image, is available within the bounds of this image.
 

Detailed Description

Summarizes the result of loading an image of a RasterOverlay.

Definition at line 28 of file RasterOverlayTileProvider.h.

Member Data Documentation

◆ errorList

CesiumUtility::ErrorList CesiumRasterOverlays::LoadedRasterOverlayImage::errorList {}

Errors and warnings from loading the image.

If the image was loaded successfully, there should not be any errors (but there may be warnings).

Definition at line 57 of file RasterOverlayTileProvider.h.

◆ pImage

CesiumUtility::IntrusivePointer<CesiumGltf::ImageAsset> CesiumRasterOverlays::LoadedRasterOverlayImage::pImage {nullptr}

The loaded image.

This will be an empty optional if the loading failed. In this case, the errors vector will contain the corresponding error messages.

Definition at line 35 of file RasterOverlayTileProvider.h.

◆ rectangle

CesiumGeometry::Rectangle CesiumRasterOverlays::LoadedRasterOverlayImage::rectangle {}

The projected rectangle defining the bounds of this image.

The rectangle extends from the left side of the leftmost pixel to the right side of the rightmost pixel, and similar for the vertical direction.

Definition at line 43 of file RasterOverlayTileProvider.h.


The documentation for this struct was generated from the following file: