Medical Imaging Interaction Toolkit  2018.4.99-c670e289
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 (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 mitkAutoCropTool_h_Included
14 #define mitkAutoCropTool_h_Included
15 
16 #include "mitkCommon.h"
19 
20 namespace mitk
21 {
32  {
33  public:
35  itkFactorylessNewMacro(Self);
36  itkCloneMacro(Self);
37 
38  const char **GetXPM() const override;
39  const char *GetName() const override;
40 
41  protected:
42  bool ProcessOneWorkingData(DataNode *node) override;
43  std::string GetErrorMessage() override;
44 
45  AutoCropTool(); // purposely hidden
46  ~AutoCropTool() override;
47  };
48 
49 } // namespace
50 
51 #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:40
Crops selected segmentations.
Class for nodes of the DataTree.
Definition: mitkDataNode.h:57
Super-class that provides the functionality of a StateMachine to DataInteractors. ...