Gamma applied to the color values. Gamma less than 1 makes the colors brighter, while gamma greater than 1 makes the colors darker.
More...
#include <Zivid/Settings2D.h>
Gamma applied to the color values. Gamma less than 1 makes the colors brighter, while gamma greater than 1 makes the colors darker.
◆ ValueType
The type of the underlying value
◆ Gamma() [1/2]
Zivid::Settings2D::Processing::Color::Gamma::Gamma |
( |
| ) |
|
|
default |
◆ Gamma() [2/2]
constexpr Zivid::Settings2D::Processing::Color::Gamma::Gamma |
( |
double |
value | ) |
|
|
inlineexplicitconstexpr |
◆ hasValue()
bool Zivid::Settings2D::Processing::Color::Gamma::hasValue |
( |
| ) |
const |
Check if the value is set
◆ operator!=()
bool Zivid::Settings2D::Processing::Color::Gamma::operator!= |
( |
const Gamma & |
other | ) |
const |
|
inline |
◆ operator<()
bool Zivid::Settings2D::Processing::Color::Gamma::operator< |
( |
const Gamma & |
other | ) |
const |
|
inline |
◆ operator<=()
bool Zivid::Settings2D::Processing::Color::Gamma::operator<= |
( |
const Gamma & |
other | ) |
const |
|
inline |
◆ operator==()
bool Zivid::Settings2D::Processing::Color::Gamma::operator== |
( |
const Gamma & |
other | ) |
const |
|
inline |
◆ operator>()
bool Zivid::Settings2D::Processing::Color::Gamma::operator> |
( |
const Gamma & |
other | ) |
const |
|
inline |
◆ operator>=()
bool Zivid::Settings2D::Processing::Color::Gamma::operator>= |
( |
const Gamma & |
other | ) |
const |
|
inline |
◆ reset()
void Zivid::Settings2D::Processing::Color::Gamma::reset |
( |
| ) |
|
Reset the node to unset state
◆ toString()
std::string Zivid::Settings2D::Processing::Color::Gamma::toString |
( |
| ) |
const |
◆ validRange()
static constexpr Range< double > Zivid::Settings2D::Processing::Color::Gamma::validRange |
( |
| ) |
|
|
inlinestaticconstexpr |
The range of valid values for Gamma
◆ value()
double Zivid::Settings2D::Processing::Color::Gamma::value |
( |
| ) |
const |
Get the value
If this object does not contain a value (see hasValue) then this method throws an exception.
◆ DataModel::Detail::Befriend< Gamma >
friend struct DataModel::Detail::Befriend< Gamma > |
|
friend |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & |
stream, |
|
|
const Gamma & |
value |
|
) |
| |
|
friend |
Operator to serialize the value to a stream
◆ description
constexpr const char* Zivid::Settings2D::Processing::Color::Gamma::description |
|
staticconstexpr |
Initial value:{
R"description(Gamma applied to the color values. Gamma less than 1 makes the colors brighter, while gamma
greater than 1 makes the colors darker.
)description"
}
The description for this value
◆ name
constexpr const char* Zivid::Settings2D::Processing::Color::Gamma::name { "Gamma" } |
|
staticconstexpr |
◆ nodeType
◆ path
constexpr const char* Zivid::Settings2D::Processing::Color::Gamma::path { "Processing/Color/Gamma" } |
|
staticconstexpr |
The full path for this value
The documentation for this class was generated from the following file: