cesium-native 0.43.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.
 

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.
 
const CesiumGeospatial::Ellipsoidellipsoid
 The ellipsoid that this tileset uses.
 

Detailed Description

Store the parameters that are needed to load a tile.

Definition at line 32 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 67 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 62 of file TilesetContentLoader.h.

◆ ellipsoid

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

The ellipsoid that this tileset uses.

Definition at line 88 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 73 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 78 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 83 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 57 of file TilesetContentLoader.h.


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