32 #ifndef __vtkThresholdPoints_h
33 #define __vtkThresholdPoints_h
46 void ThresholdByLower(
double lower);
50 void ThresholdByUpper(
double upper);
54 void ThresholdBetween(
double lower,
double upper);
58 vtkSetMacro(UpperThreshold,
double);
59 vtkGetMacro(UpperThreshold,
double);
64 vtkSetMacro(LowerThreshold,
double);
65 vtkGetMacro(LowerThreshold,
double);
84 int Lower(
double s) {
return ( s <= this->LowerThreshold ? 1 : 0 );};
85 int Upper(
double s) {
return ( s >= this->UpperThreshold ? 1 : 0 );};
86 int Between(
double s) {
return ( s >= this->LowerThreshold ?
87 ( 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.
a simple class to control print indentation
extracts points whose scalar value satisfies threshold criterion