cesium-native 0.46.0
Loading...
Searching...
No Matches
Cesium3DTilesSelection::IModelMeshExportContentLoaderFactory Class Reference

A factory for creating a TilesetContentLoader from data from the iModel Mesh Export API. More...

#include <Cesium3DTilesSelection/IModelMeshExportContentLoaderFactory.h>

Inheritance diagram for Cesium3DTilesSelection::IModelMeshExportContentLoaderFactory:
Cesium3DTilesSelection::TilesetContentLoaderFactory

Public Member Functions

 IModelMeshExportContentLoaderFactory (const std::string &iModelId, const std::optional< std::string > &exportId, const std::string &iTwinAccessToken)
 Creates a new factory for loading content from an iModel Mesh Export.
 
virtual CesiumAsync::Future< Cesium3DTilesSelection::TilesetContentLoaderResult< Cesium3DTilesSelection::TilesetContentLoader > > createLoader (const TilesetExternals &externals, const TilesetOptions &tilesetOptions, const AuthorizationHeaderChangeListener &headerChangeListener) override
 Creates an instance of the loader corresponding to this factory.
 
virtual bool isValid () const override
 Returns true if a valid TilesetContentLoader can be constructed from this factory.
 
- Public Member Functions inherited from Cesium3DTilesSelection::TilesetContentLoaderFactory

Additional Inherited Members

- Public Types inherited from Cesium3DTilesSelection::TilesetContentLoaderFactory
using AuthorizationHeaderChangeListener
 The type of a callback called when the Authorization header used by a tileset loader has changed.
 

Detailed Description

A factory for creating a TilesetContentLoader from data from the iModel Mesh Export API.

Definition at line 17 of file IModelMeshExportContentLoaderFactory.h.

Constructor & Destructor Documentation

◆ IModelMeshExportContentLoaderFactory()

Cesium3DTilesSelection::IModelMeshExportContentLoaderFactory::IModelMeshExportContentLoaderFactory ( const std::string & iModelId,
const std::optional< std::string > & exportId,
const std::string & iTwinAccessToken )

Creates a new factory for loading content from an iModel Mesh Export.

Parameters
iModelIdThe ID of the iModel to load a Mesh Export of.
exportIdThe ID of a specific mesh export to use, or std::nullopt to use the most recently modified export.
iTwinAccessTokenThe access token to use to access the API.

Member Function Documentation

◆ createLoader()

virtual CesiumAsync::Future< Cesium3DTilesSelection::TilesetContentLoaderResult< Cesium3DTilesSelection::TilesetContentLoader > > Cesium3DTilesSelection::IModelMeshExportContentLoaderFactory::createLoader ( const TilesetExternals & externals,
const TilesetOptions & tilesetOptions,
const AuthorizationHeaderChangeListener & headerChangeListener )
overridevirtual

Creates an instance of the loader corresponding to this factory.

Parameters
externalsThe TilesetExternals.
tilesetOptionsThe TilesetOptions.
headerChangeListenerA callback that will be called when the Authorization header used by the tileset loader has changed.
Returns
A future that resolves to a TilesetContentLoaderResult.

Implements Cesium3DTilesSelection::TilesetContentLoaderFactory.

◆ isValid()

virtual bool Cesium3DTilesSelection::IModelMeshExportContentLoaderFactory::isValid ( ) const
overridevirtual

Returns true if a valid TilesetContentLoader can be constructed from this factory.

Implements Cesium3DTilesSelection::TilesetContentLoaderFactory.


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