Medical Imaging Interaction Toolkit  2024.06.00
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
14 #define mitkAutoCropTool_h
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
mitk::AutoCropTool
Crops selected segmentations.
Definition: mitkAutoCropTool.h:31
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::EventStateMachine
‍**
Definition: mitkEventStateMachine.h:111
mitk::SegmentationsProcessingTool
Batch processing of all selected segmentations/data.
Definition: mitkSegmentationsProcessingTool.h:28
mitkCommon.h
MITKSEGMENTATION_EXPORT
#define MITKSEGMENTATION_EXPORT
Definition: MitkSegmentationExports.h:15
mitkSegmentationsProcessingTool.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
MitkSegmentationExports.h
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63