初始提交: UE5.3项目基础框架
This commit is contained in:
36
Plugins/CesiumForUnreal/Source/ThirdParty/include/Cesium3DTilesSelection/ITilesetHeightSampler.h
vendored
Normal file
36
Plugins/CesiumForUnreal/Source/ThirdParty/include/Cesium3DTilesSelection/ITilesetHeightSampler.h
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
#pragma once
|
||||
|
||||
#include "Library.h"
|
||||
#include "SampleHeightResult.h"
|
||||
|
||||
#include <CesiumAsync/Future.h>
|
||||
#include <CesiumGeospatial/Cartographic.h>
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace CesiumAsync {
|
||||
class AsyncSystem;
|
||||
}
|
||||
|
||||
namespace Cesium3DTilesSelection {
|
||||
|
||||
/**
|
||||
* @brief An interface to query heights from a tileset that can do so
|
||||
* efficiently without necessarily downloading individual tiles.
|
||||
*/
|
||||
class CESIUM3DTILESSELECTION_API ITilesetHeightSampler {
|
||||
public:
|
||||
/**
|
||||
* @brief Queries the heights at a list of locations.
|
||||
*
|
||||
* @param asyncSystem The async system used to do work in threads.
|
||||
* @param positions The positions at which to query heights. The height field
|
||||
* of each {@link CesiumGeospatial::Cartographic} is ignored.
|
||||
* @return A future that will be resolved when the heights have been queried.
|
||||
*/
|
||||
virtual CesiumAsync::Future<SampleHeightResult> sampleHeights(
|
||||
const CesiumAsync::AsyncSystem& asyncSystem,
|
||||
std::vector<CesiumGeospatial::Cartographic>&& positions) = 0;
|
||||
};
|
||||
|
||||
} // namespace Cesium3DTilesSelection
|
||||
Reference in New Issue
Block a user