Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitkSegmentationsProcessingTool.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 mitkSegmentationsProcessingTool_h
14 #define mitkSegmentationsProcessingTool_h
15 
16 #include "mitkCommon.h"
17 #include "mitkDataNode.h"
18 #include "mitkTool.h"
20 
21 namespace mitk
22 {
29  {
30  public:
32 
33  protected:
34  SegmentationsProcessingTool(); // purposely hidden
35  ~SegmentationsProcessingTool() override;
36 
37  const char *GetGroup() const override;
38 
44  void Activated() override;
45  void Deactivated() override;
46 
58  virtual void ProcessAllObjects();
59 
64  virtual void StartProcessingAllData();
65 
70  virtual bool ProcessOneWorkingData(DataNode *node);
71 
76  virtual void FinishProcessingAllData();
77 
81  virtual void SendErrorMessageIfAny();
82 
86  virtual std::string GetErrorMessage();
87 
88  std::string m_FailedNodes;
89  };
90 
91 } // namespace
92 
93 #endif
mitkTool.h
mitk::SegmentationsProcessingTool::m_FailedNodes
std::string m_FailedNodes
Definition: mitkSegmentationsProcessingTool.h:88
mitk::Tool
Base class of all tools used by mitk::ToolManager.
Definition: mitkTool.h:83
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::SegmentationsProcessingTool
Batch processing of all selected segmentations/data.
Definition: mitkSegmentationsProcessingTool.h:28
mitkCommon.h
MITKSEGMENTATION_EXPORT
#define MITKSEGMENTATION_EXPORT
Definition: MitkSegmentationExports.h:15
mitkDataNode.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
MitkSegmentationExports.h
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63