Medical Imaging Interaction Toolkit  2025.08.99-f7084adb
Medical Imaging Interaction Toolkit
mitk::SegChangeOperationBase Class Reference

Base class for any operation based on a MultiLabelSegmentation instance. More...

#include <mitkSegChangeOperationBase.h>

Inheritance diagram for mitk::SegChangeOperationBase:
Collaboration diagram for mitk::SegChangeOperationBase:

Public Member Functions

 mitkClassMacro (SegChangeOperationBase, Operation)
 
 ~SegChangeOperationBase () override=default
 
bool IsValid () const override
 Check if it is a valid operation. More...
 
mitk::MultiLabelSegmentation::Pointer GetSegmentation ()
 
const mitk::MultiLabelSegmentation::ConstPointer GetSegmentation () const
 
- Public Member Functions inherited from mitk::Operation
virtual std::vector< std::string > GetClassHierarchy () const
 
 itkTypeMacroNoParent (Operation) virtual bool IsValid() const
 
virtual ~Operation ()=default
 
OperationType GetOperationType ()
 

Protected Member Functions

 SegChangeOperationBase (mitk::MultiLabelSegmentation *segmentation, OperationType operationType)
 
 SegChangeOperationBase (SegChangeOperationBase &&)=default
 
SegChangeOperationBaseoperator= (const SegChangeOperationBase &)=default
 
SegChangeOperationBaseoperator= (SegChangeOperationBase &&)=default
 
- Protected Member Functions inherited from mitk::Operation
 Operation (OperationType operationType)
 
 Operation (const Operation &)=default
 
 Operation (Operation &&)=default
 
Operationoperator= (const Operation &)=default
 
Operationoperator= (Operation &&)=default
 

Additional Inherited Members

- Public Types inherited from mitk::Operation
typedef Operation Self
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
- Static Public Member Functions inherited from mitk::Operation
static const char * GetStaticNameOfClass ()
 
- Protected Attributes inherited from mitk::Operation
OperationType m_OperationType
 

Detailed Description

Base class for any operation based on a MultiLabelSegmentation instance.

See also
SegChangeOperationBaseApplier

The information for the operation is specified by properties:

imageVolume the volume where the slice was extracted from. slice the slice to be applied. timestep the timestep in an 4D image. currentWorldGeometry specifies the axis where the slice has to be applied in the volume.

This Operation can be used to realize undo-redo functionality for e.g. segmentation purposes.

Definition at line 38 of file mitkSegChangeOperationBase.h.

Constructor & Destructor Documentation

◆ ~SegChangeOperationBase()

mitk::SegChangeOperationBase::~SegChangeOperationBase ( )
overridedefault

◆ SegChangeOperationBase() [1/2]

mitk::SegChangeOperationBase::SegChangeOperationBase ( mitk::MultiLabelSegmentation segmentation,
OperationType  operationType 
)
protected

◆ SegChangeOperationBase() [2/2]

mitk::SegChangeOperationBase::SegChangeOperationBase ( SegChangeOperationBase &&  )
protecteddefault

Member Function Documentation

◆ GetSegmentation() [1/2]

mitk::MultiLabelSegmentation::Pointer mitk::SegChangeOperationBase::GetSegmentation ( )

◆ GetSegmentation() [2/2]

const mitk::MultiLabelSegmentation::ConstPointer mitk::SegChangeOperationBase::GetSegmentation ( ) const

◆ IsValid()

bool mitk::SegChangeOperationBase::IsValid ( ) const
override

Check if it is a valid operation.

◆ mitkClassMacro()

mitk::SegChangeOperationBase::mitkClassMacro ( SegChangeOperationBase  ,
Operation   
)

◆ operator=() [1/2]

SegChangeOperationBase& mitk::SegChangeOperationBase::operator= ( const SegChangeOperationBase )
protecteddefault

◆ operator=() [2/2]

SegChangeOperationBase& mitk::SegChangeOperationBase::operator= ( SegChangeOperationBase &&  )
protecteddefault

The documentation for this class was generated from the following file: