Medical Imaging Interaction Toolkit
2025.08.99-f7084adb
Medical Imaging Interaction Toolkit
mitkSegGroupRemoveOperation.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef mitkSegGroupRemoveOperation_h
14
#define mitkSegGroupRemoveOperation_h
15
16
#include <
mitkSegChangeOperationBase.h
>
17
18
#include <
MitkSegmentationExports.h
>
19
20
namespace
mitk
21
{
22
class
Image
;
23
28
class
MITKSEGMENTATION_EXPORT
SegGroupRemoveOperation
:
public
SegChangeOperationBase
29
{
30
public
:
31
mitkClassMacro
(
SegGroupRemoveOperation
,
SegChangeOperationBase
);
32
33
using
GroupIndexSetType
= std::set<MultiLabelSegmentation::GroupIndexType>;
34
36
SegGroupRemoveOperation
(
MultiLabelSegmentation
* segmentation,
37
const
GroupIndexSetType
& removalGroupIDs);
38
39
~
SegGroupRemoveOperation
()
override
=
default
;
40
41
GroupIndexSetType
GetGroupIDs()
const
;
42
43
// Explicitly delete copy operations because internally std::unique_ptr are used.
44
SegGroupRemoveOperation
(
const
SegGroupRemoveOperation
&) =
delete
;
45
SegGroupRemoveOperation
& operator=(
const
SegGroupRemoveOperation
&) =
delete
;
46
47
protected
:
48
GroupIndexSetType
m_GroupIDs
;
49
};
50
51
}
52
#endif
mitk::SegGroupRemoveOperation::m_GroupIDs
GroupIndexSetType m_GroupIDs
Definition:
mitkSegGroupRemoveOperation.h:48
mitk::SegGroupRemoveOperation
An Operation for applying an edited slice to the a group of a MultiLabelSegmentation.
Definition:
mitkSegGroupRemoveOperation.h:28
mitk::SegGroupRemoveOperation::GroupIndexSetType
std::set< MultiLabelSegmentation::GroupIndexType > GroupIndexSetType
Definition:
mitkSegGroupRemoveOperation.h:33
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::MultiLabelSegmentation
MultiLabelSegmentation class for handling labels and layers in a segmentation session.
Definition:
mitkLabelSetImage.h:43
mitkSegChangeOperationBase.h
MITKSEGMENTATION_EXPORT
#define MITKSEGMENTATION_EXPORT
Definition:
MitkSegmentationExports.h:15
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
itk::Image
class ITK_EXPORT Image
Definition:
mitkGeometryClipImageFilter.h:25
MitkSegmentationExports.h
mitk::SegChangeOperationBase
Base class for any operation based on a MultiLabelSegmentation instance.
Definition:
mitkSegChangeOperationBase.h:38
src
MITK
Modules
Segmentation
Algorithms
mitkSegGroupRemoveOperation.h
Generated on Wed Sep 3 2025 02:39:56 for Medical Imaging Interaction Toolkit by
1.8.17