34 #ifndef vtkThresholdPoints_h
35 #define vtkThresholdPoints_h
37 #include "vtkFiltersCoreModule.h"
50 void ThresholdByLower(
double lower);
55 void ThresholdByUpper(
double upper);
61 void ThresholdBetween(
double lower,
double upper);
67 vtkSetMacro(UpperThreshold,
double);
68 vtkGetMacro(UpperThreshold,
double);
75 vtkSetMacro(LowerThreshold,
double);
76 vtkGetMacro(LowerThreshold,
double);
85 vtkSetMacro(OutputPointsPrecision,
int);
86 vtkGetMacro(OutputPointsPrecision,
int);
104 int Lower(
double s) {
return ( s <= this->LowerThreshold ? 1 : 0 );};
105 int Upper(
double s) {
return ( s >= this->UpperThreshold ? 1 : 0 );};
106 int Between(
double s) {
return ( s >= this->LowerThreshold ?
107 ( s <= this->UpperThreshold ? 1 : 0 ) : 0 );};