cesium-native
0.41.0
|
When provided to TilesetOptions::excluders, uses the polygons owned by a RasterizedPolygonsOverlay to exclude tiles that are entirely inside any of the polygon from loading. This is useful when the polygons will be used for clipping. More...
#include <Cesium3DTilesSelection/RasterizedPolygonsTileExcluder.h>
Public Member Functions | |
RasterizedPolygonsTileExcluder (const CesiumUtility::IntrusivePointer< const CesiumRasterOverlays::RasterizedPolygonsOverlay > &pOverlay) noexcept | |
Constructs a new instance. More... | |
virtual bool | shouldExclude (const Tile &tile) const noexcept override |
Determines whether a given tile is entirely inside a polygon and therefore should be excluded. More... | |
const CesiumRasterOverlays::RasterizedPolygonsOverlay & | getOverlay () const |
Gets the overlay defining the polygons. | |
Public Member Functions inherited from Cesium3DTilesSelection::ITileExcluder | |
virtual void | startNewFrame () noexcept |
Indicates the start of a new frame, initiated with a call to Tileset::updateView. | |
When provided to TilesetOptions::excluders, uses the polygons owned by a RasterizedPolygonsOverlay to exclude tiles that are entirely inside any of the polygon from loading. This is useful when the polygons will be used for clipping.
Definition at line 20 of file RasterizedPolygonsTileExcluder.h.
|
noexcept |
Constructs a new instance.
overlay | The overlay definining the polygons. |
|
overridevirtualnoexcept |
Determines whether a given tile is entirely inside a polygon and therefore should be excluded.
tile | The tile to check. |
Implements Cesium3DTilesSelection::ITileExcluder.