Zivid C++ API 2.9.0+4dbba385-1
Defining the Future of 3D Machine Vision
Public Types | Public Member Functions | Static Public Attributes | Friends | List of all members
Zivid::Settings::RegionOfInterest::Depth::Range Class Reference

Specify the minimum and maximum Z value that will be included. More...

#include <Zivid/Settings.h>

Public Types

using ValueType = Zivid::Range< double >
 The type of the underlying value More...
 

Public Member Functions

 Range ()=default
 Default constructor More...
 
constexpr Range (Zivid::Range< double > value)
 Constructor More...
 
const Zivid::Range< double > & value () const
 Get the value More...
 
bool hasValue () const
 Check if the value is set More...
 
void reset ()
 Reset the node to unset state More...
 
std::string toString () const
 Get the value as string More...
 
constexpr Range (double minValue, double maxValue)
 Constructor More...
 
bool operator== (const Range &other) const
 Comparison operator More...
 
bool operator!= (const Range &other) const
 Comparison operator More...
 

Static Public Attributes

static constexpr DataModel::NodeType nodeType = DataModel::NodeType::leafValue
 The type of this node More...
 
static constexpr const char * path { "RegionOfInterest/Depth/Range" }
 The full path for this value More...
 
static constexpr const char * name { "Range" }
 The name of this value More...
 
static constexpr const char * description
 The description for this value More...
 

Friends

struct DataModel::Detail::Befriend< Range >
 
std::ostream & operator<< (std::ostream &stream, const Range &value)
 Operator to serialize the value to a stream More...
 

Detailed Description

Specify the minimum and maximum Z value that will be included.

Member Typedef Documentation

◆ ValueType

The type of the underlying value

Constructor & Destructor Documentation

◆ Range() [1/3]

Zivid::Settings::RegionOfInterest::Depth::Range::Range ( )
default

Default constructor

◆ Range() [2/3]

constexpr Zivid::Settings::RegionOfInterest::Depth::Range::Range ( Zivid::Range< double >  value)
inlineexplicitconstexpr

Constructor

◆ Range() [3/3]

constexpr Zivid::Settings::RegionOfInterest::Depth::Range::Range ( double  minValue,
double  maxValue 
)
inlineexplicitconstexpr

Constructor

Member Function Documentation

◆ hasValue()

bool Zivid::Settings::RegionOfInterest::Depth::Range::hasValue ( ) const

Check if the value is set

◆ operator!=()

bool Zivid::Settings::RegionOfInterest::Depth::Range::operator!= ( const Range other) const
inline

Comparison operator

◆ operator==()

bool Zivid::Settings::RegionOfInterest::Depth::Range::operator== ( const Range other) const
inline

Comparison operator

◆ reset()

void Zivid::Settings::RegionOfInterest::Depth::Range::reset ( )

Reset the node to unset state

◆ toString()

std::string Zivid::Settings::RegionOfInterest::Depth::Range::toString ( ) const

Get the value as string

◆ value()

const Zivid::Range< double > & Zivid::Settings::RegionOfInterest::Depth::Range::value ( ) const

Get the value

If this object does not contain a value (see hasValue) then this method throws an exception.

Friends And Related Function Documentation

◆ DataModel::Detail::Befriend< Range >

friend struct DataModel::Detail::Befriend< Range >
friend

◆ operator<<

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

Operator to serialize the value to a stream

Member Data Documentation

◆ description

constexpr const char* Zivid::Settings::RegionOfInterest::Depth::Range::description
staticconstexpr
Initial value:
{
R"description(Specify the minimum and maximum Z value that will be included.)description"
}

The description for this value

◆ name

constexpr const char* Zivid::Settings::RegionOfInterest::Depth::Range::name { "Range" }
staticconstexpr

The name of this value

◆ nodeType

constexpr DataModel::NodeType Zivid::Settings::RegionOfInterest::Depth::Range::nodeType = DataModel::NodeType::leafValue
staticconstexpr

The type of this node

◆ path

constexpr const char* Zivid::Settings::RegionOfInterest::Depth::Range::path { "RegionOfInterest/Depth/Range" }
staticconstexpr

The full path for this value


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