cesium-native 0.55.0
Loading...
Searching...
No Matches
Cesium3DTilesSelection::TileLoadInput Struct Reference

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.
 
 TileLoadInput (const TileLoadInput &rhs) noexcept
 Copy constructor.
 
 TileLoadInput (TileLoadInput &&rhs) noexcept
 Move constructor.
 

Public Attributes

const Tiletile
 The tile that the TilesetContentLoader will request the server for the content.
 
const TilesetContentOptionscontentOptions
 The content options the TilesetContentLoader will use to process the content of the tile.
 
const CesiumAsync::AsyncSystemasyncSystem
 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.
 
CesiumUtility::IntrusivePointer< TilesetSharedAssetSystempSharedAssetSystem
 The shared asset system that will be used to resolve external assets associated with the tile.
 
const CesiumGeospatial::Ellipsoidellipsoid
 The ellipsoid that this tileset uses.
 

Detailed Description

Store the parameters that are needed to load a tile.

Definition at line 33 of file TilesetContentLoader.h.

Constructor & Destructor Documentation

◆ TileLoadInput()

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.

Parameters
tileThe Tile that the content belongs to.
contentOptionsThe content options the TilesetContentLoader will use to process the content of the tile.
asyncSystemThe async system to use for tile content loading.
pAssetAccessorThe asset accessor to make further requests with.
pLoggerThe logger that will be used
requestHeadersThe request headers that will be attached to the request.
ellipsoidThe CesiumGeospatial::Ellipsoid.

Member Data Documentation

◆ asyncSystem

const CesiumAsync::AsyncSystem& Cesium3DTilesSelection::TileLoadInput::asyncSystem

The async system to run the loading in worker thread or main thread.

Definition at line 79 of file TilesetContentLoader.h.

◆ contentOptions

const TilesetContentOptions& Cesium3DTilesSelection::TileLoadInput::contentOptions

The content options the TilesetContentLoader will use to process the content of the tile.

Definition at line 74 of file TilesetContentLoader.h.

◆ ellipsoid

const CesiumGeospatial::Ellipsoid& Cesium3DTilesSelection::TileLoadInput::ellipsoid

The ellipsoid that this tileset uses.

Definition at line 106 of file TilesetContentLoader.h.

◆ pAssetAccessor

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 85 of file TilesetContentLoader.h.

◆ pLogger

const std::shared_ptr<spdlog::logger>& Cesium3DTilesSelection::TileLoadInput::pLogger

The logger that receives details of loading errors and warnings.

Definition at line 90 of file TilesetContentLoader.h.

◆ pSharedAssetSystem

CesiumUtility::IntrusivePointer<TilesetSharedAssetSystem> Cesium3DTilesSelection::TileLoadInput::pSharedAssetSystem

The shared asset system that will be used to resolve external assets associated with the tile.

Definition at line 101 of file TilesetContentLoader.h.

◆ requestHeaders

const std::vector<CesiumAsync::IAssetAccessor::THeader>& Cesium3DTilesSelection::TileLoadInput::requestHeaders

The request headers that will be attached to the request.

Definition at line 95 of file TilesetContentLoader.h.

◆ tile

const Tile& Cesium3DTilesSelection::TileLoadInput::tile

The tile that the TilesetContentLoader will request the server for the content.

Definition at line 69 of file TilesetContentLoader.h.


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