cesium-native 0.43.0
|
Holds details of the Cesium3DTilesSelection::TileRenderContent
that are useful for raster overlays.
More...
#include <CesiumRasterOverlays/RasterOverlayDetails.h>
Public Member Functions | |
RasterOverlayDetails () | |
Construct an empty RasterOverlayDetails. | |
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, and the bounding region covered those rectangles. | |
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=CesiumGeospatial::Ellipsoid::WGS84) |
Merge the other RasterOverlayDetails's projections, rectangles, and bounding region together. | |
Public Attributes | |
std::vector< CesiumGeospatial::Projection > | rasterOverlayProjections |
The raster overlay projections for which texture coordinates have been generated. | |
std::vector< CesiumGeometry::Rectangle > | rasterOverlayRectangles |
The rectangle covered by this tile in each of the rasterOverlayProjections . | |
CesiumGeospatial::BoundingRegion | boundingRegion |
The precise bounding region of this tile. | |
Holds details of the Cesium3DTilesSelection::TileRenderContent
that are useful for raster overlays.
Definition at line 16 of file RasterOverlayDetails.h.
CesiumRasterOverlays::RasterOverlayDetails::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, and the bounding region covered those rectangles.
rasterOverlayProjections | The raster overlay projections for which texture coordinates have been generated. |
rasterOverlayRectangles | The rectangle covered by this tile in each of the rasterOverlayProjections . |
boundingRegion | The precise bounding region of this tile. |
const CesiumGeometry::Rectangle * CesiumRasterOverlays::RasterOverlayDetails::findRectangleForOverlayProjection | ( | const CesiumGeospatial::Projection & | projection | ) | const |
Finds the rectangle corresponding to a given projection in rasterOverlayProjections
.
projection | The projection. |
rasterOverlayProjections
. void CesiumRasterOverlays::RasterOverlayDetails::merge | ( | const RasterOverlayDetails & | other, |
const CesiumGeospatial::Ellipsoid & | ellipsoid = CesiumGeospatial::Ellipsoid::WGS84 ) |
Merge the other RasterOverlayDetails's projections, rectangles, and bounding region together.
other | The other instance of RasterOverlayDetails that will be merged with this. |
ellipsoid | The CesiumGeospatial::Ellipsoid . |
CesiumGeospatial::BoundingRegion CesiumRasterOverlays::RasterOverlayDetails::boundingRegion |
The precise bounding region of this tile.
Definition at line 80 of file RasterOverlayDetails.h.
std::vector<CesiumGeospatial::Projection> CesiumRasterOverlays::RasterOverlayDetails::rasterOverlayProjections |
The raster overlay projections for which texture coordinates have been generated.
For the projection at index n
, there is a set of texture coordinates with the attribute name _CESIUMOVERLAY_n
that corresponds to that projection.
Definition at line 69 of file RasterOverlayDetails.h.
std::vector<CesiumGeometry::Rectangle> CesiumRasterOverlays::RasterOverlayDetails::rasterOverlayRectangles |
The rectangle covered by this tile in each of the rasterOverlayProjections
.
Definition at line 75 of file RasterOverlayDetails.h.