5 #include <CesiumGeometry/Rectangle.h>
6 #include <CesiumGeospatial/BoundingRegion.h>
7 #include <CesiumGeospatial/Projection.h>
34 std::vector<CesiumGeospatial::Projection>&& rasterOverlayProjections,
35 std::vector<CesiumGeometry::Rectangle>&& rasterOverlayRectangles,
A bounding volume specified as a longitude/latitude bounding box and a minimum and maximum height.
A quadratic surface defined in Cartesian coordinates.
std::variant< GeographicProjection, WebMercatorProjection > Projection
A projection.
Classes for raster overlays, which allow draping massive 2D textures over a model.
Holds details of the TileRenderContent that are useful for raster overlays.
RasterOverlayDetails(std::vector< CesiumGeospatial::Projection > &&rasterOverlayProjections, std::vector< CesiumGeometry::Rectangle > &&rasterOverlayRectangles, const CesiumGeospatial::BoundingRegion &boundingRegion)
Construct a RasterOverlayDetails with given projections, the rectangles generated by the projections,...
std::vector< CesiumGeospatial::Projection > rasterOverlayProjections
The raster overlay projections for which texture coordinates have been generated.
RasterOverlayDetails()
Construct an empty RasterOverlayDetails.
CesiumGeospatial::BoundingRegion boundingRegion
The precise bounding region of this tile.
std::vector< CesiumGeometry::Rectangle > rasterOverlayRectangles
The rectangle covered by this tile in each of the rasterOverlayProjections.
const CesiumGeometry::Rectangle * findRectangleForOverlayProjection(const CesiumGeospatial::Projection &projection) const
Finds the rectangle corresponding to a given projection in rasterOverlayProjections.
void merge(const RasterOverlayDetails &other, const CesiumGeospatial::Ellipsoid &ellipsoid CESIUM_DEFAULT_ELLIPSOID)
Merge the other RasterOverlayDetails's projections, rectangles, and bounding region together.