Zivid C++ API 2.9.0+4dbba385-1
Defining the Future of 3D Machine Vision
|
Brightness controls the light output from the projector. More...
#include <Zivid/Settings2D.h>
Public Types | |
using | ValueType = double |
The type of the underlying value More... | |
Public Member Functions | |
Brightness ()=default | |
Default constructor More... | |
constexpr | Brightness (double value) |
Constructor More... | |
double | 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 Brightness &other) const |
Comparison operator More... | |
bool | operator!= (const Brightness &other) const |
Comparison operator More... | |
bool | operator< (const Brightness &other) const |
Comparison operator More... | |
bool | operator> (const Brightness &other) const |
Comparison operator More... | |
bool | operator<= (const Brightness &other) const |
Comparison operator More... | |
bool | operator>= (const Brightness &other) const |
Comparison operator More... | |
Static Public Member Functions | |
static constexpr Range< double > | validRange () |
The range of valid values for Brightness More... | |
Static Public Attributes | |
static constexpr DataModel::NodeType | nodeType = DataModel::NodeType::leafValue |
The type of this node More... | |
static constexpr const char * | path { "Acquisition/Brightness" } |
The full path for this value More... | |
static constexpr const char * | name { "Brightness" } |
The name of this value More... | |
static constexpr const char * | description |
The description for this value More... | |
Friends | |
struct | DataModel::Detail::Befriend< Brightness > |
std::ostream & | operator<< (std::ostream &stream, const Brightness &value) |
Operator to serialize the value to a stream More... | |
Brightness controls the light output from the projector.
Brightness above 1.0 may be needed when the distance between the camera and the scene is large, or in case of high levels of ambient lighting.
When brightness is above 1.0 the duty cycle of the camera (the percentage of time the camera can capture) will be reduced. The duty cycle in boost mode is 50%. The duty cycle is calculated over a 10 second period. This limitation is enforced automatically by the camera. Calling capture when the duty cycle limit has been reached will cause the camera to first wait (sleep) for a duration of time to cool down, before capture will start.
using Zivid::Settings2D::Acquisition::Brightness::ValueType = double |
The type of the underlying value
|
default |
Default constructor
|
inlineexplicitconstexpr |
Constructor
bool Zivid::Settings2D::Acquisition::Brightness::hasValue | ( | ) | const |
Check if the value is set
|
inline |
Comparison operator
|
inline |
Comparison operator
|
inline |
Comparison operator
|
inline |
Comparison operator
|
inline |
Comparison operator
|
inline |
Comparison operator
void Zivid::Settings2D::Acquisition::Brightness::reset | ( | ) |
Reset the node to unset state
std::string Zivid::Settings2D::Acquisition::Brightness::toString | ( | ) | const |
Get the value as string
|
inlinestaticconstexpr |
The range of valid values for Brightness
double Zivid::Settings2D::Acquisition::Brightness::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
|
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