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)
32 Q_PROPERTY(
double lowerThresholdBound READ lowerThresholdBound WRITE setLowerThresholdBound)
33 Q_PROPERTY(
double upperThresholdBound READ upperThresholdBound WRITE setUpperThresholdBound)
49 ControlMode autoThreshold()
const;
50 void setAutoThreshold(ControlMode autoWindowLevel);
57 double lowerThreshold()
const;
61 double upperThreshold()
const;
65 double lowerThresholdBound()
const;
69 double upperThresholdBound()
const;
74 void thresholdValuesChanged(
double lowerThreshold,
double upperThreshold);
77 void autoThresholdValueChanged(
int value);
81 void setAutoThreshold(
int autoThreshold);
85 void setLowerThreshold(
double lowerThreshold);
89 void setUpperThreshold(
double upperThreshold);
93 void setLowerThresholdBound(
double lowerThresholdBound);
97 void setUpperThresholdBound(
double upperThresholdBound);
101 void setThreshold(
double lowerThreshold,
double upperThreshold);
105 void setThresholdBounds(
double min,
double max);
113 void setMinimum(
double min);
114 void setMaximum(
double max);