Medical Imaging Interaction Toolkit  2025.08.99-f7084adb
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 
44  const ModifyLabelsVectorType& GetModifiedLabels() const;
45 
46  // Explicitly delete copy operations because internally std::unique_ptr are used.
48  SegLabelPropModifyOperation& operator=(const SegLabelPropModifyOperation&) = delete;
49 
50  static SegLabelPropModifyOperation* CreatFromSegmentation(MultiLabelSegmentation* segmentation,
51  const MultiLabelSegmentation::LabelValueVectorType& relevantLabels);
52 
53  protected:
55  };
56 
57 }
58 #endif
mitkCompressedImageContainer.h
mitk::SegLabelPropModifyOperation::m_ModifiedLabels
ModifyLabelsVectorType m_ModifiedLabels
Definition: mitkSegLabelPropModifyOperation.h:54
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::MultiLabelSegmentation::LabelValueVectorType
std::vector< LabelValueType > LabelValueVectorType
Definition: mitkLabelSetImage.h:60
mitk::SegLabelPropModifyOperation::ModifyLabelsVectorType
MultiLabelSegmentation::ConstLabelVectorType ModifyLabelsVectorType
Definition: mitkSegLabelPropModifyOperation.h:35
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
mitk::MultiLabelSegmentation::ConstLabelVectorType
ConstLabelVector ConstLabelVectorType
Definition: mitkLabelSetImage.h:58
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
mitk::SegLabelPropModifyOperation
An Operation for applying a modification to the properties of a label (E.g. name, color) of a MultiLa...
Definition: mitkSegLabelPropModifyOperation.h:30