3#include <Cesium3DTilesSelection/BoundingVolume.h>
4#include <Cesium3DTilesSelection/Library.h>
5#include <Cesium3DTilesSelection/SampleHeightResult.h>
6#include <Cesium3DTilesSelection/TileContent.h>
7#include <Cesium3DTilesSelection/TileLoadResult.h>
8#include <Cesium3DTilesSelection/TilesetOptions.h>
9#include <CesiumAsync/AsyncSystem.h>
10#include <CesiumAsync/Future.h>
11#include <CesiumAsync/IAssetAccessor.h>
12#include <CesiumGeometry/Axis.h>
13#include <CesiumGeospatial/Ellipsoid.h>
14#include <CesiumGltf/Model.h>
15#include <CesiumRasterOverlays/RasterOverlayDetails.h>
17#include <spdlog/logger.h>
31class TilesetContentManager;
54 const std::shared_ptr<CesiumAsync::IAssetAccessor>&
pAssetAccessor,
55 const std::shared_ptr<spdlog::logger>&
pLogger,
56 const std::vector<CesiumAsync::IAssetAccessor::THeader>&
requestHeaders,
173 CESIUM_DEFAULT_ELLIPSOID) = 0;
197 const TilesetContentManager*
getOwner() const noexcept;
207 void setOwner(TilesetContentManager& owner) noexcept;
233 TilesetContentManager* _pOwner =
nullptr;
An interface to query heights from a tileset that can do so efficiently without necessarily downloadi...
The loader interface to load the tile content.
virtual void setOwnerOfNestedLoaders(TilesetContentManager &owner) noexcept
Called by setOwner to allow the loader to apply the new owner to any loaders that are aggregated by t...
void setOwner(TilesetContentManager &owner) noexcept
Sets the TilesetContentManager that owns this loader.
virtual TileChildrenResult createTileChildren(const Tile &tile, const CesiumGeospatial::Ellipsoid &ellipsoid=CesiumGeospatial::Ellipsoid::WGS84)=0
Create the tile's children.
virtual ~TilesetContentLoader()=default
Default virtual destructor.
const TilesetContentManager * getOwner() const noexcept
Gets the TilesetContentManager that owns this loader.
virtual CesiumUtility::IntrusivePointer< CesiumGltf::Schema > getExternalSchema()
Get the external glTF schema object.
virtual void setExternalSchema(CesiumGltf::Schema *schema)
Store a glTF schema object that will be used to parse metadata in a loader and its children.
virtual CesiumAsync::Future< TileLoadResult > loadTileContent(const TileLoadInput &input)=0
Load the tile content.
virtual ITilesetHeightSampler * getHeightSampler()
Gets an interface that can be used to efficiently query heights from this tileset.
Contains assets that are potentially shared across multiple Tilesets.
A system for managing asynchronous requests and tasks.
A value that will be available in the future, as produced by AsyncSystem.
A quadratic surface defined in Cartesian coordinates.
Classes that implement the 3D Tiles standard.
TileLoadResultState
Indicate the status of Cesium3DTilesSelection::TilesetContentLoader::loadTileContent and Cesium3DTile...
Classes that support asynchronous operations.
Classes for geospatial computations in Cesium.
Classes for working with glTF models.
Utility classes for Cesium.
Store the result of creating tile's children after invoking TilesetContentLoader::createTileChildren.
std::vector< Tile > children
The children of this tile.
TileLoadResultState state
The result of creating children for this tile. Note that: when receiving RetryLater status,...
Options for configuring the parsing the contents of a Tileset, including construction of its glTF mod...
An object defining classes and enums.