Zivid  1.0.1+3607.8a7510c4
Zivid API
Public Types | Public Member Functions | Static Public Attributes | Friends | List of all members
Zivid::Settings::Filters::Outlier::Threshold Class Reference

Mark point as an outlier if neighboring pixel has a 3D distance above given threshold More...

#include <Settings.h>

Public Types

using ValueType = double
 The type of the underlying value More...
 

Public Member Functions

 Threshold ()=default
 Default constructor More...
 
constexpr Threshold (ValueType value) noexcept(std::is_nothrow_move_constructible< ValueType >::value)
 Constructor More...
 
const ValueTypevalue () const
 Get the value More...
 
Range< ValueTyperange () const
 The range of valid values More...
 
void setFromString (const std::string &value)
 Set the value from string More...
 
std::string toString () const
 Get the value as string More...
 
bool operator== (const Threshold &other) const
 Comparison operator More...
 
bool operator!= (const Threshold &other) const
 Comparison operator More...
 
bool operator< (const Threshold &other) const
 Comparison operator More...
 
bool operator> (const Threshold &other) const
 Comparison operator More...
 

Static Public Attributes

static constexpr bool isContainer {false}
 Check if it contains child members More...
 
static constexpr const char * path {"Filters/Outlier/Threshold"}
 Get the path More...
 
static constexpr const char * name {"Threshold"}
 Get the name More...
 

Friends

std::ostream & operator<< (std::ostream &stream, const Threshold &value)
 Operator to serialize the value to a stream More...
 
std::istream & operator>> (std::istream &stream, Threshold &value)
 Operator to set the value from a stream More...
 

Detailed Description

Mark point as an outlier if neighboring pixel has a 3D distance above given threshold

Member Typedef Documentation

◆ ValueType

The type of the underlying value

Constructor & Destructor Documentation

◆ Threshold() [1/2]

Zivid::Settings::Filters::Outlier::Threshold::Threshold ( )
default

Default constructor

◆ Threshold() [2/2]

constexpr Zivid::Settings::Filters::Outlier::Threshold::Threshold ( ValueType  value)
inlineexplicitnoexcept

Constructor

Member Function Documentation

◆ operator!=()

bool Zivid::Settings::Filters::Outlier::Threshold::operator!= ( const Threshold other) const
inline

Comparison operator

◆ operator<()

bool Zivid::Settings::Filters::Outlier::Threshold::operator< ( const Threshold other) const
inline

Comparison operator

◆ operator==()

bool Zivid::Settings::Filters::Outlier::Threshold::operator== ( const Threshold other) const
inline

Comparison operator

◆ operator>()

bool Zivid::Settings::Filters::Outlier::Threshold::operator> ( const Threshold other) const
inline

Comparison operator

◆ range()

Range<ValueType> Zivid::Settings::Filters::Outlier::Threshold::range ( ) const
inline

The range of valid values

◆ setFromString()

void Zivid::Settings::Filters::Outlier::Threshold::setFromString ( const std::string &  value)
inline

Set the value from string

◆ toString()

std::string Zivid::Settings::Filters::Outlier::Threshold::toString ( ) const
inline

Get the value as string

◆ value()

const ValueType& Zivid::Settings::Filters::Outlier::Threshold::value ( ) const
inline

Get the value

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  stream,
const Threshold value 
)
friend

Operator to serialize the value to a stream

◆ operator>>

std::istream& operator>> ( std::istream &  stream,
Threshold value 
)
friend

Operator to set the value from a stream

Member Data Documentation

◆ isContainer

constexpr bool Zivid::Settings::Filters::Outlier::Threshold::isContainer {false}
static

Check if it contains child members

◆ name

constexpr const char* Zivid::Settings::Filters::Outlier::Threshold::name {"Threshold"}
static

Get the name

◆ path

constexpr const char* Zivid::Settings::Filters::Outlier::Threshold::path {"Filters/Outlier/Threshold"}
static

Get the path


The documentation for this class was generated from the following file: