Zivid C++ API  2.4.0+a330c1a6-1
Defining the Future of 3D Machine Vision
Classes | Public Types | Public Member Functions | Static Public Attributes | Friends | List of all members
Zivid::Settings Class Reference

Settings used when capturing with a Zivid camera More...

#include <Zivid/Settings.h>

Classes

class  Acquisition
 Settings for a single acquisition More...
 
class  Acquisitions
 List of Acquisition objects More...
 
class  Experimental
 Experimental features. These settings may be changed, renamed, moved or deleted in the future. More...
 
class  Processing
 Settings related to processing of a capture, including filters and color balance More...
 

Public Types

using Descendants = std::tuple< Settings::Acquisitions, Settings::Experimental, Settings::Experimental::Engine, Settings::Processing, Settings::Processing::Color, Settings::Processing::Color::Balance, Settings::Processing::Color::Balance::Blue, Settings::Processing::Color::Balance::Green, Settings::Processing::Color::Balance::Red, Settings::Processing::Color::Experimental, Settings::Processing::Color::Experimental::ToneMapping, Settings::Processing::Color::Experimental::ToneMapping::Enabled, Settings::Processing::Color::Gamma, Settings::Processing::Filters, Settings::Processing::Filters::Experimental, Settings::Processing::Filters::Experimental::ContrastDistortion, Settings::Processing::Filters::Experimental::ContrastDistortion::Correction, Settings::Processing::Filters::Experimental::ContrastDistortion::Correction::Enabled, Settings::Processing::Filters::Experimental::ContrastDistortion::Correction::Strength, Settings::Processing::Filters::Experimental::ContrastDistortion::Removal, Settings::Processing::Filters::Experimental::ContrastDistortion::Removal::Enabled, Settings::Processing::Filters::Experimental::ContrastDistortion::Removal::Threshold, Settings::Processing::Filters::Noise, Settings::Processing::Filters::Noise::Removal, Settings::Processing::Filters::Noise::Removal::Enabled, Settings::Processing::Filters::Noise::Removal::Threshold, Settings::Processing::Filters::Outlier, Settings::Processing::Filters::Outlier::Removal, Settings::Processing::Filters::Outlier::Removal::Enabled, Settings::Processing::Filters::Outlier::Removal::Threshold, Settings::Processing::Filters::Reflection, Settings::Processing::Filters::Reflection::Removal, Settings::Processing::Filters::Reflection::Removal::Enabled, Settings::Processing::Filters::Smoothing, Settings::Processing::Filters::Smoothing::Gaussian, Settings::Processing::Filters::Smoothing::Gaussian::Enabled, Settings::Processing::Filters::Smoothing::Gaussian::Sigma >
 

Public Member Functions

 Settings ()
 Default constructor More...
 
 Settings (const std::string &fileName)
 Construct Settings by loading from file More...
 
template<typename... Args>
 Settings (Args &&...args)
 Constructor taking variadic number of arguments More...
 
template<typename... Args>
void set (Args &&...args)
 Set multiple arguments More...
 
template<typename... Args>
Settings copyWith (Args &&...args) const
 Returns a copy of this object with the given argument(s) set to the new value(s) More...
 
const Acquisitionsacquisitions () const
 Get Acquisitions More...
 
Acquisitionsacquisitions ()
 Get Acquisitions More...
 
Settingsset (const Acquisitions &value)
 Set Acquisitions More...
 
const Experimentalexperimental () const
 Get Experimental More...
 
Experimentalexperimental ()
 Get Experimental More...
 
Settingsset (const Experimental &value)
 Set Experimental More...
 
Settingsset (const Experimental::Engine &value)
 Set Experimental::Engine More...
 
const Processingprocessing () const
 Get Processing More...
 
Processingprocessing ()
 Get Processing More...
 
Settingsset (const Processing &value)
 Set Processing More...
 
Settingsset (const Processing::Color &value)
 Set Processing::Color More...
 
Settingsset (const Processing::Color::Balance &value)
 Set Processing::Color::Balance More...
 
Settingsset (const Processing::Color::Balance::Blue &value)
 Set Processing::Color::Balance::Blue More...
 
Settingsset (const Processing::Color::Balance::Green &value)
 Set Processing::Color::Balance::Green More...
 
Settingsset (const Processing::Color::Balance::Red &value)
 Set Processing::Color::Balance::Red More...
 
Settingsset (const Processing::Color::Experimental &value)
 Set Processing::Color::Experimental More...
 
Settingsset (const Processing::Color::Experimental::ToneMapping &value)
 Set Processing::Color::Experimental::ToneMapping More...
 
Settingsset (const Processing::Color::Experimental::ToneMapping::Enabled &value)
 Set Processing::Color::Experimental::ToneMapping::Enabled More...
 
Settingsset (const Processing::Color::Gamma &value)
 Set Processing::Color::Gamma More...
 
Settingsset (const Processing::Filters &value)
 Set Processing::Filters More...
 
Settingsset (const Processing::Filters::Experimental &value)
 Set Processing::Filters::Experimental More...
 
Settingsset (const Processing::Filters::Experimental::ContrastDistortion &value)
 Set Processing::Filters::Experimental::ContrastDistortion More...
 
Settingsset (const Processing::Filters::Experimental::ContrastDistortion::Correction &value)
 Set Processing::Filters::Experimental::ContrastDistortion::Correction More...
 
Settingsset (const Processing::Filters::Experimental::ContrastDistortion::Correction::Enabled &value)
 Set Processing::Filters::Experimental::ContrastDistortion::Correction::Enabled More...
 
Settingsset (const Processing::Filters::Experimental::ContrastDistortion::Correction::Strength &value)
 Set Processing::Filters::Experimental::ContrastDistortion::Correction::Strength More...
 
Settingsset (const Processing::Filters::Experimental::ContrastDistortion::Removal &value)
 Set Processing::Filters::Experimental::ContrastDistortion::Removal More...
 
Settingsset (const Processing::Filters::Experimental::ContrastDistortion::Removal::Enabled &value)
 Set Processing::Filters::Experimental::ContrastDistortion::Removal::Enabled More...
 
Settingsset (const Processing::Filters::Experimental::ContrastDistortion::Removal::Threshold &value)
 Set Processing::Filters::Experimental::ContrastDistortion::Removal::Threshold More...
 
Settingsset (const Processing::Filters::Noise &value)
 Set Processing::Filters::Noise More...
 
Settingsset (const Processing::Filters::Noise::Removal &value)
 Set Processing::Filters::Noise::Removal More...
 
Settingsset (const Processing::Filters::Noise::Removal::Enabled &value)
 Set Processing::Filters::Noise::Removal::Enabled More...
 
Settingsset (const Processing::Filters::Noise::Removal::Threshold &value)
 Set Processing::Filters::Noise::Removal::Threshold More...
 
Settingsset (const Processing::Filters::Outlier &value)
 Set Processing::Filters::Outlier More...
 
Settingsset (const Processing::Filters::Outlier::Removal &value)
 Set Processing::Filters::Outlier::Removal More...
 
Settingsset (const Processing::Filters::Outlier::Removal::Enabled &value)
 Set Processing::Filters::Outlier::Removal::Enabled More...
 
Settingsset (const Processing::Filters::Outlier::Removal::Threshold &value)
 Set Processing::Filters::Outlier::Removal::Threshold More...
 
Settingsset (const Processing::Filters::Reflection &value)
 Set Processing::Filters::Reflection More...
 
Settingsset (const Processing::Filters::Reflection::Removal &value)
 Set Processing::Filters::Reflection::Removal More...
 
Settingsset (const Processing::Filters::Reflection::Removal::Enabled &value)
 Set Processing::Filters::Reflection::Removal::Enabled More...
 
Settingsset (const Processing::Filters::Smoothing &value)
 Set Processing::Filters::Smoothing More...
 
Settingsset (const Processing::Filters::Smoothing::Gaussian &value)
 Set Processing::Filters::Smoothing::Gaussian More...
 
Settingsset (const Processing::Filters::Smoothing::Gaussian::Enabled &value)
 Set Processing::Filters::Smoothing::Gaussian::Enabled More...
 
Settingsset (const Processing::Filters::Smoothing::Gaussian::Sigma &value)
 Set Processing::Filters::Smoothing::Gaussian::Sigma More...
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Acquisitions >::value, int >::type = 0>
const Settings::Acquisitionsget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Experimental >::value, int >::type = 0>
const Settings::Experimentalget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Experimental::Engine >::value, int >::type = 0>
const Settings::Experimental::Engineget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing >::value, int >::type = 0>
const Settings::Processingget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Color >::value, int >::type = 0>
const Settings::Processing::Colorget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Color::Balance >::value, int >::type = 0>
const Settings::Processing::Color::Balanceget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Color::Balance::Blue >::value, int >::type = 0>
const Settings::Processing::Color::Balance::Blueget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Color::Balance::Green >::value, int >::type = 0>
const Settings::Processing::Color::Balance::Greenget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Color::Balance::Red >::value, int >::type = 0>
const Settings::Processing::Color::Balance::Redget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Color::Experimental >::value, int >::type = 0>
const Settings::Processing::Color::Experimentalget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Color::Experimental::ToneMapping >::value, int >::type = 0>
const Settings::Processing::Color::Experimental::ToneMappingget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Color::Experimental::ToneMapping::Enabled >::value, int >::type = 0>
const Settings::Processing::Color::Experimental::ToneMapping::Enabledget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Color::Gamma >::value, int >::type = 0>
const Settings::Processing::Color::Gammaget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters >::value, int >::type = 0>
const Settings::Processing::Filtersget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Experimental >::value, int >::type = 0>
const Settings::Processing::Filters::Experimentalget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Experimental::ContrastDistortion >::value, int >::type = 0>
const Settings::Processing::Filters::Experimental::ContrastDistortionget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Experimental::ContrastDistortion::Correction >::value, int >::type = 0>
const Settings::Processing::Filters::Experimental::ContrastDistortion::Correctionget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Experimental::ContrastDistortion::Correction::Enabled >::value, int >::type = 0>
const Settings::Processing::Filters::Experimental::ContrastDistortion::Correction::Enabledget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Experimental::ContrastDistortion::Correction::Strength >::value, int >::type = 0>
const Settings::Processing::Filters::Experimental::ContrastDistortion::Correction::Strengthget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Experimental::ContrastDistortion::Removal >::value, int >::type = 0>
const Settings::Processing::Filters::Experimental::ContrastDistortion::Removalget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Experimental::ContrastDistortion::Removal::Enabled >::value, int >::type = 0>
const Settings::Processing::Filters::Experimental::ContrastDistortion::Removal::Enabledget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Experimental::ContrastDistortion::Removal::Threshold >::value, int >::type = 0>
const Settings::Processing::Filters::Experimental::ContrastDistortion::Removal::Thresholdget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Noise >::value, int >::type = 0>
const Settings::Processing::Filters::Noiseget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Noise::Removal >::value, int >::type = 0>
const Settings::Processing::Filters::Noise::Removalget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Noise::Removal::Enabled >::value, int >::type = 0>
const Settings::Processing::Filters::Noise::Removal::Enabledget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Noise::Removal::Threshold >::value, int >::type = 0>
const Settings::Processing::Filters::Noise::Removal::Thresholdget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Outlier >::value, int >::type = 0>
const Settings::Processing::Filters::Outlierget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Outlier::Removal >::value, int >::type = 0>
const Settings::Processing::Filters::Outlier::Removalget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Outlier::Removal::Enabled >::value, int >::type = 0>
const Settings::Processing::Filters::Outlier::Removal::Enabledget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Outlier::Removal::Threshold >::value, int >::type = 0>
const Settings::Processing::Filters::Outlier::Removal::Thresholdget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Reflection >::value, int >::type = 0>
const Settings::Processing::Filters::Reflectionget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Reflection::Removal >::value, int >::type = 0>
const Settings::Processing::Filters::Reflection::Removalget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Reflection::Removal::Enabled >::value, int >::type = 0>
const Settings::Processing::Filters::Reflection::Removal::Enabledget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Smoothing >::value, int >::type = 0>
const Settings::Processing::Filters::Smoothingget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Smoothing::Gaussian >::value, int >::type = 0>
const Settings::Processing::Filters::Smoothing::Gaussianget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Smoothing::Gaussian::Enabled >::value, int >::type = 0>
const Settings::Processing::Filters::Smoothing::Gaussian::Enabledget () const
 
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Smoothing::Gaussian::Sigma >::value, int >::type = 0>
const Settings::Processing::Filters::Smoothing::Gaussian::Sigmaget () const
 
template<size_t i, typename std::enable_if< i==0, int >::type = 0>
const Settings::Acquisitionsget () const
 
template<size_t i, typename std::enable_if< i==1, int >::type = 0>
const Settings::Experimentalget () const
 
template<size_t i, typename std::enable_if< i==2, int >::type = 0>
const Settings::Processingget () 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 More...
 
template<typename F >
void forEach (const F &f)
 Run the given function on each direct member with the value of the member as parameter More...
 
bool operator== (const Settings &other) const
 Equality operator More...
 
bool operator!= (const Settings &other) const
 Inequality operator More...
 
std::string toString () const
 Get the value as string More...
 
void save (const std::string &fileName) const
 Save to the given file More...
 
void load (const std::string &fileName)
 Load from the given file More...
 

Static Public Attributes

static constexpr DataModel::NodeType nodeType = DataModel::NodeType::group
 The type of this node More...
 
static constexpr const char * path { "" }
 The full path for this value More...
 
static constexpr const char * name { "Settings" }
 The name of this value More...
 
static constexpr const char * description
 The description for this value More...
 
static constexpr size_t version { 8 }
 

Friends

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

Detailed Description

Settings used when capturing with a Zivid camera

Member Typedef Documentation

◆ Descendants

using Zivid::Settings::Descendants = std::tuple<Settings::Acquisitions, Settings::Experimental, Settings::Experimental::Engine, Settings::Processing, Settings::Processing::Color, Settings::Processing::Color::Balance, Settings::Processing::Color::Balance::Blue, Settings::Processing::Color::Balance::Green, Settings::Processing::Color::Balance::Red, Settings::Processing::Color::Experimental, Settings::Processing::Color::Experimental::ToneMapping, Settings::Processing::Color::Experimental::ToneMapping::Enabled, Settings::Processing::Color::Gamma, Settings::Processing::Filters, Settings::Processing::Filters::Experimental, Settings::Processing::Filters::Experimental::ContrastDistortion, Settings::Processing::Filters::Experimental::ContrastDistortion::Correction, Settings::Processing::Filters::Experimental::ContrastDistortion::Correction::Enabled, Settings::Processing::Filters::Experimental::ContrastDistortion::Correction::Strength, Settings::Processing::Filters::Experimental::ContrastDistortion::Removal, Settings::Processing::Filters::Experimental::ContrastDistortion::Removal::Enabled, Settings::Processing::Filters::Experimental::ContrastDistortion::Removal::Threshold, Settings::Processing::Filters::Noise, Settings::Processing::Filters::Noise::Removal, Settings::Processing::Filters::Noise::Removal::Enabled, Settings::Processing::Filters::Noise::Removal::Threshold, Settings::Processing::Filters::Outlier, Settings::Processing::Filters::Outlier::Removal, Settings::Processing::Filters::Outlier::Removal::Enabled, Settings::Processing::Filters::Outlier::Removal::Threshold, Settings::Processing::Filters::Reflection, Settings::Processing::Filters::Reflection::Removal, Settings::Processing::Filters::Reflection::Removal::Enabled, Settings::Processing::Filters::Smoothing, Settings::Processing::Filters::Smoothing::Gaussian, Settings::Processing::Filters::Smoothing::Gaussian::Enabled, Settings::Processing::Filters::Smoothing::Gaussian::Sigma>

Constructor & Destructor Documentation

◆ Settings() [1/3]

Zivid::Settings::Settings ( )

Default constructor

◆ Settings() [2/3]

Zivid::Settings::Settings ( const std::string &  fileName)
explicit

Construct Settings by loading from file

◆ Settings() [3/3]

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

Constructor taking variadic number of arguments

One or more descendant types can be provided. All types not provided will be set to their default value. The result is the same as default constructing Settings then invoking set(args).

The provided arguments must be descendants of Settings. These types can be provided:

Member Function Documentation

◆ acquisitions() [1/2]

Acquisitions& Zivid::Settings::acquisitions ( )
inline

◆ acquisitions() [2/2]

const Acquisitions& Zivid::Settings::acquisitions ( ) const
inline

◆ copyWith()

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

Returns a copy of this object with the given argument(s) set to the new value(s)

Creates a copy of this Settings object, then invokes set(args) on the copy, and finally returns the copy. This method does not modify the original object.

The provided arguments must be descendants of Settings. These types can be provided:

◆ experimental() [1/2]

Experimental& Zivid::Settings::experimental ( )
inline

◆ experimental() [2/2]

const Experimental& Zivid::Settings::experimental ( ) const
inline

◆ forEach() [1/2]

template<typename F >
void Zivid::Settings::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::Settings::forEach ( const F &  f) const
inline

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

◆ get() [1/40]

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

◆ get() [2/40]

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

◆ get() [3/40]

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

◆ get() [4/40]

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

◆ get() [5/40]

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

◆ get() [6/40]

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

◆ get() [7/40]

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

◆ get() [8/40]

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

◆ get() [9/40]

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

◆ get() [10/40]

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

◆ get() [11/40]

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

◆ get() [12/40]

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

◆ get() [13/40]

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

◆ get() [14/40]

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

◆ get() [15/40]

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

◆ get() [16/40]

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

◆ get() [17/40]

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

◆ get() [18/40]

template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Experimental::ContrastDistortion::Correction::Enabled >::value, int >::type = 0>
const Settings::Processing::Filters::Experimental::ContrastDistortion::Correction::Enabled& Zivid::Settings::get ( ) const
inline

◆ get() [19/40]

template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Experimental::ContrastDistortion::Correction::Strength >::value, int >::type = 0>
const Settings::Processing::Filters::Experimental::ContrastDistortion::Correction::Strength& Zivid::Settings::get ( ) const
inline

◆ get() [20/40]

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

◆ get() [21/40]

template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Experimental::ContrastDistortion::Removal::Enabled >::value, int >::type = 0>
const Settings::Processing::Filters::Experimental::ContrastDistortion::Removal::Enabled& Zivid::Settings::get ( ) const
inline

◆ get() [22/40]

template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Experimental::ContrastDistortion::Removal::Threshold >::value, int >::type = 0>
const Settings::Processing::Filters::Experimental::ContrastDistortion::Removal::Threshold& Zivid::Settings::get ( ) const
inline

◆ get() [23/40]

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

◆ get() [24/40]

template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Noise::Removal >::value, int >::type = 0>
const Settings::Processing::Filters::Noise::Removal& Zivid::Settings::get ( ) const
inline

◆ get() [25/40]

template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Noise::Removal::Enabled >::value, int >::type = 0>
const Settings::Processing::Filters::Noise::Removal::Enabled& Zivid::Settings::get ( ) const
inline

◆ get() [26/40]

template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Noise::Removal::Threshold >::value, int >::type = 0>
const Settings::Processing::Filters::Noise::Removal::Threshold& Zivid::Settings::get ( ) const
inline

◆ get() [27/40]

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

◆ get() [28/40]

template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Outlier::Removal >::value, int >::type = 0>
const Settings::Processing::Filters::Outlier::Removal& Zivid::Settings::get ( ) const
inline

◆ get() [29/40]

template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Outlier::Removal::Enabled >::value, int >::type = 0>
const Settings::Processing::Filters::Outlier::Removal::Enabled& Zivid::Settings::get ( ) const
inline

◆ get() [30/40]

template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Outlier::Removal::Threshold >::value, int >::type = 0>
const Settings::Processing::Filters::Outlier::Removal::Threshold& Zivid::Settings::get ( ) const
inline

◆ get() [31/40]

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

◆ get() [32/40]

template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Reflection::Removal >::value, int >::type = 0>
const Settings::Processing::Filters::Reflection::Removal& Zivid::Settings::get ( ) const
inline

◆ get() [33/40]

template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Reflection::Removal::Enabled >::value, int >::type = 0>
const Settings::Processing::Filters::Reflection::Removal::Enabled& Zivid::Settings::get ( ) const
inline

◆ get() [34/40]

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

◆ get() [35/40]

template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Smoothing::Gaussian >::value, int >::type = 0>
const Settings::Processing::Filters::Smoothing::Gaussian& Zivid::Settings::get ( ) const
inline

◆ get() [36/40]

template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Smoothing::Gaussian::Enabled >::value, int >::type = 0>
const Settings::Processing::Filters::Smoothing::Gaussian::Enabled& Zivid::Settings::get ( ) const
inline

◆ get() [37/40]

template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Filters::Smoothing::Gaussian::Sigma >::value, int >::type = 0>
const Settings::Processing::Filters::Smoothing::Gaussian::Sigma& Zivid::Settings::get ( ) const
inline

◆ get() [38/40]

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

◆ get() [39/40]

template<size_t i, typename std::enable_if< i==1, int >::type = 0>
const Settings::Experimental& Zivid::Settings::get ( ) const
inline

◆ get() [40/40]

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

◆ load()

void Zivid::Settings::load ( const std::string &  fileName)

Load from the given file

◆ operator!=()

bool Zivid::Settings::operator!= ( const Settings other) const

Inequality operator

◆ operator==()

bool Zivid::Settings::operator== ( const Settings other) const

Equality operator

◆ processing() [1/2]

Processing& Zivid::Settings::processing ( )
inline

◆ processing() [2/2]

const Processing& Zivid::Settings::processing ( ) const
inline

◆ save()

void Zivid::Settings::save ( const std::string &  fileName) const

Save to the given file

◆ set() [1/38]

template<typename... Args>
void Zivid::Settings::set ( Args &&...  args)
inline

Set multiple arguments

The method invokes set(arg) with each of the provided arguments.

The provided arguments must be descendants of Settings. These types can be provided:

◆ set() [2/38]

Settings& Zivid::Settings::set ( const Acquisitions value)
inline

◆ set() [3/38]

Settings& Zivid::Settings::set ( const Experimental value)
inline

◆ set() [4/38]

Settings& Zivid::Settings::set ( const Experimental::Engine value)
inline

◆ set() [5/38]

Settings& Zivid::Settings::set ( const Processing value)
inline

◆ set() [6/38]

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

◆ set() [7/38]

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

◆ set() [8/38]

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

◆ set() [9/38]

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

◆ set() [10/38]

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

◆ set() [11/38]

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

◆ set() [12/38]

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

◆ set() [13/38]

Settings& Zivid::Settings::set ( const Processing::Color::Experimental::ToneMapping::Enabled value)
inline

◆ set() [14/38]

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

◆ set() [15/38]

Settings& Zivid::Settings::set ( const Processing::Filters value)
inline

◆ set() [16/38]

Settings& Zivid::Settings::set ( const Processing::Filters::Experimental value)
inline

◆ set() [17/38]

Settings& Zivid::Settings::set ( const Processing::Filters::Experimental::ContrastDistortion value)
inline

◆ set() [18/38]

Settings& Zivid::Settings::set ( const Processing::Filters::Experimental::ContrastDistortion::Correction value)
inline

◆ set() [19/38]

◆ set() [20/38]

◆ set() [21/38]

Settings& Zivid::Settings::set ( const Processing::Filters::Experimental::ContrastDistortion::Removal value)
inline

◆ set() [22/38]

◆ set() [23/38]

◆ set() [24/38]

Settings& Zivid::Settings::set ( const Processing::Filters::Noise value)
inline

◆ set() [25/38]

Settings& Zivid::Settings::set ( const Processing::Filters::Noise::Removal value)
inline

◆ set() [26/38]

Settings& Zivid::Settings::set ( const Processing::Filters::Noise::Removal::Enabled value)
inline

◆ set() [27/38]

Settings& Zivid::Settings::set ( const Processing::Filters::Noise::Removal::Threshold value)
inline

◆ set() [28/38]

Settings& Zivid::Settings::set ( const Processing::Filters::Outlier value)
inline

◆ set() [29/38]

Settings& Zivid::Settings::set ( const Processing::Filters::Outlier::Removal value)
inline

◆ set() [30/38]

Settings& Zivid::Settings::set ( const Processing::Filters::Outlier::Removal::Enabled value)
inline

◆ set() [31/38]

Settings& Zivid::Settings::set ( const Processing::Filters::Outlier::Removal::Threshold value)
inline

◆ set() [32/38]

Settings& Zivid::Settings::set ( const Processing::Filters::Reflection value)
inline

◆ set() [33/38]

Settings& Zivid::Settings::set ( const Processing::Filters::Reflection::Removal value)
inline

◆ set() [34/38]

Settings& Zivid::Settings::set ( const Processing::Filters::Reflection::Removal::Enabled value)
inline

◆ set() [35/38]

Settings& Zivid::Settings::set ( const Processing::Filters::Smoothing value)
inline

◆ set() [36/38]

Settings& Zivid::Settings::set ( const Processing::Filters::Smoothing::Gaussian value)
inline

◆ set() [37/38]

Settings& Zivid::Settings::set ( const Processing::Filters::Smoothing::Gaussian::Enabled value)
inline

◆ set() [38/38]

Settings& Zivid::Settings::set ( const Processing::Filters::Smoothing::Gaussian::Sigma value)
inline

◆ toString()

std::string Zivid::Settings::toString ( ) const

Get the value as string

Friends And Related Function Documentation

◆ DataModel::Detail::Befriend< Settings >

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

◆ operator<<

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

Operator to send the value as string to a stream

Member Data Documentation

◆ description

constexpr const char* Zivid::Settings::description
staticconstexpr
Initial value:
{
R"description(Settings used when capturing with a Zivid camera)description"
}

The description for this value

◆ name

constexpr const char* Zivid::Settings::name { "Settings" }
staticconstexpr

The name of this value

◆ nodeType

constexpr DataModel::NodeType Zivid::Settings::nodeType = DataModel::NodeType::group
staticconstexpr

The type of this node

◆ path

constexpr const char* Zivid::Settings::path { "" }
staticconstexpr

The full path for this value

◆ version

constexpr size_t Zivid::Settings::version { 8 }
staticconstexpr

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