Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkAutoSegmentationTool.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 mitkAutoSegmentationTool_h_Included
18 #define mitkAutoSegmentationTool_h_Included
19 
20 #include "mitkCommon.h"
21 #include "mitkTool.h"
23 
24 namespace mitk
25 {
26  class Image;
27 
34  {
35  public:
37 
38  void SetOverwriteExistingSegmentation(bool overwrite);
39 
45  std::string GetCurrentSegmentationName();
46 
53  virtual mitk::DataNode *GetTargetSegmentationNode();
54 
55  protected:
56  AutoSegmentationTool(); // purposely hidden
57  virtual ~AutoSegmentationTool();
58 
59  virtual const char *GetGroup() const override;
60 
61  virtual itk::SmartPointer<Image> Get3DImage(itk::SmartPointer<Image> image, unsigned int timestep);
62 
64  };
65 
66 } // namespace
67 
68 #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.
class ITK_EXPORT Image
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
Superclass for tool that create a new segmentation without user interaction in render windows...
Class for nodes of the DataTree.
Definition: mitkDataNode.h:66