VTK
|
extract a cells or points from a dataset that have values within a set of thresholds. More...
#include <vtkExtractSelectedThresholds.h>
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.
Definition at line 43 of file vtkExtractSelectedThresholds.h.
Reimplemented from vtkExtractSelectionBase.
Definition at line 46 of file vtkExtractSelectedThresholds.h.
vtkExtractSelectedThresholds::vtkExtractSelectedThresholds | ( | ) | [protected] |
vtkExtractSelectedThresholds::~vtkExtractSelectedThresholds | ( | ) | [protected] |
static int vtkExtractSelectedThresholds::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkExtractSelectionBase.
virtual int vtkExtractSelectedThresholds::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkExtractSelectionBase.
static vtkExtractSelectedThresholds* vtkExtractSelectedThresholds::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkExtractSelectionBase.
virtual vtkObjectBase* vtkExtractSelectedThresholds::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkExtractSelectionBase.
Reimplemented from vtkExtractSelectionBase.
void vtkExtractSelectedThresholds::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkExtractSelectionBase.
static vtkExtractSelectedThresholds* vtkExtractSelectedThresholds::New | ( | ) | [static] |
Constructor
Reimplemented from vtkDataObjectAlgorithm.
static int vtkExtractSelectedThresholds::EvaluateValue | ( | vtkDataArray * | scalars, |
vtkIdType | id, | ||
vtkDataArray * | lims | ||
) | [inline, static] |
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 | ||
) | [inline, static] |
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, virtual] |
Reimplemented from vtkDataObjectAlgorithm.
int vtkExtractSelectedThresholds::ExtractCells | ( | vtkSelectionNode * | sel, |
vtkDataSet * | input, | ||
vtkDataSet * | output, | ||
int | usePointScalars | ||
) | [protected] |
int vtkExtractSelectedThresholds::ExtractPoints | ( | vtkSelectionNode * | sel, |
vtkDataSet * | input, | ||
vtkDataSet * | output | ||
) | [protected] |