58 PEAK_COMMON_NO_DISCARD
bool IsEnabled()
const override;
115 m_module.SetMirrorEnabled(enabled);
120 return m_module.IsMirrorEnabled();
Abstract base class for all image processing pipeline features.
Mirror provides functionality to flip the image left-right or up-down.
void SetLeftRightEnabled(bool enabled)
Sets whether the image should be mirrored left-right.
bool IsUpDownEnabled() const
Gets the current up-down mirroring setting.
MirrorFeature(detail::TransformationModule &module)
Creates a MirrorFeature for an existing transformation module.
bool IsLeftRightEnabled() const
Gets the current left-right mirroring setting.
void SetEnabled(bool enabled) override
Enables or disables the feature.
void SetUpDownEnabled(bool enabled)
Sets whether the image should be mirrored up-down.
void ResetToDefault() override
Resets the mirroring to the default value.
bool IsEnabled() const override
Gets whether this feature is currently enabled.