Medical Imaging Interaction Toolkit  2026.06.00
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 
32  {
33  public:
35 
36  using GroupIndexSetType = std::set<MultiLabelSegmentation::GroupIndexType>;
37 
43  const GroupIndexSetType& removalGroupIDs);
44 
45  ~SegGroupRemoveOperation() override = default;
46 
49 
50  // Explicitly delete copy operations because internally std::unique_ptr are used.
53 
54  protected:
56  };
57 
58 }
59 #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 removing groups from a MultiLabelSegmentation.
std::set< MultiLabelSegmentation::GroupIndexType > GroupIndexSetType
mitkClassMacro(SegGroupRemoveOperation, SegChangeOperationBase)
GroupIndexSetType GetGroupIDs() const
Get the group indices to be removed.
SegGroupRemoveOperation(const SegGroupRemoveOperation &)=delete
SegGroupRemoveOperation & operator=(const SegGroupRemoveOperation &)=delete
~SegGroupRemoveOperation() override=default
SegGroupRemoveOperation(MultiLabelSegmentation *segmentation, const GroupIndexSetType &removalGroupIDs)
Construct a remove operation for the specified groups.
class ITK_EXPORT Image
Find image slices visible on a given plane.