Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkSegChangeOperationBase.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 mitkSegChangeOperationBase_h
14 #define mitkSegChangeOperationBase_h
15 
16 #include <mitkLabelSetImage.h>
17 #include <mitkOperation.h>
18 #include <mitkWeakPointer.h>
19 
21 
22 namespace mitk
23 {
24  class Image;
25 
39  {
40  public:
42 
43  ~SegChangeOperationBase() override = default;
44 
46  bool IsValid() const override;
47 
48  mitk::MultiLabelSegmentation::Pointer GetSegmentation();
49  const mitk::MultiLabelSegmentation::ConstPointer GetSegmentation() const;
50 
51  protected:
56 
57  private:
59  };
60 }
61 #endif
#define MITKSEGMENTATION_EXPORT
MultiLabelSegmentation class for handling labels and layers in a segmentation session.
Base class of all Operation-classes.
Definition: mitkOperation.h:30
Base class for any operation based on a MultiLabelSegmentation instance.
SegChangeOperationBase(SegChangeOperationBase &&)=default
SegChangeOperationBase & operator=(SegChangeOperationBase &&)=default
SegChangeOperationBase & operator=(const SegChangeOperationBase &)=default
const mitk::MultiLabelSegmentation::ConstPointer GetSegmentation() const
bool IsValid() const override
Check if it is a valid operation.
mitkClassMacro(SegChangeOperationBase, Operation)
mitk::MultiLabelSegmentation::Pointer GetSegmentation()
SegChangeOperationBase(mitk::MultiLabelSegmentation *segmentation, OperationType operationType)
~SegChangeOperationBase() override=default
class ITK_EXPORT Image
Find image slices visible on a given plane.
int OperationType
Definition: mitkOperation.h:23