#include <peak_icv/pipeline/features/peak_icv_mirror_feature.hpp>

Public Member Functions | |
| MirrorFeature (detail::TransformationModule &module) | |
| Creates a MirrorFeature for an existing transformation module. | |
| void | SetEnabled (bool enabled) override |
| Enables or disables the feature. | |
| bool | IsEnabled () const override |
| Gets whether this feature is currently enabled. | |
| void | ResetToDefault () override |
| Resets the mirroring to the default value. | |
| void | SetLeftRightEnabled (bool enabled) |
| Sets whether the image should be mirrored left-right. | |
| void | SetUpDownEnabled (bool enabled) |
| Sets whether the image should be mirrored up-down. | |
| bool | IsLeftRightEnabled () const |
| Gets the current left-right mirroring setting. | |
| bool | IsUpDownEnabled () const |
| Gets the current up-down mirroring setting. | |
Mirror provides functionality to flip the image left-right or up-down.
|
inlineexplicit |
Creates a MirrorFeature for an existing transformation module.
| module | Reference to the underlying detail::TransformationModule. |
|
inlineoverridevirtual |
Gets whether this feature is currently enabled.
true if enabled; otherwise false.Implements IFeature.
|
inline |
Gets the current left-right mirroring setting.
|
inline |
Gets the current up-down mirroring setting.
|
inlineoverridevirtual |
Resets the mirroring to the default value.
Implements IFeature.
|
inlineoverridevirtual |
Enables or disables the feature.
| enabled | Set to true to enable, or false to disable. |
Implements IFeature.
|
inline |
Sets whether the image should be mirrored left-right.
| enabled | If true, the image will be mirrored along the vertical axis. |
|
inline |
Sets whether the image should be mirrored up-down.
| enabled | If true, the image will be mirrored along the horizontal axis. |