Zivid C++ API 2.19.0+b5c53d0f-1
Zivid::Settings2D::Processing Class Reference

2D processing settings. More...

#include <Zivid/Settings2D.h>

Classes

class  Color
 Color settings. More...

Public Types

using Descendants

Public Member Functions

 Processing ()
 Default constructor.
template<typename... Args>
 Processing (Args &&...args)
 Constructor taking variadic number of arguments.
template<typename... Args>
void set (Args &&...args)
 Set multiple arguments.
template<typename... Args>
Processing copyWith (Args &&...args) const
 Returns a copy of this object with the given argument(s) set to the new value(s)
const Color & color () const
 Get Color.
Color & color ()
 Get Color.
Processing & set (const Color &value)
 Set Color.
Processing & set (const Color::Balance &value)
 Set Color::Balance.
Processing & set (const Color::Balance::Blue &value)
 Set Color::Balance::Blue.
Processing & set (const Color::Balance::Green &value)
 Set Color::Balance::Green.
Processing & set (const Color::Balance::Red &value)
 Set Color::Balance::Red.
Processing & set (const Color::Experimental &value)
 Set Color::Experimental.
Processing & set (const Color::Experimental::HighlightSuppression &value)
 Set Color::Experimental::HighlightSuppression.
Processing & set (const Color::Experimental::HighlightSuppression::Enabled &value)
 Set Color::Experimental::HighlightSuppression::Enabled.
Processing & set (const Color::Experimental::Mode &value)
 Set Color::Experimental::Mode.
Processing & set (const Color::Gamma &value)
 Set Color::Gamma.
template<typename T, typename std::enable_if< std::is_same< T, Settings2D::Processing::Color >::value, int >::type = 0>
const Settings2D::Processing::Color & get () const
template<typename T, typename std::enable_if< std::is_same< T, Settings2D::Processing::Color::Balance >::value, int >::type = 0>
const Settings2D::Processing::Color::Balance & get () const
template<typename T, typename std::enable_if< std::is_same< T, Settings2D::Processing::Color::Balance::Blue >::value, int >::type = 0>
const Settings2D::Processing::Color::Balance::Blue & get () const
template<typename T, typename std::enable_if< std::is_same< T, Settings2D::Processing::Color::Balance::Green >::value, int >::type = 0>
const Settings2D::Processing::Color::Balance::Green & get () const
template<typename T, typename std::enable_if< std::is_same< T, Settings2D::Processing::Color::Balance::Red >::value, int >::type = 0>
const Settings2D::Processing::Color::Balance::Red & get () const
template<typename T, typename std::enable_if< std::is_same< T, Settings2D::Processing::Color::Experimental >::value, int >::type = 0>
const Settings2D::Processing::Color::Experimental & get () const
template<typename T, typename std::enable_if< std::is_same< T, Settings2D::Processing::Color::Experimental::HighlightSuppression >::value, int >::type = 0>
const Settings2D::Processing::Color::Experimental::HighlightSuppression & get () const
template<typename T, typename std::enable_if< std::is_same< T, Settings2D::Processing::Color::Experimental::HighlightSuppression::Enabled >::value, int >::type = 0>
const Settings2D::Processing::Color::Experimental::HighlightSuppression::Enabled & get () const
template<typename T, typename std::enable_if< std::is_same< T, Settings2D::Processing::Color::Experimental::Mode >::value, int >::type = 0>
const Settings2D::Processing::Color::Experimental::Mode & get () const
template<typename T, typename std::enable_if< std::is_same< T, Settings2D::Processing::Color::Gamma >::value, int >::type = 0>
const Settings2D::Processing::Color::Gamma & get () const
template<size_t i, typename std::enable_if< i==0, int >::type = 0>
const Settings2D::Processing::Color & get () const
template<typename F>
void forEach (const F &f) const
 Run the given function on each direct member with the value of the member as parameter.
template<typename F>
void forEach (const F &f)
 Run the given function on each direct member with the value of the member as parameter.
bool operator== (const Processing &other) const
 Equality operator.
