Zivid C++ API 2.13.1+18e79e79-1
|
Set the Zivid Vision Engine to use. More...
#include <Zivid/Settings.h>
Public Types | |
enum class | ValueType { phase , stripe , omni } |
The type of the underlying value. More... | |
Public Member Functions | |
Engine ()=default | |
Default constructor. | |
constexpr | Engine (ValueType value) |
Constructor. | |
ValueType | 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. | |
bool | operator== (const Engine &other) const |
Comparison operator. | |
bool | operator!= (const Engine &other) const |
Comparison operator. | |
Static Public Member Functions | |
static std::set< ValueType > | validValues () |
All valid values of Engine. | |
Static Public Attributes | |
static constexpr DataModel::NodeType | nodeType = DataModel::NodeType::leafValue |
The type of this node. | |
static constexpr const char * | path { "Engine" } |
The full path for this value. | |
static constexpr const char * | name { "Engine" } |
The name of this value. | |
static constexpr const char * | description |
The description for this value. | |
static const Engine | phase |
phase | |
static const Engine | stripe |
stripe | |
static const Engine | omni |
omni | |
Friends | |
struct | DataModel::Detail::Befriend< Engine > |
std::ostream & | operator<< (std::ostream &stream, const Engine::ValueType &value) |
Operator to serialize ValueType to a stream. | |
std::ostream & | operator<< (std::ostream &stream, const Engine &value) |
Operator to serialize the value to a stream. | |
Set the Zivid Vision Engine to use.
The Phase Engine is the fastest choice in terms of both acquisition time and total capture time, and is a good compromise between quality and speed. The Phase Engine is recommended for objects that are diffuse, opaque, and slightly specular, and is suitable for applications in logistics such as parcel induction.
The Stripe Engine is built for exceptional point cloud quality in scenes with highly specular reflective objects. This makes the engine suitable for applications such as factory automation, manufacturing, and bin picking. Additional acquisition and processing time are required for the Stripe Engine.
The Omni Engine is built for exceptional point cloud quality on all scenes, including scenes with extremely specular reflective objects, as well as transparent objects. This makes the Omni Engine suitable for applications such as piece picking. Same as for the Stripe Engine, it trades off speed for quality. The Omni Engine is only available for Zivid 2+.
|
strong |
|
default |
Default constructor.
|
inlineexplicitconstexpr |
Constructor.
bool Zivid::Settings::Engine::hasValue | ( | ) | const |
Check if the value is set.
|
inline |
Comparison operator.
|
inline |
Comparison operator.
void Zivid::Settings::Engine::reset | ( | ) |
Reset the node to unset state.
std::string Zivid::Settings::Engine::toString | ( | ) | const |
Get the value as string.
|
inlinestatic |
All valid values of Engine.
ValueType Zivid::Settings::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.
|
static |
omni
|
staticconstexpr |
The full path for this value.
|
static |
phase
|
static |
stripe