Medical Imaging Interaction Toolkit  2018.4.99-c4b6bb11
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 
38  void SetOverwriteExistingSegmentation(bool overwrite);
39 
45  std::string GetCurrentSegmentationName();
46 
53  virtual mitk::DataNode *GetTargetSegmentationNode();
54 
55  protected:
56  AutoSegmentationTool(); // purposely hidden
57  ~AutoSegmentationTool() override;
58 
59  const char *GetGroup() const override;
60 
62  static Image::ConstPointer GetImageByTimeStep(const Image* image, unsigned int timestep);
64  static Image::ConstPointer GetImageByTimePoint(const Image* image, TimePointType timePoint);
65 
67  };
68 
69 } // namespace
70 
71 #endif
Base class of all tools used by mitk::ToolManager.
Definition: mitkTool.h:86
#define MITKSEGMENTATION_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
class ITK_EXPORT Image
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
Image class for storing images.
Definition: mitkImage.h:72
Superclass for tool that create a new segmentation without user interaction in render windows...
mitk::ScalarType TimePointType
mitk::Image::Pointer image
Class for nodes of the DataTree.
Definition: mitkDataNode.h:57