bool operator!= (const Processing &other) const
 Inequality operator.
std::string toString () const
 Get the value as string.

Static Public Attributes

static constexpr DataModel::NodeType nodeType = DataModel::NodeType::group
 The type of this node.
static constexpr const char * path { "Processing" }
 The full path for this value.
static constexpr const char * name { "Processing" }
 The name of this value.
static constexpr const char * description { R"description(2D processing settings.)description" }
 The description for this value.

Friends

struct DataModel::Detail::Befriend< Processing >
std::ostream & operator<< (std::ostream &stream, const Processing &value)
 Operator to send the value as string to a stream.

Detailed Description

2D processing settings.

Member Typedef Documentation

◆ Descendants

Initial value:
std::tuple<
Digital gain applied to blue channel.
Definition Settings2D.h:1416
Digital gain applied to green channel.
Definition Settings2D.h:1528
Digital gain applied to red channel.
Definition Settings2D.h:1640
Color balance settings.
Definition Settings2D.h:1398
Enable or disable the highlight suppression.
Definition Settings2D.h:2067
Suppress highlights caused by the projector. Suppressed areas will appear with structure and detail r...
Definition Settings2D.h:2044
This setting controls how the color image is computed.
Definition Settings2D.h:2350
Experimental color settings. These may be renamed, moved or deleted in the future.
Definition Settings2D.h:2021
Gamma applied to the color values. Gamma less than 1 makes the colors brighter, while gamma greater t...
Definition Settings2D.h:2718
Color settings.
Definition Settings2D.h:1380

Constructor & Destructor Documentation

◆ Processing() [1/2]

Zivid::Settings2D::Processing::Processing ( )

Default constructor.

◆ Processing() [2/2]

template<typename... Args>
Zivid::Settings2D::Processing::Processing ( Args &&... args)
inlineexplicit

Member Function Documentation

◆ color() [1/2]

Color & Zivid::Settings2D::Processing::color ( )
inline

Get Color.

◆ color() [2/2]

const Color & Zivid::Settings2D::Processing::color ( ) const
inline

Get Color.

◆ copyWith()

template<typename... Args>
Processing Zivid::Settings2D::Processing::copyWith ( Args &&... args) const
inline

◆ forEach() [1/2]

template<typename F>
void Zivid::Settings2D::Processing::forEach ( const F & f)
inline

Run the given function on each direct member with the value of the member as parameter.

◆ forEach() [2/2]

template<typename F>
void Zivid::Settings2D::Processing::forEach ( const F & f) const
inline

Run the given function on each direct member with the value of the member as parameter.

◆ get() [1/11]

template<typename T, typename std::enable_if< std::is_same< T, Settings2D::Processing::Color >::value, int >::type = 0>
const Settings2D::Processing::Color & Zivid::Settings2D::Processing::get ( ) const
inline

◆ get() [2/11]

template<typename T, typename std::enable_if< std::is_same< T, Settings2D::Processing::Color::Balance >::value, int >::type = 0>
const Settings2D::Processing::Color::Balance & Zivid::Settings2D::Processing::get ( ) const
inline

◆ get() [3/11]

template<typename T, typename std::enable_if< std::is_same< T, Settings2D::Processing::Color::Balance::Blue >::value, int >::type = 0>
const Settings2D::Processing::Color::Balance::Blue & Zivid::Settings2D::Processing::get ( ) const
inline

◆ get() [4/11]

template<typename T, typename std::enable_if< std::is_same< T, Settings2D::Processing::Color::Balance::Green >::value, int >::type = 0>
const Settings2D::Processing::Color::Balance::Green & Zivid::Settings2D::Processing::get ( ) const
inline

◆ get() [5/11]

template<typename T, typename std::enable_if< std::is_same< T, Settings2D::Processing::Color::Balance::Red >::value, int >::type = 0>
const Settings2D::Processing::Color::Balance::Red & Zivid::Settings2D::Processing::get ( ) const
inline

◆ get() [6/11]

