Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkSegLabelPropModifyOperation.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 mitkSegLabelPropModifyOperation_h
14 #define mitkSegLabelPropModifyOperation_h
15 
19 
20 namespace mitk
21 {
22  class Image;
23 
31  {
32  public:
34 
36 
39  const ModifyLabelsVectorType& modifiedLabel);
40 
41  ~SegLabelPropModifyOperation() override = default;
42 
45 
46  // Explicitly delete copy operations because internally std::unique_ptr are used.
49 
51  const MultiLabelSegmentation::LabelValueVectorType& relevantLabels);
52 
53  protected:
55  };
56 
57 }
58 #endif
#define MITKSEGMENTATION_EXPORT
MultiLabelSegmentation class for handling labels and layers in a segmentation session.
ConstLabelVector ConstLabelVectorType
std::vector< LabelValueType > LabelValueVectorType
Base class for any operation based on a MultiLabelSegmentation instance.
An Operation for applying a modification to the properties of a label (E.g. name, color) of a MultiLa...
mitkClassMacro(SegLabelPropModifyOperation, SegChangeOperationBase)
SegLabelPropModifyOperation(MultiLabelSegmentation *segmentation, const ModifyLabelsVectorType &modifiedLabel)
static SegLabelPropModifyOperation * CreatFromSegmentation(MultiLabelSegmentation *segmentation, const MultiLabelSegmentation::LabelValueVectorType &relevantLabels)
SegLabelPropModifyOperation & operator=(const SegLabelPropModifyOperation &)=delete
const ModifyLabelsVectorType & GetModifiedLabels() const
Get the modified labels map.
SegLabelPropModifyOperation(const SegLabelPropModifyOperation &)=delete
MultiLabelSegmentation::ConstLabelVectorType ModifyLabelsVectorType
~SegLabelPropModifyOperation() override=default
class ITK_EXPORT Image
Find image slices visible on a given plane.