A collection of CesiumRasterOverlays::RasterOverlay
instances that are associated with a Tileset
.
More...
#include <Cesium3DTilesSelection/RasterOverlayCollection.h>
A collection of CesiumRasterOverlays::RasterOverlay
instances that are associated with a Tileset
.
The raster overlay instances may be added to the raster overlay collection of a tileset that is returned with Tileset::getOverlays
. When the tileset is loaded, one CesiumRasterOverlays::RasterOverlayTileProvider
will be created for each raster overlay that had been added. The raster overlay tile provider instances will be passed to the CesiumRasterOverlays::RasterOverlayTile
instances that they create when the tiles are updated.
Definition at line 30 of file RasterOverlayCollection.h.
◆ const_iterator
◆ RasterOverlayCollection() [1/3]
Creates a new instance.
- Parameters
-
loadedTiles | The list of loaded tiles. The collection does not own this list, so the list needs to be kept alive as long as the collection's lifetime |
externals | A collection of loading system to load a raster overlay |
ellipsoid | The CesiumGeospatial::Ellipsoid . |
◆ RasterOverlayCollection() [2/3]
Deleted Copy constructor.
- Parameters
-
◆ RasterOverlayCollection() [3/3]
Move constructor.
- Parameters
-
◆ add()
◆ findPlaceholderTileProviderForOverlay() [1/2]
Finds the placeholder tile provider for a given overlay.
If the specified raster overlay is not part of this collection, this method will return nullptr.
This method will return the placeholder tile provider even if the real one has been created. This is useful to create placeholder tiles when the rectangle in the overlay's projection is not yet known.
- Parameters
-
overlay | The overlay for which to obtain the tile provider. |
- Returns
- The placeholder tile provider, if any, corresponding to the raster overlay.
◆ findPlaceholderTileProviderForOverlay() [2/2]
Finds the placeholder tile provider for a given overlay.
If the specified raster overlay is not part of this collection, this method will return nullptr.
This method will return the placeholder tile provider even if the real one has been created. This is useful to create placeholder tiles when the rectangle in the overlay's projection is not yet known.
- Parameters
-
overlay | The overlay for which to obtain the tile provider. |
- Returns
- The placeholder tile provider, if any, corresponding to the raster overlay.
◆ findTileProviderForOverlay() [1/2]
Finds the tile provider for a given overlay.
If the specified raster overlay is not part of this collection, this method will return nullptr.
If the overlay's real tile provider hasn't finished being created yet, a placeholder will be returned. That is, its CesiumRasterOverlays::RasterOverlayTileProvider::isPlaceholder
method will return true.
- Parameters
-
overlay | The overlay for which to obtain the tile provider. |
- Returns
- The tile provider, if any, corresponding to the raster overlay.
◆ findTileProviderForOverlay() [2/2]
Finds the tile provider for a given overlay.
If the specified raster overlay is not part of this collection, this method will return nullptr.
If the overlay's real tile provider hasn't finished being created yet, a placeholder will be returned. That is, its CesiumRasterOverlays::RasterOverlayTileProvider::isPlaceholder
method will return true.
- Parameters
-
overlay | The overlay for which to obtain the tile provider. |
- Returns
- The tile provider, if any, corresponding to the raster overlay.
◆ operator=() [1/2]
Deleted copy assignment.
- Parameters
-
◆ operator=() [2/2]
Move assignment.
- Parameters
-
The documentation for this class was generated from the following file:
- /home/runner/work/cesium-native/cesium-native/Cesium3DTilesSelection/include/Cesium3DTilesSelection/RasterOverlayCollection.h