
Public Member Functions | |
| override Image | Process (Image inputImage) |
| Processes the input image and returns a mirrored and/or rotated copy based on current settings. | |
| override object | Process (object input) |
| Processes the input image and returns a mirrored and/or rotated copy based on current settings. | |
| override void | Serialize (IArchive archive) |
| Serializes the object's internal state into the provided archive. | |
| override void | Deserialize (IArchive archive) |
| Restores the object's state from the provided archive. | |
| override void | ResetToDefault () |
| Resets all parameters to their default values. | |
Properties | |
| override string | TypeId [get] |
| The unique type identifier for this module implementation.This should be a unique string identifying the specific implementation of the module. | |
| override bool | IsEnabled [get, set] |
| Gets or sets whether the module is enabled. | |
| bool | MirrorLeftRight = DefaultMirrorLeftRight [get, set] |
| Sets whether the image should be mirrored left-right (along the vertical axis). | |
| bool | MirrorUpDown = DefaultMirrorUpDown [get, set] |
| Sets whether the image should be mirrored up-down (along the horizontal axis). | |
| Rotation | RotationAngle = DefaultRotationAngle [get, set] |
| The current rotation angle. | |
| int | Version = 1 [get] |
| The module version. | |
Transformation is an image pipeline module that provides mirror and rotation functionality.
Definition at line 17 of file TransformationModule.cs.
|
inlinevirtual |
Restores the object's state from the provided archive.
This function reads and applies all necessary parameters from the given archive to reconstruct the internal state of the object. It ensures that the object is restored to a valid and consistent state.
| archive | The source archive containing the serialized parameters. |
| IcvCorruptedException | The archive is malformed, misses keys or the values are invalid. |
| IcvNotSupportedException | The Version entry indicates an unsupported version. |
Reimplemented from ModuleBase.
Definition at line 213 of file TransformationModule.cs.
Processes the input image and returns a mirrored and/or rotated copy based on current settings.
| inputImage | The input image to be processed. |
| IcvNotSupportedException | The inputImage has any other than the supported pixel formats. |
Definition at line 93 of file TransformationModule.cs.
|
inlinevirtual |
Processes the input image and returns a mirrored and/or rotated copy based on current settings.
| input | The input image to be processed. |
| IcvNotSupportedException | The input has any other than the supported pixel formats. |
Reimplemented from ModuleBase.
Definition at line 157 of file TransformationModule.cs.
|
inlinevirtual |
Resets all parameters to their default values.
Default values:
false false Reimplemented from ModuleBase.
Definition at line 258 of file TransformationModule.cs.
|
inlinevirtual |
Serializes the object's internal state into the provided archive.
This function populates the given archive with all parameters required to fully represent the current state of the object. It ensures that the object can be reconstructed or transmitted accurately by saving all relevant data members in a consistent and structured format.
| archive | The target archive that will store the serialized parameters. |
Reimplemented from ModuleBase.
Definition at line 173 of file TransformationModule.cs.
|
getset |
Gets or sets whether the module is enabled.
Implements IModule.
Definition at line 35 of file TransformationModule.cs.
|
getset |
Sets whether the image should be mirrored left-right (along the vertical axis).
Definition at line 48 of file TransformationModule.cs.
|
getset |
Sets whether the image should be mirrored up-down (along the horizontal axis).
Definition at line 53 of file TransformationModule.cs.
|
getset |
The current rotation angle.
Definition at line 58 of file TransformationModule.cs.
|
get |
The unique type identifier for this module implementation.This should be a unique string identifying the specific implementation of the module.
Implements IModule.
Definition at line 32 of file TransformationModule.cs.
|
getinherited |
The module version.
Definition at line 20 of file ModuleBase.cs.