54 return std::abs(
value) > 0.0001f;
88 return value > 0.0001f;
121 return std::abs(
degrees) > 0.0001f;
Parameter structure for operations using an angle value (e.g., Rotation).
std::string operation_id
Optional identifier for the specific operation instance.
bool isActive() const
Checks if the angle parameter indicates an active operation.
float degrees
The angle value in degrees.
Parameter structure for operations based on an index selection (e.g., Color Profile Selection).
int index
The selected index.
void clampIndex()
Clamps the index to the valid range [minIndex, maxIndex].
bool isActive() const
Checks if the index parameter indicates an active operation.
std::string operation_id
Optional identifier for the specific operation instance.
int max_index
The maximum allowed index value.
bool isValid() const
Validates the index value against its bounds.
int min_index
The minimum allowed index value.
Parameter structure for operations using a positive value (e.g., Blur Radius, Sharpen Amount).
std::string operation_id
Optional identifier for the specific operation instance.
bool isActive() const
Checks if the parameter value indicates an active operation.
float value
The positive adjustment value.
Parameter structure for operations defining a rectangular region (e.g., Crop).
int y
Y coordinate of the top-left corner of the rectangle.
std::string operation_id
Optional identifier for the specific operation instance.
bool isValid() const
Validates the rectangle dimensions.
bool isActive() const
Checks if the rectangle parameters indicate an active operation.
int height
Height of the rectangle.
int width
Width of the rectangle.
int x
X coordinate of the top-left corner of the rectangle.
Parameter structure for operations using a relative adjustment value (e.g., Brightness,...
std::string operation_id
Optional identifier for the specific operation instance.
bool isActive() const
Checks if the parameter value indicates an active operation.
float value
The adjustment value.