Zivid C++ API 2.12.0+6afd4961-1
|
The reflection filter has two modes: Local and Global. Local mode preserves more 3D data on thinner objects, generally removes more reflection artifacts and processes faster than the Global filter. The Global filter is generally better at removing outlier points in the point cloud. It is advised to use the Outlier filter and Cluster filter together with the Local Reflection filter. More...
#include <Zivid/Settings.h>
Public Types | |
enum class | ValueType { global , local } |
The type of the underlying value. More... | |
Public Member Functions | |
Mode ()=default | |
Default constructor. | |
constexpr | Mode (ValueType value) |
Constructor. | |
ValueType | 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 Mode &other) const |
Comparison operator. | |
bool | operator!= (const Mode &other) const |
Comparison operator. | |
Static Public Member Functions | |
static std::set< ValueType > | validValues () |
All valid values of Mode. | |
Static Public Attributes | |
static constexpr DataModel::NodeType | nodeType = DataModel::NodeType::leafValue |
The type of this node. | |
static constexpr const char * | path { "Processing/Filters/Reflection/Removal/Mode" } |
The full path for this value. | |
static constexpr const char * | name { "Mode" } |
The name of this value. | |
static constexpr const char * | description |
The description for this value. | |
static const Mode | global |
global | |
static const Mode | local |
local | |
Friends | |
struct | DataModel::Detail::Befriend< Mode > |
std::ostream & | operator<< (std::ostream &stream, const Mode::ValueType &value) |
Operator to serialize ValueType to a stream. | |
std::ostream & | operator<< (std::ostream &stream, const Mode &value) |
Operator to serialize the value to a stream. | |
The reflection filter has two modes: Local and Global. Local mode preserves more 3D data on thinner objects, generally removes more reflection artifacts and processes faster than the Global filter. The Global filter is generally better at removing outlier points in the point cloud. It is advised to use the Outlier filter and Cluster filter together with the Local Reflection filter.
Global mode was introduced in SDK 1.0 and Local mode was introduced in SDK 2.7.
|
default |
Default constructor.
|
inlineexplicitconstexpr |
Constructor.
bool Zivid::Settings::Processing::Filters::Reflection::Removal::Mode::hasValue | ( | ) | const |
Check if the value is set.
|
inline |
Comparison operator.
|
inline |
Comparison operator.
void Zivid::Settings::Processing::Filters::Reflection::Removal::Mode::reset | ( | ) |
Reset the node to unset state.
std::string Zivid::Settings::Processing::Filters::Reflection::Removal::Mode::toString | ( | ) | const |
Get the value as string.
|
inlinestatic |
All valid values of Mode.
ValueType Zivid::Settings::Processing::Filters::Reflection::Removal::Mode::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.
|
friend |
Operator to serialize ValueType to a stream.
|
staticconstexpr |
The description for this value.
|
staticconstexpr |
The name of this value.
|
staticconstexpr |
The type of this node.
|
staticconstexpr |
The full path for this value.