MaskPrincipalAxisOperation
MaskPrincipalAxisOperation
#include <mask_principal_axis.hpp>
Inherits from TransformOperation
Public Functions
| Name | |
|---|---|
| virtual std::string | getName() const override Gets the user-friendly name of this operation. |
| virtual std::type_index | getTargetInputTypeIndex() const override |
| virtual bool | canApply(DataTypeVariant const & dataVariant) const override Checks if this operation can be applied to the given data variant. |
| virtual std::unique_ptr< TransformParametersBase > | getDefaultParameters() const override Gets default parameters for this operation. |
| virtual DataTypeVariant | execute(DataTypeVariant const & dataVariant, TransformParametersBase const * transformParameters) override Executes the mask principal axis calculation using data from the variant. |
| virtual DataTypeVariant | execute(DataTypeVariant const & dataVariant, TransformParametersBase const * transformParameters, ProgressCallback progressCallback) override Executes the mask principal axis calculation with progress reporting. |
Additional inherited members
Public Functions inherited from TransformOperation
| Name | |
|---|---|
| virtual | ~TransformOperation() =default |
Public Functions Documentation
function getName
virtual std::string getName() const overrideGets the user-friendly name of this operation.
Return: The name as a string.
Reimplements: TransformOperation::getName
function getTargetInputTypeIndex
virtual std::type_index getTargetInputTypeIndex() const overrideReimplements: TransformOperation::getTargetInputTypeIndex
function canApply
virtual bool canApply(
DataTypeVariant const & dataVariant
) const overrideChecks if this operation can be applied to the given data variant.
Parameters:
- dataVariant The variant holding a shared_ptr to the data object.
Return: True if the variant holds a non-null MaskData shared_ptr, false otherwise.
Reimplements: TransformOperation::canApply
function getDefaultParameters
virtual std::unique_ptr< TransformParametersBase > getDefaultParameters() const overrideGets default parameters for this operation.
Return: A unique_ptr to default MaskPrincipalAxisParameters
Reimplements: TransformOperation::getDefaultParameters
function execute
virtual DataTypeVariant execute(
DataTypeVariant const & dataVariant,
TransformParametersBase const * transformParameters
) overrideExecutes the mask principal axis calculation using data from the variant.
Parameters:
- dataVariant The variant holding a non-null shared_ptr to the MaskData object.
- transformParameters Parameters for the transformation
Return: DataTypeVariant containing a std::shared_ptr
Reimplements: TransformOperation::execute
function execute
virtual DataTypeVariant execute(
DataTypeVariant const & dataVariant,
TransformParametersBase const * transformParameters,
ProgressCallback progressCallback
) overrideExecutes the mask principal axis calculation with progress reporting.
Parameters:
- dataVariant The variant holding a non-null shared_ptr to the MaskData object.
- transformParameters Parameters for the transformation
- progressCallback Progress reporting callback
Return: DataTypeVariant containing a std::shared_ptr
Reimplements: TransformOperation::execute
Updated on 2026-11-13 at 20:25:40 +0000