NAME
vtkThreshold - extracts cells where scalar value of every point in cell satisfies threshold criterion
SYNOPSIS
#include "/opt/vtk-c++/graphics/vtkThreshold.h"
class VTK_EXPORT vtkThreshold : public vtkDataSetToUnstructuredGridFilter
vtkThreshold();
static vtkThreshold *New() {return new vtkThreshold;};
const char *GetClassName() {return "vtkThreshold";};
void PrintSelf(ostream& os, vtkIndent indent);
void ThresholdByLower(float lower);
void ThresholdByUpper(float upper);
void ThresholdBetween(float lower, float upper);
float GetUpperThreshold();
float GetLowerThreshold();
void SetAllScalars(int);
int GetAllScalars();
void AllScalarsOn();
void AllScalarsOff();
DESCRIPTION
vtkThreshold is a filter that extracts cells from any dataset type that satisfy a threshold criterion. A cell satisfies the criterion if the scalar value of (every or any) point satisfies the criterion. The criterion can take three forms: 1) greater than a particular value; 2) less than a particular value; or 3) between two values. The output of this filter is an unstructured grid.
SEE ALSO
vtkThresholdPoints vtkThresholdTextureCoords
SUMMARY
void SetAllScalars(int)
The test must be satisfied for all scalars of the cell or just one.
void ThresholdByLower(float lower)
Criterion is cells whose scalars are less or equal to lower threshold.
void ThresholdByUpper(float upper)
Criterion is cells whose scalars are greater or equal to upper threshold.
void ThresholdBetween(float lower, float upper)
Criterion is cells whose scalars are between lower and upper thresholds.