32 #ifndef __vtkThresholdPoints_h
33 #define __vtkThresholdPoints_h
35 #include "vtkFiltersCoreModule.h"
43 void PrintSelf(ostream& os, vtkIndent indent);
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);
74 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
85 int Lower(
double s) {
return ( s <= this->LowerThreshold ? 1 : 0 );};
86 int Upper(
double s) {
return ( s >= this->UpperThreshold ? 1 : 0 );};
87 int Between(
double s) {
return ( s >= this->LowerThreshold ?
88 ( s <= this->UpperThreshold ? 1 : 0 ) : 0 );};
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
extracts points whose scalar value satisfies threshold criterion