Zivid C++ API  1.3.0+bb9ee328-10
Defining the Future of 3D Machine Vision
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 <Zivid/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_copy_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" }
 The full path for this value More...
 
static constexpr const char * name { "Threshold" }
 The name of this value More...
 
static constexpr const char * description
 The description for this value 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

◆ description

constexpr const char* Zivid::Settings::Filters::Outlier::Threshold::description
static
Initial value:
{
R"description(Mark point as an outlier if neighboring pixel has a 3D distance above given threshold)description"
}

The description for this value

◆ 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

The name of this value

◆ path

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

The full path for this value


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