Medical Imaging Interaction Toolkit  2025.12.02
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 
17 
19 
20 namespace mitk
21 {
22  class Image;
23 
29  {
30  public:
32 
33  using GroupIndexSetType = std::set<MultiLabelSegmentation::GroupIndexType>;
34 
37  const GroupIndexSetType& removalGroupIDs);
38 
39  ~SegGroupRemoveOperation() override = default;
40 
42 
43  // Explicitly delete copy operations because internally std::unique_ptr are used.
46 
47  protected:
49  };
50 
51 }
52 #endif
#define MITKSEGMENTATION_EXPORT
MultiLabelSegmentation class for handling labels and layers in a segmentation session.
Base class for any operation based on a MultiLabelSegmentation instance.
An Operation for applying an edited slice to the a group of a MultiLabelSegmentation.
std::set< MultiLabelSegmentation::GroupIndexType > GroupIndexSetType
mitkClassMacro(SegGroupRemoveOperation, SegChangeOperationBase)
GroupIndexSetType GetGroupIDs() const
SegGroupRemoveOperation(const SegGroupRemoveOperation &)=delete
SegGroupRemoveOperation & operator=(const SegGroupRemoveOperation &)=delete
~SegGroupRemoveOperation() override=default
SegGroupRemoveOperation(MultiLabelSegmentation *segmentation, const GroupIndexSetType &removalGroupIDs)
class ITK_EXPORT Image
Find image slices visible on a given plane.