LuciadCPillar 2024.0.04
|
Builder for the DTED model decoder options. More...
#include <luciad/formats/dted/DtedModelDecoder.h>
Public Member Functions | |
Builder (Builder &&other) noexcept | |
Builder (const Builder &other) | |
~Builder () | |
DtedModelDecoder::Options | build () |
Builds the options for the DTED model decoder. More... | |
Builder & | maxLevel (size_t maxLevel) |
Sets the maximum DTED level that is decoded. More... | |
Builder & | minLevel (size_t minLevel) |
Sets the minimum DTED level that is decoded. More... | |
Builder & | operator= (Builder other) noexcept |
Builder for the DTED model decoder options.
luciad::DtedModelDecoder::Options::Builder::Builder | ( | const Builder & | other | ) |
|
noexcept |
luciad::DtedModelDecoder::Options::Builder::~Builder | ( | ) |
DtedModelDecoder::Options luciad::DtedModelDecoder::Options::Builder::build | ( | ) |
Builds the options for the DTED model decoder.
luciad::LogicException | If minLevel and maxLevel do not meet their respective constraints. |
Builder & luciad::DtedModelDecoder::Options::Builder::maxLevel | ( | size_t | maxLevel | ) |
Sets the maximum DTED level that is decoded.
The maximum DTED level cannot be less than the minimum DTED level. This option is applicable only when decoding a DTED folder or a DMED file. If a single DTED file is decoded, this option is ignored.
Calling this function is optional. The default is 2.
maxLevel | the maximum DTED level that is decoded. |
Builder & luciad::DtedModelDecoder::Options::Builder::minLevel | ( | size_t | minLevel | ) |
Sets the minimum DTED level that is decoded.
The minimum DTED level cannot be greater than the maximum DTED level. This option is applicable only when decoding a DTED folder or a DMED file. If a single DTED file is decoded, this option is ignored.
Calling this function is optional. The default is 0.
minLevel | the minimum DTED level that is decoded. |