17 #ifndef mitkBinaryThresholdTool_h_Included
18 #define mitkBinaryThresholdTool_h_Included
50 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
52 virtual const
char **GetXPM() const override;
53 us::ModuleResource GetIconResource() const override;
54 virtual const
char *
GetName() const override;
56 virtual
void Activated() override;
57 virtual
void Deactivated() override;
59 virtual
void SetThresholdValue(
double value);
60 virtual
void AcceptCurrentThresholdValue();
61 virtual
void CancelThresholding();
65 virtual ~BinaryThresholdTool();
67 void SetupPreviewNode();
69 void CreateNewSegmentationFromThreshold(
DataNode *node);
71 void OnRoiDataChanged();
74 template <typename TPixel,
unsigned int VImageDimension>
77 double thresholdValue,
78 unsigned int timeStep);
79 template <typename TPixel,
unsigned int VImageDimension>
82 double thresholdValue,
83 unsigned int timeStep);
89 double m_SensibleMinimumThresholdValue;
90 double m_SensibleMaximumThresholdValue;
91 double m_CurrentThresholdValue;
94 bool m_IsOldBinary = false;
#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. ...