extract a cells or points from a dataset that have values within a set of thresholds.
More...
#include <vtkExtractSelectedThresholds.h>
|
static int | IsTypeOf (const char *type) |
|
static
vtkExtractSelectedThresholds * | SafeDownCast (vtkObjectBase *o) |
|
static
vtkExtractSelectedThresholds * | New () |
|
|
static int | EvaluateValue (vtkDataArray *scalars, vtkIdType id, vtkDataArray *lims) |
|
|
static int | EvaluateValue (vtkDataArray *array, int array_component_no, vtkIdType id, vtkDataArray *lims) |
|
|
static int | EvaluateValue (vtkDataArray *scalars, vtkIdType id, vtkDataArray *lims, int *AboveCount, int *BelowCount, int *InsideCount) |
|
|
static int | EvaluateValue (vtkDataArray *scalars, int array_component_no, vtkIdType id, vtkDataArray *lims, int *AboveCount, int *BelowCount, int *InsideCount) |
|
extract a cells or points from a dataset that have values within a set of thresholds.
vtkExtractSelectedThresholds extracts all cells and points with attribute values that lie within a vtkSelection's THRESHOLD contents. The selecion can specify to threshold a particular array within either the point or cell attribute data of the input. This is similar to vtkThreshold but allows mutliple thresholds ranges. This filter adds a scalar array called vtkOriginalCellIds that says what input cell produced each output cell. This is an example of a Pedigree ID which helps to trace back results.
- See Also
- vtkSelection vtkExtractSelection vtkThreshold
Definition at line 43 of file vtkExtractSelectedThresholds.h.
vtkExtractSelectedThresholds::vtkExtractSelectedThresholds |
( |
| ) |
|
|
protected |
vtkExtractSelectedThresholds::~vtkExtractSelectedThresholds |
( |
| ) |
|
|
protected |
static int vtkExtractSelectedThresholds::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkExtractSelectedThresholds::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkExtractSelectedThresholds::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkExtractSelectedThresholds::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
static int vtkExtractSelectedThresholds::EvaluateValue |
( |
vtkDataArray * |
scalars, |
|
|
vtkIdType |
id, |
|
|
vtkDataArray * |
lims |
|
) |
| |
|
inlinestatic |
Function for determining whether a value in a data array passes the threshold test(s) provided in lims. Returns 1 if the value passes at least one of the threshold tests. If scalars
is NULL, then the id itself is used as the scalar value.
Definition at line 57 of file vtkExtractSelectedThresholds.h.
static int vtkExtractSelectedThresholds::EvaluateValue |
( |
vtkDataArray * |
array, |
|
|
int |
array_component_no, |
|
|
vtkIdType |
id, |
|
|
vtkDataArray * |
lims |
|
) |
| |
|
static |
Same as the other EvaluateValue except that the component to be compared can be picked using array_component_no (use -1 for magnitude). If scalars
is NULL, then the id itself is used as the scalar value.
static int vtkExtractSelectedThresholds::EvaluateValue |
( |
vtkDataArray * |
scalars, |
|
|
vtkIdType |
id, |
|
|
vtkDataArray * |
lims, |
|
|
int * |
AboveCount, |
|
|
int * |
BelowCount, |
|
|
int * |
InsideCount |
|
) |
| |
|
inlinestatic |
Function for determining whether a value in a data array passes the threshold test(s) provided in lims. Returns 1 if the value passes at least one of the threshold tests. Also returns in AboveCount, BelowCount and InsideCount the number of tests where the value was above, below or inside the interval. If scalars
is NULL, then the id itself is used as the scalar value.
Definition at line 81 of file vtkExtractSelectedThresholds.h.
static int vtkExtractSelectedThresholds::EvaluateValue |
( |
vtkDataArray * |
scalars, |
|
|
int |
array_component_no, |
|
|
vtkIdType |
id, |
|
|
vtkDataArray * |
lims, |
|
|
int * |
AboveCount, |
|
|
int * |
BelowCount, |
|
|
int * |
InsideCount |
|
) |
| |
|
static |
Same as the other EvaluateValue except that the component to be compared can be picked using array_component_no (use -1 for magnitude). If scalars
is NULL, then the id itself is used as the scalar value.
int vtkExtractSelectedThresholds::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protected |
int vtkExtractSelectedThresholds::ExtractCells |
( |
vtkSelectionNode * |
sel, |
|
|
vtkDataSet * |
input, |
|
|
vtkDataSet * |
output, |
|
|
int |
usePointScalars |
|
) |
| |
|
protected |
int vtkExtractSelectedThresholds::ExtractPoints |
( |
vtkSelectionNode * |
sel, |
|
|
vtkDataSet * |
input, |
|
|
vtkDataSet * |
output |
|
) |
| |
|
protected |
The documentation for this class was generated from the following file: