Tonemapping settings.
More...
#include <Zivid/Settings.h>
|
class | Enabled |
| This setting controls when tone mapping of colors is performed. Tone mapping will normalize the captured color image to the full available output range by applying a gain factor to the colors. For single-captures this can be used do brighten dark images. For HDR captures this is required to map high-dynamic-range colors to the more limited dynamic range output. More...
|
|
◆ Descendants
◆ ToneMapping() [1/2]
Zivid::Settings::Processing::Color::Experimental::ToneMapping::ToneMapping |
( |
| ) |
|
◆ ToneMapping() [2/2]
template<typename... Args>
Zivid::Settings::Processing::Color::Experimental::ToneMapping::ToneMapping |
( |
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 ToneMapping
then invoking set(args)
.
The provided arguments must be descendants of ToneMapping
. These types can be provided:
◆ copyWith()
template<typename... Args>
ToneMapping Zivid::Settings::Processing::Color::Experimental::ToneMapping::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 ToneMapping 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 ToneMapping
. These types can be provided:
◆ forEach() [1/2]
template<typename F >
void Zivid::Settings::Processing::Color::Experimental::ToneMapping::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::Processing::Color::Experimental::ToneMapping::forEach |
( |
const F & |
f | ) |
const |
|
inline |
Run the given function on each direct member with the value of the member as parameter
◆ get() [1/2]
template<typename T , typename std::enable_if< std::is_same< T, Settings::Processing::Color::Experimental::ToneMapping::Enabled >::value, int >::type = 0>
◆ get() [2/2]
template<size_t i, typename std::enable_if< i==0, int >::type = 0>
◆ isEnabled() [1/2]
Enabled& Zivid::Settings::Processing::Color::Experimental::ToneMapping::isEnabled |
( |
| ) |
|
|
inline |
◆ isEnabled() [2/2]
const Enabled& Zivid::Settings::Processing::Color::Experimental::ToneMapping::isEnabled |
( |
| ) |
const |
|
inline |
◆ operator!=()
bool Zivid::Settings::Processing::Color::Experimental::ToneMapping::operator!= |
( |
const ToneMapping & |
other | ) |
const |
◆ operator==()
bool Zivid::Settings::Processing::Color::Experimental::ToneMapping::operator== |
( |
const ToneMapping & |
other | ) |
const |
◆ set() [1/2]
template<typename... Args>
void Zivid::Settings::Processing::Color::Experimental::ToneMapping::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 ToneMapping
. These types can be provided:
◆ set() [2/2]
ToneMapping& Zivid::Settings::Processing::Color::Experimental::ToneMapping::set |
( |
const Enabled & |
value | ) |
|
|
inline |
◆ toString()
std::string Zivid::Settings::Processing::Color::Experimental::ToneMapping::toString |
( |
| ) |
const |
◆ DataModel::Detail::Befriend< ToneMapping >
friend struct DataModel::Detail::Befriend< ToneMapping > |
|
friend |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
stream, |
|
|
const ToneMapping & |
value |
|
) |
| |
|
friend |
Operator to send the value as string to a stream
◆ description
constexpr const char* Zivid::Settings::Processing::Color::Experimental::ToneMapping::description { R"description(Tonemapping settings.)description" } |
|
staticconstexpr |
The description for this value
◆ name
constexpr const char* Zivid::Settings::Processing::Color::Experimental::ToneMapping::name { "ToneMapping" } |
|
staticconstexpr |
◆ nodeType
◆ path
The full path for this value
The documentation for this class was generated from the following file: