Zivid C++ API 2.12.0+6afd4961-1
|
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. | |
Public Member Functions | |
Range ()=default | |
Default constructor. | |
constexpr | Range (Zivid::Range< double > value) |
Constructor. | |
const Zivid::Range< double > & | 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. | |
constexpr | Range (double minValue, double maxValue) |
Constructor. | |
bool | operator== (const Range &other) const |
Comparison operator. | |
bool | operator!= (const Range &other) const |
Comparison operator. | |
Static Public Attributes | |
static constexpr DataModel::NodeType | nodeType = DataModel::NodeType::leafValue |
The type of this node. | |
static constexpr const char * | path { "RegionOfInterest/Depth/Range" } |
The full path for this value. | |
static constexpr const char * | name { "Range" } |
The name of this value. | |
static constexpr const char * | description |
The description for this value. | |
Friends | |
struct | DataModel::Detail::Befriend< Range > |
std::ostream & | operator<< (std::ostream &stream, const Range &value) |
Operator to serialize the value to a stream. | |
Specify the minimum and maximum Z value that will be included.
The type of the underlying value.
|
default |
Default constructor.
|
inlineexplicitconstexpr |
Constructor.
|
inlineexplicitconstexpr |
Constructor.
bool Zivid::Settings::RegionOfInterest::Depth::Range::hasValue | ( | ) | const |
Check if the value is set.
|
inline |
Comparison operator.
|
inline |
Comparison operator.
void Zivid::Settings::RegionOfInterest::Depth::Range::reset | ( | ) |
Reset the node to unset state.
std::string Zivid::Settings::RegionOfInterest::Depth::Range::toString | ( | ) | const |
Get the value as string.
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.
Operator to serialize the value to a stream.
The description for this value.
|
staticconstexpr |
The name of this value.
|
staticconstexpr |
The type of this node.
|
staticconstexpr |
The full path for this value.