32 #ifndef vtkThresholdPoints_h
33 #define vtkThresholdPoints_h
47 void ThresholdByLower(
double lower);
51 void ThresholdByUpper(
double upper);
55 void ThresholdBetween(
double lower,
double upper);
59 vtkSetMacro(UpperThreshold,
double);
60 vtkGetMacro(UpperThreshold,
double);
65 vtkSetMacro(LowerThreshold,
double);
66 vtkGetMacro(LowerThreshold,
double);
73 vtkSetMacro(OutputPointsPrecision,
int);
74 vtkGetMacro(OutputPointsPrecision,
int);
94 int Lower(
double s) {
return ( s <= this->LowerThreshold ? 1 : 0 );};
95 int Upper(
double s) {
return ( s >= this->UpperThreshold ? 1 : 0 );};
96 int Between(
double s) {
return ( s >= this->LowerThreshold ?
97 ( s <= this->UpperThreshold ? 1 : 0 ) : 0 );};
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTKFILTERSCORE_EXPORT
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
extracts points whose scalar value satisfies threshold criterion
int OutputPointsPrecision