128#ifndef vtkThresholdPoints_h
129#define vtkThresholdPoints_h
131#include "vtkFiltersCoreModule.h"
134VTK_ABI_NAMESPACE_BEGIN
162 vtkSetMacro(UpperThreshold,
double);
163 vtkGetMacro(UpperThreshold,
double);
170 vtkSetMacro(LowerThreshold,
double);
171 vtkGetMacro(LowerThreshold,
double);
179 vtkSetMacro(InputArrayComponent,
int);
180 vtkGetMacro(InputArrayComponent,
int);
189 vtkSetMacro(OutputPointsPrecision,
int);
190 vtkGetMacro(OutputPointsPrecision,
int);
209 int Lower(
double s) {
return (s <= this->LowerThreshold ? 1 : 0); }
210 int Upper(
double s) {
return (s >= this->UpperThreshold ? 1 : 0); }
213 return (s >= this->LowerThreshold ? (s <= this->UpperThreshold ? 1 : 0) : 0);
a simple class to control print indentation
Superclass for algorithms that produce only polydata as output.
extracts points whose scalar value satisfies threshold criterion
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ThresholdByLower(double lower)
Criterion is cells whose scalars are less or equal to lower threshold.
~vtkThresholdPoints() override=default
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
void ThresholdBetween(double lower, double upper)
Criterion is cells whose scalars are between lower and upper thresholds (inclusive of the end values)...
static vtkThresholdPoints * New()
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.
int OutputPointsPrecision