Go to the documentation of this file.
33 #ifndef vtkThresholdPoints_h
34 #define vtkThresholdPoints_h
36 #include "vtkFiltersCoreModule.h"
49 void ThresholdByLower(
double lower);
54 void ThresholdByUpper(
double upper);
60 void ThresholdBetween(
double lower,
double upper);
67 vtkGetMacro(UpperThreshold,
double);
75 vtkGetMacro(LowerThreshold,
double);
85 vtkGetMacro(OutputPointsPrecision,
int);
103 int Lower(
double s) {
return ( s <= this->LowerThreshold ? 1 : 0 );};
104 int Upper(
double s) {
return ( s >= this->UpperThreshold ? 1 : 0 );};
105 int Between(
double s) {
return ( s >= this->LowerThreshold ?
106 ( s <= this->UpperThreshold ? 1 : 0 ) : 0 );};
int OutputPointsPrecision
~vtkThresholdPoints() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
a simple class to control print indentation
extracts points whose scalar value satisfies threshold criterion
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.