Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
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 (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 mitkAutoSegmentationTool_h_Included
14 #define mitkAutoSegmentationTool_h_Included
15 
16 #include "mitkCommon.h"
17 #include "mitkTool.h"
19 
20 namespace mitk
21 {
22  class Image;
23 
30  {
31  public:
33 
34  void SetOverwriteExistingSegmentation(bool overwrite);
35 
41  std::string GetCurrentSegmentationName();
42 
49  virtual mitk::DataNode *GetTargetSegmentationNode();
50 
51  protected:
52  AutoSegmentationTool(); // purposely hidden
53  ~AutoSegmentationTool() override;
54 
55  const char *GetGroup() const override;
56 
57  virtual itk::SmartPointer<Image> Get3DImage(itk::SmartPointer<Image> image, unsigned int timestep);
58 
60  };
61 
62 } // namespace
63 
64 #endif
Base class of all tools used by mitk::ToolManager.
Definition: mitkTool.h:88
#define MITKSEGMENTATION_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
class ITK_EXPORT Image
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
Superclass for tool that create a new segmentation without user interaction in render windows...
mitk::Image::Pointer image
Class for nodes of the DataTree.
Definition: mitkDataNode.h:64