cesium-native 0.43.0
Loading...
Searching...
No Matches
ITilesetHeightSampler.h
1#pragma once
2
3#include "Library.h"
4#include "SampleHeightResult.h"
5
6#include <CesiumAsync/Future.h>
7#include <CesiumGeospatial/Cartographic.h>
8
9#include <vector>
10
11namespace CesiumAsync {
12class AsyncSystem;
13}
14
15namespace Cesium3DTilesSelection {
16
21class CESIUM3DTILESSELECTION_API ITilesetHeightSampler {
22public:
32 const CesiumAsync::AsyncSystem& asyncSystem,
33 std::vector<CesiumGeospatial::Cartographic>&& positions) = 0;
34};
35
36} // namespace Cesium3DTilesSelection
An interface to query heights from a tileset that can do so efficiently without necessarily downloadi...
virtual CesiumAsync::Future< SampleHeightResult > sampleHeights(const CesiumAsync::AsyncSystem &asyncSystem, std::vector< CesiumGeospatial::Cartographic > &&positions)=0
Queries the heights at a list of locations.
A system for managing asynchronous requests and tasks.
Definition AsyncSystem.h:36
A value that will be available in the future, as produced by AsyncSystem.
Definition Promise.h:11
Classes that implement the 3D Tiles standard.
Classes that support asynchronous operations.