Zivid C++ API 2.9.0+4dbba385-1
Defining the Future of 3D Machine Vision
|
Set the Zivid Vision Engine to use. More...
#include <Zivid/Settings.h>
Public Types | |
enum class | ValueType { phase , stripe } |
The type of the underlying value More... | |
Public Member Functions | |
Engine ()=default | |
Default constructor More... | |
constexpr | Engine (ValueType value) |
Constructor More... | |
ValueType | 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... | |
bool | operator== (const Engine &other) const |
Comparison operator More... | |
bool | operator!= (const Engine &other) const |
Comparison operator More... | |
Static Public Member Functions | |
static std::set< ValueType > | validValues () |
All valid values of Engine More... | |
Static Public Attributes | |
static constexpr DataModel::NodeType | nodeType = DataModel::NodeType::leafValue |
The type of this node More... | |
static constexpr const char * | path { "Experimental/Engine" } |
The full path for this value More... | |
static constexpr const char * | name { "Engine" } |
The name of this value More... | |
static constexpr const char * | description |
The description for this value More... | |
static const Engine | phase |
phase More... | |
static const Engine | stripe |
stripe More... | |
Friends | |
struct | DataModel::Detail::Befriend< Engine > |
std::ostream & | operator<< (std::ostream &stream, const Engine::ValueType &value) |
Operator to serialize ValueType to a stream More... | |
std::ostream & | operator<< (std::ostream &stream, const Engine &value) |
Operator to serialize the value to a stream More... | |
Set the Zivid Vision Engine to use.
The Phase Engine is the current default Zivid Vision Engine.
The Stripe Engine uses anti-reflection technology to suppress interreflection artifacts and improve data quality on shiny objects like cylinders and chrome-plated parts. Additional acquisition and processing time are required for the Stripe Engine. The Stripe Engine is currently experimental, and may be changed and improved in the future.
|
strong |
|
default |
Default constructor
|
inlineexplicitconstexpr |
Constructor
bool Zivid::Settings::Experimental::Engine::hasValue | ( | ) | const |
Check if the value is set
|
inline |
Comparison operator
|
inline |
Comparison operator
void Zivid::Settings::Experimental::Engine::reset | ( | ) |
Reset the node to unset state
std::string Zivid::Settings::Experimental::Engine::toString | ( | ) | const |
Get the value as string
|
inlinestatic |
All valid values of Engine
ValueType Zivid::Settings::Experimental::Engine::value | ( | ) | const |
Get the value
If this object does not contain a value (see hasValue) then this method throws an exception.
|
friend |
|
friend |
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
|
static |
phase
|
static |
stripe