17 #ifndef mitkBinaryThresholdULTool_h_Included
18 #define mitkBinaryThresholdULTool_h_Included
25 #include <itkBinaryThresholdImageFilter.h>
51 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
53 virtual const
char **GetXPM() const override;
54 us::ModuleResource GetIconResource() const override;
55 virtual const
char *
GetName() const override;
57 virtual
void Activated() override;
58 virtual
void Deactivated() override;
60 virtual
void SetThresholdValues(
double lower,
double upper);
61 virtual
void AcceptCurrentThresholdValue();
62 virtual
void CancelThresholding();
66 virtual ~BinaryThresholdULTool();
68 void SetupPreviewNode();
70 void CreateNewSegmentationFromThreshold(
DataNode *node);
72 void OnRoiDataChanged();
84 bool m_IsOldBinary = false;
89 ThresholdFilterType::
Pointer m_ThresholdFilter;
#define MITKSEGMENTATION_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Image class for storing images.
static std::string GetName(std::string fileName, std::string suffix)
Class for nodes of the DataTree.
Super-class that provides the functionality of a StateMachine to DataInteractors. ...