cesium-native 0.43.0
|
Store the parameters that are needed to load a tile. More...
#include <Cesium3DTilesSelection/TilesetContentLoader.h>
Public Member Functions | |
TileLoadInput (const Tile &tile, const TilesetContentOptions &contentOptions, const CesiumAsync::AsyncSystem &asyncSystem, const std::shared_ptr< CesiumAsync::IAssetAccessor > &pAssetAccessor, const std::shared_ptr< spdlog::logger > &pLogger, const std::vector< CesiumAsync::IAssetAccessor::THeader > &requestHeaders, const CesiumGeospatial::Ellipsoid &ellipsoid=CesiumGeospatial::Ellipsoid::WGS84) | |
Creates a new instance. | |
Public Attributes | |
const Tile & | tile |
The tile that the TilesetContentLoader will request the server for the content. | |
const TilesetContentOptions & | contentOptions |
The content options the TilesetContentLoader will use to process the content of the tile. | |
const CesiumAsync::AsyncSystem & | asyncSystem |
The async system to run the loading in worker thread or main thread. | |
const std::shared_ptr< CesiumAsync::IAssetAccessor > & | pAssetAccessor |
The asset accessor to make requests for the tile content over the wire. | |
const std::shared_ptr< spdlog::logger > & | pLogger |
The logger that receives details of loading errors and warnings. | |
const std::vector< CesiumAsync::IAssetAccessor::THeader > & | requestHeaders |
The request headers that will be attached to the request. | |
const CesiumGeospatial::Ellipsoid & | ellipsoid |
The ellipsoid that this tileset uses. | |
Store the parameters that are needed to load a tile.
Definition at line 32 of file TilesetContentLoader.h.
Cesium3DTilesSelection::TileLoadInput::TileLoadInput | ( | const Tile & | tile, |
const TilesetContentOptions & | contentOptions, | ||
const CesiumAsync::AsyncSystem & | asyncSystem, | ||
const std::shared_ptr< CesiumAsync::IAssetAccessor > & | pAssetAccessor, | ||
const std::shared_ptr< spdlog::logger > & | pLogger, | ||
const std::vector< CesiumAsync::IAssetAccessor::THeader > & | requestHeaders, | ||
const CesiumGeospatial::Ellipsoid & | ellipsoid = CesiumGeospatial::Ellipsoid::WGS84 ) |
Creates a new instance.
tile | The Tile that the content belongs to. |
contentOptions | The content options the TilesetContentLoader will use to process the content of the tile. |
asyncSystem | The async system to use for tile content loading. |
pAssetAccessor | The asset accessor to make further requests with. |
pLogger | The logger that will be used |
requestHeaders | The request headers that will be attached to the request. |
ellipsoid | The CesiumGeospatial::Ellipsoid . |
const CesiumAsync::AsyncSystem& Cesium3DTilesSelection::TileLoadInput::asyncSystem |
The async system to run the loading in worker thread or main thread.
Definition at line 67 of file TilesetContentLoader.h.
const TilesetContentOptions& Cesium3DTilesSelection::TileLoadInput::contentOptions |
The content options the TilesetContentLoader
will use to process the content of the tile.
Definition at line 62 of file TilesetContentLoader.h.
const CesiumGeospatial::Ellipsoid& Cesium3DTilesSelection::TileLoadInput::ellipsoid |
The ellipsoid that this tileset uses.
Definition at line 88 of file TilesetContentLoader.h.
const std::shared_ptr<CesiumAsync::IAssetAccessor>& Cesium3DTilesSelection::TileLoadInput::pAssetAccessor |
The asset accessor to make requests for the tile content over the wire.
Definition at line 73 of file TilesetContentLoader.h.
const std::shared_ptr<spdlog::logger>& Cesium3DTilesSelection::TileLoadInput::pLogger |
The logger that receives details of loading errors and warnings.
Definition at line 78 of file TilesetContentLoader.h.
const std::vector<CesiumAsync::IAssetAccessor::THeader>& Cesium3DTilesSelection::TileLoadInput::requestHeaders |
The request headers that will be attached to the request.
Definition at line 83 of file TilesetContentLoader.h.
const Tile& Cesium3DTilesSelection::TileLoadInput::tile |
The tile that the TilesetContentLoader
will request the server for the content.
Definition at line 57 of file TilesetContentLoader.h.