Builder for the OGC 3D Tiles options.
More...
#include <luciad/formats/ogc3dtiles/Ogc3DTilesModelDecoder.h>
Builder for the OGC 3D Tiles options.
- Since
- 2022.1
◆ Builder() [1/2]
luciad::Ogc3DTilesModelDecoder::Options::Builder::Builder |
( |
const Builder & |
other | ) |
|
◆ Builder() [2/2]
luciad::Ogc3DTilesModelDecoder::Options::Builder::Builder |
( |
Builder && |
other | ) |
|
|
noexcept |
◆ ~Builder()
luciad::Ogc3DTilesModelDecoder::Options::Builder::~Builder |
( |
| ) |
|
◆ build()
Builds the options for the OGC 3D Tiles decoder.
- Returns
- the options for the OGC 3D Tiles decoder.
- Exceptions
-
luciad::LogicException | If not all mandatory parameters are set or if both a custom http client and a custom loader are set. |
◆ dataLoader()
Builder & luciad::Ogc3DTilesModelDecoder::Options::Builder::dataLoader |
( |
std::shared_ptr< IDataLoader > |
dataLoader | ) |
|
Sets the data loader to be used for fetching the data.
Calling this function is optional.
See related article for an example on how to customize 3D tiles data loading.
- Parameters
-
dataLoader | custom loader implementation to fetch the OGC 3D Tiles resources. When nullptr the decoder uses its own data loader. |
- Returns
- this builder.
◆ httpClient()
Builder & luciad::Ogc3DTilesModelDecoder::Options::Builder::httpClient |
( |
std::shared_ptr< IHttpClient > |
httpClient | ) |
|
Sets the http client to be used for fetching the data.
Calling this function is optional.
See related article for an example on how to customize HTTP requests when loading data.
- Parameters
-
httpClient | HTTP client implementation to fetch the OGC 3D Tiles resources. When nullptr the decoder uses its own HTTP client. |
- Returns
- this builder.
- Since
- 2023.0
◆ operator=()
Builder & luciad::Ogc3DTilesModelDecoder::Options::Builder::operator= |
( |
Builder |
other | ) |
|
|
noexcept |