Represents a continuous numeric interval with inclusive lower and upper bounds.
Image pipeline module for applying gain to the image.
float GetGreen() const override
Returns the current green gain.
peak::common::IntervalF GetRange() const
Returns the valid range for the master or color gains.
void SetBlue(float value) override
Sets the blue gain value.
float GetMaster() const override
Returns the current master gain.
void SetGreen(float value) override
Sets the green gain value.
void SetRed(float value) override
Sets the red gain value.
float GetBlue() const override
Returns the current blue gain.
float GetRed() const override
Returns the current red gain.
void SetEnabled(bool enabled) override
Sets the enabled state of this module.
void SetMaster(float value) override
Sets the master gain value.
void ResetToDefault() override
Resets the gain values to their defaults.
bool IsEnabled() const override
Checks if the module is currently enabled.
The GainFeature applies gain to the image.
float GetRed() const
Retrieves the current red gain.
void SetMaster(float value)
Sets the master gain value.
peak::common::IntervalF GetRange() const
Retrieves the valid range for the master or color gains.
GainFeature(detail::GainModule &module)
Creates a GainFeature for an existing gain module.
void SetBlue(float value)
Sets the blue gain value.
void SetRed(float value)
Sets the red gain value.
void SetGreen(float value)
Sets the green gain value.
float GetBlue() const
Retrieves the current blue gain.
void SetEnabled(bool enabled) override
Enables or disables the feature.
void ResetToDefault() override
Resets the gain values to their defaults.
float GetMaster() const
Retrieves the current master gain.
float GetGreen() const
Retrieves the current green gain.
bool IsEnabled() const override
Indicates whether the feature is currently enabled.
Abstract base class for all image processing pipeline features.
#define PEAK_COMMON_NO_DISCARD
Compatability macro for the nodiscard attribute.