18 #ifndef __qMRMLVolumeThresholdWidget_h 19 #define __qMRMLVolumeThresholdWidget_h 23 class qMRMLVolumeThresholdWidgetPrivate;
29 Q_PROPERTY(
int autoThreshold READ autoThreshold WRITE setAutoThreshold)
30 Q_PROPERTY(
double lowerThreshold READ lowerThreshold WRITE setLowerThreshold)
31 Q_PROPERTY(
double upperThreshold READ upperThreshold WRITE setUpperThreshold)
46 ControlMode autoThreshold()
const;
47 void setAutoThreshold(ControlMode autoWindowLevel);
54 double lowerThreshold()
const;
58 double upperThreshold()
const;
63 void thresholdValuesChanged(
double lowerThreshold,
double upperThreshold);
66 void autoThresholdValueChanged(
int value);
70 void setAutoThreshold(
int autoThreshold);
74 void setLowerThreshold(
double lowerThreshold);
78 void setUpperThreshold(
double upperThreshold);
82 void setThreshold(
double lowerThreshold,
double upperThreshold);
90 void setMinimum(
double min);
91 void setMaximum(
double max);