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
Retrieves the current rotation angle.
bool IsEnabled() const override
Indicates whether the feature is currently enabled.
#define PEAK_COMMON_NO_DISCARD
Compatability macro for the nodiscard attribute.
Rotation
Angle parameter for the rotation algorithm.