![]() |
Zivid C++ API 2.11.1+de9b5dae-1
|
Enable or disable the outlier filter. More...
#include <Zivid/Settings.h>
Public Types | |
using | ValueType = bool |
The type of the underlying value. | |
Public Member Functions | |
Enabled ()=default | |
Default constructor. | |
constexpr | Enabled (bool value) |
Constructor. | |
bool | value () const |
Get the value. | |
bool | hasValue () const |
Check if the value is set. | |
void | reset () |
Reset the node to unset state. | |
std::string | toString () const |
Get the value as string. | |
bool | operator== (const Enabled &other) const |
Comparison operator. | |
bool | operator!= (const Enabled &other) const |
Comparison operator. | |
Static Public Member Functions | |
static std::set< bool > | validValues () |
All valid values of Enabled. | |
Static Public Attributes | |
static constexpr DataModel::NodeType | nodeType = DataModel::NodeType::leafValue |
The type of this node. | |
static constexpr const char * | path { "Processing/Filters/Outlier/Removal/Enabled" } |
The full path for this value. | |
static constexpr const char * | name { "Enabled" } |
The name of this value. | |
static constexpr const char * | description |
The description for this value. | |
static const Enabled | yes |
On/enabled. | |
static const Enabled | no |
Off/disabled. | |
Friends | |
struct | DataModel::Detail::Befriend< Enabled > |
std::ostream & | operator<< (std::ostream &stream, const Enabled &value) |
Operator to serialize the value to a stream. | |
Enable or disable the outlier filter.
The type of the underlying value.
|
default |
Default constructor.
|
inlineexplicitconstexpr |
Constructor.
bool Zivid::Settings::Processing::Filters::Outlier::Removal::Enabled::hasValue | ( | ) | const |
Check if the value is set.
|
inline |
Comparison operator.
|
inline |
Comparison operator.
void Zivid::Settings::Processing::Filters::Outlier::Removal::Enabled::reset | ( | ) |
Reset the node to unset state.
std::string Zivid::Settings::Processing::Filters::Outlier::Removal::Enabled::toString | ( | ) | const |
Get the value as string.
|
inlinestatic |
All valid values of Enabled.
bool Zivid::Settings::Processing::Filters::Outlier::Removal::Enabled::value | ( | ) | const |
Get the value.
If this object does not contain a value (see hasValue) then this method throws an exception.
Operator to serialize the value to a stream.
|
staticconstexpr |
The description for this value.
|
staticconstexpr |
The name of this value.
Off/disabled.
|
staticconstexpr |
The type of this node.
|
staticconstexpr |
The full path for this value.
On/enabled.