cesium-native  0.41.0
RasterizedPolygonsTileExcluder.h
1 #pragma once
2 
3 #include "ITileExcluder.h"
4 #include "Library.h"
5 
6 #include <CesiumUtility/IntrusivePointer.h>
7 
8 namespace CesiumRasterOverlays {
9 class RasterizedPolygonsOverlay;
10 }
11 
12 namespace Cesium3DTilesSelection {
13 
20 class CESIUM3DTILESSELECTION_API RasterizedPolygonsTileExcluder
22 public:
31  pOverlay) noexcept;
32 
41  virtual bool shouldExclude(const Tile& tile) const noexcept override;
42 
47 
48 private:
51  _pOverlay;
52 };
53 
54 } // namespace Cesium3DTilesSelection
An interface that allows tiles to be excluded from loading and rendering when provided in TilesetOpti...
Definition: ITileExcluder.h:11
When provided to TilesetOptions::excluders, uses the polygons owned by a RasterizedPolygonsOverlay to...
virtual bool shouldExclude(const Tile &tile) const noexcept override
Determines whether a given tile is entirely inside a polygon and therefore should be excluded.
RasterizedPolygonsTileExcluder(const CesiumUtility::IntrusivePointer< const CesiumRasterOverlays::RasterizedPolygonsOverlay > &pOverlay) noexcept
Constructs a new instance.
const CesiumRasterOverlays::RasterizedPolygonsOverlay & getOverlay() const
Gets the overlay defining the polygons.
A tile in a Tileset.
Definition: Tile.h:97
A smart pointer that calls addReference and releaseReference on the controlled object.
Classes that implement the 3D Tiles standard.
Classes for raster overlays, which allow draping massive 2D textures over a model.