Medical Imaging Interaction Toolkit
2025.08.99-f7084adb
Medical Imaging Interaction Toolkit
|
An Operation for applying an edited slice to the a group of a MultiLabelSegmentation. More...
#include <mitkSegSliceOperation.h>
Public Member Functions | |
mitkClassMacro (SegSliceOperation, SegChangeOperationBase) | |
SegSliceOperation (MultiLabelSegmentation *segmentation, MultiLabelSegmentation::GroupIndexType groupID, const Image *slice, const TimeStepType timestep, const PlaneGeometry *planeGeometry) | |
~SegSliceOperation () override=default | |
bool | IsValid () const override |
Check if it is a valid operation. More... | |
Image::Pointer | GetSlice () const |
Get the slice that is applied in the operation. More... | |
TimeStepType | GetTimeStep () const |
Get the time step the operation should be applied on. More... | |
const PlaneGeometry * | GetSlicePlaneGeometry () const |
Get the plane where the slice has to be applied in the volume. More... | |
MultiLabelSegmentation::GroupIndexType | GetGroupID () const |
Get the group index of the group image that should be modified. More... | |
![]() | |
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 |
![]() | |
virtual std::vector< std::string > | GetClassHierarchy () const |
itkTypeMacroNoParent (Operation) virtual bool IsValid() const | |
virtual | ~Operation ()=default |
OperationType | GetOperationType () |
Protected Attributes | |
MultiLabelSegmentation::GroupIndexType | m_GroupID |
TimeStepType | m_TimeStep |
CompressedImageContainer | m_CompressedImageContainer |
PlaneGeometry::ConstPointer | m_PlaneGeometry |
mitk::BaseGeometry::ConstPointer | m_GuardReferenceGeometry |
![]() | |
OperationType | m_OperationType |
Additional Inherited Members | |
![]() | |
typedef Operation | Self |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
![]() | |
static const char * | GetStaticNameOfClass () |
![]() | |
SegChangeOperationBase (mitk::MultiLabelSegmentation *segmentation, OperationType operationType) | |
SegChangeOperationBase (SegChangeOperationBase &&)=default | |
SegChangeOperationBase & | operator= (const SegChangeOperationBase &)=default |
SegChangeOperationBase & | operator= (SegChangeOperationBase &&)=default |
![]() | |
Operation (OperationType operationType) | |
Operation (const Operation &)=default | |
Operation (Operation &&)=default | |
Operation & | operator= (const Operation &)=default |
Operation & | operator= (Operation &&)=default |
An Operation for applying an edited slice to the a group of a MultiLabelSegmentation.
Definition at line 28 of file mitkSegSliceOperation.h.
mitk::SegSliceOperation::SegSliceOperation | ( | MultiLabelSegmentation * | segmentation, |
MultiLabelSegmentation::GroupIndexType | groupID, | ||
const Image * | slice, | ||
const TimeStepType | timestep, | ||
const PlaneGeometry * | planeGeometry | ||
) |
|
overridedefault |
MultiLabelSegmentation::GroupIndexType mitk::SegSliceOperation::GetGroupID | ( | ) | const |
Get the group index of the group image that should be modified.
Image::Pointer mitk::SegSliceOperation::GetSlice | ( | ) | const |
Get the slice that is applied in the operation.
const PlaneGeometry* mitk::SegSliceOperation::GetSlicePlaneGeometry | ( | ) | const |
Get the plane where the slice has to be applied in the volume.
TimeStepType mitk::SegSliceOperation::GetTimeStep | ( | ) | const |
Get the time step the operation should be applied on.
|
override |
Check if it is a valid operation.
mitk::SegSliceOperation::mitkClassMacro | ( | SegSliceOperation | , |
SegChangeOperationBase | |||
) |
|
protected |
Definition at line 56 of file mitkSegSliceOperation.h.
|
protected |
Definition at line 54 of file mitkSegSliceOperation.h.
|
protected |
Ensures that the reference geometry of the plane geometry is not deleted to soon see bug T12338.
Definition at line 60 of file mitkSegSliceOperation.h.
|
protected |
Definition at line 57 of file mitkSegSliceOperation.h.
|
protected |
Definition at line 55 of file mitkSegSliceOperation.h.