Medical Imaging Interaction Toolkit
2025.12.02
Medical Imaging Interaction Toolkit
mitkBinaryThresholdTool.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 mitkBinaryThresholdTool_h
14
#define mitkBinaryThresholdTool_h
15
16
#include "
mitkBinaryThresholdBaseTool.h
"
17
#include <
MitkSegmentationExports.h
>
18
19
namespace
us
20
{
21
class
ModuleResource;
22
}
23
24
namespace
mitk
25
{
35
class
MITKSEGMENTATION_EXPORT
BinaryThresholdTool
:
public
BinaryThresholdBaseTool
36
{
37
public
:
38
39
mitkClassMacro
(
BinaryThresholdTool
,
BinaryThresholdBaseTool
);
40
itkFactorylessNewMacro(
Self
);
41
itkCloneMacro(
Self
);
42
43
const
char
**
GetXPM
()
const override
;
44
us::ModuleResource
GetIconResource
()
const override
;
45
const
char
*
GetName
()
const override
;
46
47
virtual
void
SetThresholdValue
(
double
value);
48
49
protected
:
50
BinaryThresholdTool
();
// purposely hidden
51
~BinaryThresholdTool
()
override
;
52
};
53
54
}
// namespace
55
56
#endif
MitkSegmentationExports.h
MITKSEGMENTATION_EXPORT
#define MITKSEGMENTATION_EXPORT
Definition:
MitkSegmentationExports.h:15
mitk::BinaryThresholdBaseTool
Base class for binary threshold tools.
Definition:
mitkBinaryThresholdBaseTool.h:36
mitk::BinaryThresholdTool
Calculates the segmented volumes for binary images.
Definition:
mitkBinaryThresholdTool.h:36
mitk::BinaryThresholdTool::~BinaryThresholdTool
~BinaryThresholdTool() override
mitk::BinaryThresholdTool::mitkClassMacro
mitkClassMacro(BinaryThresholdTool, BinaryThresholdBaseTool)
mitk::BinaryThresholdTool::GetName
const char * GetName() const override
Returns the name of this tool. Make it short!
mitk::BinaryThresholdTool::GetXPM
const char ** GetXPM() const override
Returns an icon in the XPM format.
mitk::BinaryThresholdTool::BinaryThresholdTool
BinaryThresholdTool()
mitk::BinaryThresholdTool::SetThresholdValue
virtual void SetThresholdValue(double value)
mitk::BinaryThresholdTool::GetIconResource
us::ModuleResource GetIconResource() const override
Returns the tool button icon of the tool wrapped by a usModuleResource.
mitk::EventStateMachine
**
Definition:
mitkEventStateMachine.h:112
us::ModuleResource
Definition:
usModuleResource.h:56
mitkBinaryThresholdBaseTool.h
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
us
Definition:
mitkAbstractFileReader.h:30
src
MITK
Modules
Segmentation
Interactions
mitkBinaryThresholdTool.h
Generated on Mon Feb 23 2026 23:28:09 for Medical Imaging Interaction Toolkit by
1.9.1