Zivid C++ API 2.14.0+e4a0c4a9-1
|
Adapt suggested settings to the ambient light frequency. This can be used to avoid artifacts in the point cloud due to AC powered ambient light being mixed in with the camera's projector light. More...
#include <Zivid/CaptureAssistant/SuggestSettingsParameters.h>
Public Types | |
enum class | ValueType { none , hz50 , hz60 } |
The type of the underlying value. More... | |
Public Member Functions | |
AmbientLightFrequency ()=default | |
Default constructor. | |
constexpr | AmbientLightFrequency (ValueType value) |
Constructor. | |
ValueType | value () const |
Get the value. | |
std::string | toString () const |
Get the value as string. | |
bool | operator== (const AmbientLightFrequency &other) const |
Comparison operator. | |
bool | operator!= (const AmbientLightFrequency &other) const |
Comparison operator. | |
Static Public Member Functions | |
static std::set< ValueType > | validValues () |
All valid values of AmbientLightFrequency. | |
Static Public Attributes | |
static constexpr DataModel::NodeType | nodeType = DataModel::NodeType::leafValue |
The type of this node. | |
static constexpr const char * | path { "AmbientLightFrequency" } |
The full path for this value. | |
static constexpr const char * | name { "AmbientLightFrequency" } |
The name of this value. | |
static constexpr const char * | description |
The description for this value. | |
static const AmbientLightFrequency | none |
none | |
static const AmbientLightFrequency | hz50 |
hz50 | |
static const AmbientLightFrequency | hz60 |
hz60 | |
Friends | |
struct | DataModel::Detail::Befriend< AmbientLightFrequency > |
std::ostream & | operator<< (std::ostream &stream, const AmbientLightFrequency::ValueType &value) |
Operator to serialize ValueType to a stream. | |
std::ostream & | operator<< (std::ostream &stream, const AmbientLightFrequency &value) |
Operator to serialize the value to a stream. | |
Adapt suggested settings to the ambient light frequency. This can be used to avoid artifacts in the point cloud due to AC powered ambient light being mixed in with the camera's projector light.
Select your power grid frequency. 60 Hz is typically used in Japan, Americas, Taiwan, South Korea, and the Philippines. 50 Hz is the normal in rest of the world. If ambient light is unproblematic, turn off for optimal performance.
|
default |
Default constructor.
|
inlineexplicitconstexpr |
Constructor.
|
inline |
Comparison operator.
|
inline |
Comparison operator.
std::string Zivid::CaptureAssistant::SuggestSettingsParameters::AmbientLightFrequency::toString | ( | ) | const |
Get the value as string.
|
inlinestatic |
All valid values of AmbientLightFrequency.
ValueType Zivid::CaptureAssistant::SuggestSettingsParameters::AmbientLightFrequency::value | ( | ) | const |
Get the value.
|
friend |
|
friend |
Operator to serialize the value to a stream.
|
friend |
Operator to serialize ValueType to a stream.
|
staticconstexpr |
The description for this value.
|
static |
hz50
|
static |
hz60
|
staticconstexpr |
The name of this value.
|
staticconstexpr |
The type of this node.
|
static |
none
|
staticconstexpr |
The full path for this value.