cesium-native 0.43.0
Loading...
Searching...
No Matches
RasterizedPolygonsTileExcluder.h
1#pragma once
2
3#include "ITileExcluder.h"
4#include "Library.h"
5
6#include <CesiumUtility/IntrusivePointer.h>
7
8namespace CesiumRasterOverlays {
9class RasterizedPolygonsOverlay;
10}
11
12namespace Cesium3DTilesSelection {
13
20class CESIUM3DTILESSELECTION_API RasterizedPolygonsTileExcluder
22public:
31 pOverlay) noexcept;
32
41 virtual bool shouldExclude(const Tile& tile) const noexcept override;
42
47
48private:
51 _pOverlay;
52};
53
54} // namespace Cesium3DTilesSelection
An interface that allows tiles to be excluded from loading and rendering when provided in TilesetOpti...
When provided to TilesetOptions::excluders, uses the polygons owned by a CesiumRasterOverlays::Raster...
const CesiumRasterOverlays::RasterizedPolygonsOverlay & getOverlay() const
Gets the overlay defining the polygons.
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.
A tile in a Tileset.
Definition Tile.h:97
A raster overlay made from rasterizing a set of CartographicPolygon objects. The resulting overlay is...
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.