Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef mitkSegmentationsProcessingTool_h_Included
18 #define mitkSegmentationsProcessingTool_h_Included
19 
20 #include "mitkCommon.h"
21 #include "mitkDataNode.h"
22 #include "mitkTool.h"
24 
25 namespace mitk
26 {
33  {
34  public:
36 
37  protected:
38  SegmentationsProcessingTool(); // purposely hidden
39  virtual ~SegmentationsProcessingTool();
40 
41  virtual const char *GetGroup() const override;
42 
48  virtual void Activated() override;
49  virtual void Deactivated() override;
50 
62  virtual void ProcessAllObjects();
63 
68  virtual void StartProcessingAllData();
69 
74  virtual bool ProcessOneWorkingData(DataNode *node);
75 
80  virtual void FinishProcessingAllData();
81 
85  virtual void SendErrorMessageIfAny();
86 
90  virtual std::string GetErrorMessage();
91 
92  std::string m_FailedNodes;
93  };
94 
95 } // namespace
96 
97 #endif
Base class of all tools used by mitk::ToolManager.
Definition: mitkTool.h:92
#define MITKSEGMENTATION_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
Batch processing of all selected segmentations/data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
Class for nodes of the DataTree.
Definition: mitkDataNode.h:66