Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkMonaiLabel2DTool.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 #ifndef mitkMonaiLabel2DTool_h
13 #define mitkMonaiLabel2DTool_h
14 
15 #include "mitkMonaiLabelTool.h"
17 
18 namespace us
19 {
20  class ModuleResource;
21 }
22 
23 namespace mitk
24 {
34  {
35  public:
37  itkFactorylessNewMacro(Self);
38  itkCloneMacro(Self);
39 
40  const char *GetName() const override;
41  const char **GetXPM() const override;
42  us::ModuleResource GetIconResource() const override;
43 
44  void Activated() override;
45  void WriteImage(const Image *inputAtTimeStep, const std::string &inputImagePath) const override;
46  void WriteBackResults(LabelSetImage *previewImage, LabelSetImage *segResults, TimeStepType timeStep) const override;
47 
48  protected:
49  MonaiLabel2DTool() = default;
50  ~MonaiLabel2DTool() = default;
51  };
52 }
53 #endif
us
Definition: mitkAbstractFileReader.h:29
mitk::Image
Image class for storing images.
Definition: mitkImage.h:69
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::EventStateMachine
‍**
Definition: mitkEventStateMachine.h:111
mitk::MonaiLabelTool
MonaiLabel segmentation tool base class.
Definition: mitkMonaiLabelTool.h:104
MITKSEGMENTATION_EXPORT
#define MITKSEGMENTATION_EXPORT
Definition: MitkSegmentationExports.h:15
mitk::MonaiLabel2DTool
MonaiLabel segmentation 2D tool.
Definition: mitkMonaiLabel2DTool.h:33
us::ModuleResource
Definition: usModuleResource.h:55
mitk::TimeStepType
std::size_t TimeStepType
Definition: mitkTimeGeometry.h:27
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
MitkSegmentationExports.h
mitkMonaiLabelTool.h
mitk::LabelSetImage
LabelSetImage class for handling labels and layers in a segmentation session.
Definition: mitkLabelSetImage.h:43