Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkBinaryThresholdULTool.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 mitkBinaryThresholdULTool_h
14 #define mitkBinaryThresholdULTool_h
15 
18 
19 
20 namespace us
21 {
22  class ModuleResource;
23 }
24 
25 namespace mitk
26 {
37  {
38  public:
40  itkFactorylessNewMacro(Self);
41  itkCloneMacro(Self);
42 
43  const char **GetXPM() const override;
45  const char *GetName() const override;
46 
47  protected:
48  BinaryThresholdULTool(); // purposely hidden
50  };
51 
52 } // namespace
53 
54 #endif
#define MITKSEGMENTATION_EXPORT
Base class for binary threshold tools.
Calculates the segmented volumes for binary images.
us::ModuleResource GetIconResource() const override
Returns the tool button icon of the tool wrapped by a usModuleResource.
mitkClassMacro(BinaryThresholdULTool, BinaryThresholdBaseTool)
const char ** GetXPM() const override
Returns an icon in the XPM format.
const char * GetName() const override
Returns the name of this tool. Make it short!
Find image slices visible on a given plane.