template<typename T, typename std::enable_if< std::is_same< T, Settings2D::Processing::Color::Experimental >::value, int >::type = 0>
const Settings2D::Processing::Color::Experimental & Zivid::Settings2D::Processing::get ( ) const
inline

◆ get() [7/11]

template<typename T, typename std::enable_if< std::is_same< T, Settings2D::Processing::Color::Experimental::HighlightSuppression >::value, int >::type = 0>
const Settings2D::Processing::Color::Experimental::HighlightSuppression & Zivid::Settings2D::Processing::get ( ) const
inline

◆ get() [8/11]

template<typename T, typename std::enable_if< std::is_same< T, Settings2D::Processing::Color::Experimental::HighlightSuppression::Enabled >::value, int >::type = 0>
const Settings2D::Processing::Color::Experimental::HighlightSuppression::Enabled & Zivid::Settings2D::Processing::get ( ) const
inline

◆ get() [9/11]

template<typename T, typename std::enable_if< std::is_same< T, Settings2D::Processing::Color::Experimental::Mode >::value, int >::type = 0>
const Settings2D::Processing::Color::Experimental::Mode & Zivid::Settings2D::Processing::get ( ) const
inline

◆ get() [10/11]

template<typename T, typename std::enable_if< std::is_same< T, Settings2D::Processing::Color::Gamma >::value, int >::type = 0>
const Settings2D::Processing::Color::Gamma & Zivid::Settings2D::Processing::get ( ) const
inline

◆ get() [11/11]

template<size_t i, typename std::enable_if< i==0, int >::type = 0>
const Settings2D::Processing::Color & Zivid::Settings2D::Processing::get ( ) const
inline

◆ operator!=()

bool Zivid::Settings2D::Processing::operator!= ( const Processing & other) const

Inequality operator.

◆ operator==()

bool Zivid::Settings2D::Processing::operator== ( const Processing & other) const

Equality operator.

◆ set() [1/11]

◆ set() [2/11]

Processing & Zivid::Settings2D::Processing::set ( const Color & value)
inline

Set Color.

◆ set() [3/11]

Processing & Zivid::Settings2D::Processing::set ( const Color::Balance & value)
inline

◆ set() [4/11]

Processing & Zivid::Settings2D::Processing::set ( const Color::Balance::Blue & value)
inline

◆ set() [5/11]

Processing & Zivid::Settings2D::Processing::set ( const Color::Balance::Green & value)
inline

◆ set() [6/11]

Processing & Zivid::Settings2D::Processing::set ( const Color::Balance::Red & value)
inline

◆ set() [7/11]

Processing & Zivid::Settings2D::Processing::set ( const Color::Experimental & value)
inline

◆ set() [8/11]

Processing & Zivid::Settings2D::Processing::set ( const Color::Experimental::HighlightSuppression & value)
inline

◆ set() [9/11]

◆ set() [10/11]

Processing & Zivid::Settings2D::Processing::set ( const Color::Experimental::Mode & value)
inline

◆ set() [11/11]

Processing & Zivid::Settings2D::Processing::set ( const Color::Gamma & value)
inline

◆ toString()

std::string Zivid::Settings2D::Processing::toString ( ) const

Get the value as string.

◆ DataModel::Detail::Befriend< Processing >

friend struct DataModel::Detail::Befriend< Processing >
friend

◆ operator<<

std::ostream & operator<< ( std::ostream & stream,
const Processing & value )
friend

Operator to send the value as string to a stream.

Member Data Documentation

◆ description

const char* Zivid::Settings2D::Processing::description { R"description(2D processing settings.)description" }
staticconstexpr

The description for this value.

◆ name

const char* Zivid::Settings2D::Processing::name { "Processing" }
staticconstexpr

The name of this value.

◆ nodeType

DataModel::NodeType Zivid::Settings2D::Processing::nodeType = DataModel::NodeType::group
staticconstexpr

The type of this node.

◆ path

const char* Zivid::Settings2D::Processing::path { "Processing" }
staticconstexpr

The full path for this value.


The documentation for this class was generated from the following file: