Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkAutoCropTool.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 mitkAutoCropTool_h_Included
18 #define mitkAutoCropTool_h_Included
19 
20 #include "mitkCommon.h"
23 
24 namespace mitk
25 {
36  {
37  public:
39  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
40 
41  virtual const char **GetXPM() const override;
42  virtual const char *GetName() const override;
43 
44  protected:
45  virtual bool ProcessOneWorkingData(DataNode *node) override;
46  virtual std::string GetErrorMessage() override;
47 
48  AutoCropTool(); // purposely hidden
49  virtual ~AutoCropTool();
50  };
51 
52 } // namespace
53 
54 #endif
#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
Crops selected segmentations.
static std::string GetName(std::string fileName, std::string suffix)
Class for nodes of the DataTree.
Definition: mitkDataNode.h:66
Super-class that provides the functionality of a StateMachine to DataInteractors. ...