![]() |
IDS peak ICV v1.1.0
|

Public Member Functions | |
| bool | enabled (self) |
| Indicates whether the feature is currently enabled. | |
| None | enabled (self, bool value) |
| Enables or disables the feature. | |
| Rotation | angle (self) |
| Gets the current rotation angle. | |
| None | angle (self, Rotation angle) |
| Sets the desired rotation angle. | |
| None | reset_to_default (self) |
| Resets the rotation to Rotation.NO_ROTATION. | |
| None | __init__ (self, TransformationModule module) |
| Creates a RotationFeature for an existing transformation module. | |
Protected Attributes | |
| _module = module | |
Rotation provides fixed-angle rotation functionality.
|
|
|
|
See the Pixel and Pixel Format Specifications for a detailed description of the pixel formats.
This feature rotates images in 90-degree increments, based on the rotation mode set via the angle property.
The default rotation is Rotation.NO_ROTATION.
Definition at line 6 of file rotation_feature.py.
| None __init__ | ( | self, | |
| TransformationModule | module ) |
Creates a RotationFeature for an existing transformation module.
| module | Reference to the underlying TransformationModule. |
Definition at line 83 of file rotation_feature.py.
| Rotation angle | ( | self | ) |
Gets the current rotation angle.
Definition at line 49 of file rotation_feature.py.
| None angle | ( | self, | |
| Rotation | angle ) |
Sets the desired rotation angle.
| angle | The rotation angle to apply (see RotationAngle enum). |
Definition at line 61 of file rotation_feature.py.
| bool enabled | ( | self | ) |
Indicates whether the feature is currently enabled.
Reimplemented from IFeature.
Definition at line 27 of file rotation_feature.py.
| None enabled | ( | self, | |
| bool | value ) |
Enables or disables the feature.
| value | Set to True to enable the feature, or False to disable it. |
Reimplemented from IFeature.
Definition at line 38 of file rotation_feature.py.
| None reset_to_default | ( | self | ) |
Resets the rotation to Rotation.NO_ROTATION.
Reimplemented from IFeature.
Definition at line 72 of file rotation_feature.py.
|
protected |
Definition at line 92 of file rotation_feature.py.