Zivid C++ API 2.10.1+50b274e8-7
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 , omni } |
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... | |
static const Engine | omni |
omni 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 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+.
The Stripe and Omni engines are 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
|
static |
omni
|
staticconstexpr |
The full path for this value
|
static |
phase
|
static |
stripe