cesium-native 0.43.0
Loading...
Searching...
No Matches
Cesium3DTilesSelection::ITilesetHeightSampler Class Referenceabstract

An interface to query heights from a tileset that can do so efficiently without necessarily downloading individual tiles. More...

#include <Cesium3DTilesSelection/ITilesetHeightSampler.h>

Inheritance diagram for Cesium3DTilesSelection::ITilesetHeightSampler:
Cesium3DTilesSelection::EllipsoidTilesetLoader

Public Member Functions

virtual CesiumAsync::Future< SampleHeightResultsampleHeights (const CesiumAsync::AsyncSystem &asyncSystem, std::vector< CesiumGeospatial::Cartographic > &&positions)=0
 Queries the heights at a list of locations.
 

Detailed Description

An interface to query heights from a tileset that can do so efficiently without necessarily downloading individual tiles.

Definition at line 21 of file ITilesetHeightSampler.h.

Member Function Documentation

◆ sampleHeights()

virtual CesiumAsync::Future< SampleHeightResult > Cesium3DTilesSelection::ITilesetHeightSampler::sampleHeights ( const CesiumAsync::AsyncSystem & asyncSystem,
std::vector< CesiumGeospatial::Cartographic > && positions )
pure virtual

Queries the heights at a list of locations.

Parameters
asyncSystemThe async system used to do work in threads.
positionsThe positions at which to query heights. The height field of each CesiumGeospatial::Cartographic is ignored.
Returns
A future that will be resolved when the heights have been queried.

Implemented in Cesium3DTilesSelection::EllipsoidTilesetLoader.


The documentation for this class was generated from the following file: