62 PEAK_COMMON_NO_DISCARD
bool IsEnabled()
const override;
101 m_module.SetRotationEnabled(enabled);
106 return m_module.IsRotationEnabled();
Abstract base class for all image processing pipeline features.
Rotation provides fixed-angle rotation functionality.
RotationFeature(detail::TransformationModule &module)
Creates a RotationFeature for an existing transformation module.
void SetEnabled(bool enabled) override
Enables or disables the feature.
void SetAngle(Rotation angle)
Sets the desired rotation angle.
void ResetToDefault() override
Resets the rotation to the default value.
Rotation GetAngle() const
Gets the current rotation angle.
bool IsEnabled() const override
Indicates whether the feature is currently enabled.
Rotation
Angle parameter for the rotation algorithm.