|
cesium-native 0.52.0
|
A factory for creating a TilesetContentLoader from data from the iModel Mesh Export API. More...
#include <Cesium3DTilesSelection/IModelMeshExportContentLoaderFactory.h>
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. | |
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. | |
A factory for creating a TilesetContentLoader from data from the iModel Mesh Export API.
Definition at line 17 of file IModelMeshExportContentLoaderFactory.h.
| 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.
| iModelId | The ID of the iModel to load a Mesh Export of. |
| exportId | The ID of a specific mesh export to use, or std::nullopt to use the most recently modified export. |
| iTwinAccessToken | The access token to use to access the API. |
|
overridevirtual |
Creates an instance of the loader corresponding to this factory.
| externals | The TilesetExternals. |
| tilesetOptions | The TilesetOptions. |
| headerChangeListener | A callback that will be called when the Authorization header used by the tileset loader has changed. |
Implements Cesium3DTilesSelection::TilesetContentLoaderFactory.
|
overridevirtual |
Returns true if a valid TilesetContentLoader can be constructed from this factory.
Implements Cesium3DTilesSelection::TilesetContentLoaderFactory.