MaskHoleFillingOperation
MaskHoleFillingOperation
Operation class for mask hole filling transform. More…
#include <mask_hole_filling.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 hole filling using data from the variant. |
| virtual DataTypeVariant | execute(DataTypeVariant const & dataVariant, TransformParametersBase const * transformParameters, ProgressCallback progressCallback) override Executes the mask hole filling with progress reporting. |
Additional inherited members
Public Functions inherited from TransformOperation
| Name | |
|---|---|
| virtual | ~TransformOperation() =default |
Detailed Description
class MaskHoleFillingOperation;Operation class for mask hole filling transform.
Implements the TransformOperation interface for mask hole filling. This allows the transform to be registered and used within the transform system.
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 MaskHoleFillingParameters
Reimplements: TransformOperation::getDefaultParameters
function execute
virtual DataTypeVariant execute(
DataTypeVariant const & dataVariant,
TransformParametersBase const * transformParameters
) overrideExecutes the mask hole filling 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 hole filling with progress reporting.
Parameters:
- dataVariant The variant holding a non-null shared_ptr to the MaskData object.
- transformParameters Parameters for the transformation
- progressCallback Function called with progress percentage (0-100) during computation.
Return: DataTypeVariant containing a std::shared_ptr
Reimplements: TransformOperation::execute
Updated on 2026-11-13 at 20:25:40 +0000