 |
VTK
9.1.0
|
Go to the documentation of this file.
137 #ifndef vtkThresholdPoints_h
138 #define vtkThresholdPoints_h
140 #include "vtkFiltersCoreModule.h"
170 vtkSetMacro(UpperThreshold,
double);
171 vtkGetMacro(UpperThreshold,
double);
178 vtkSetMacro(LowerThreshold,
double);
179 vtkGetMacro(LowerThreshold,
double);
187 vtkSetMacro(InputArrayComponent,
int);
188 vtkGetMacro(InputArrayComponent,
int);
197 vtkSetMacro(OutputPointsPrecision,
int);
198 vtkGetMacro(OutputPointsPrecision,
int);
217 int Lower(
double s) {
return (s <= this->LowerThreshold ? 1 : 0); }
218 int Upper(
double s) {
return (s >= this->UpperThreshold ? 1 : 0); }
221 return (s >= this->LowerThreshold ? (s <= this->UpperThreshold ? 1 : 0) : 0);
int OutputPointsPrecision
static vtkThresholdPoints * New()
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
a simple class to control print indentation
void ThresholdByLower(double lower)
Criterion is cells whose scalars are less or equal to lower threshold.
extracts points whose scalar value satisfies threshold criterion
~vtkThresholdPoints() override=default
void ThresholdByUpper(double upper)
Criterion is cells whose scalars are greater or equal to upper threshold.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for algorithms that produce only polydata as output.
void ThresholdBetween(double lower, double upper)
Criterion is cells whose scalars are between lower and upper thresholds (inclusive of the end values)...