#include <vtkExtractSelectedThresholds.h>
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 42 of file vtkExtractSelectedThresholds.h.
Public Types | |
typedef vtkExtractSelectionBase | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkExtractSelectedThresholds * | SafeDownCast (vtkObject *o) |
static vtkExtractSelectedThresholds * | New () |
static int | EvaluateValue (vtkDataArray *scalars, vtkIdType id, vtkDoubleArray *lims) |
Protected Member Functions | |
vtkExtractSelectedThresholds () | |
~vtkExtractSelectedThresholds () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
int | ExtractCells (vtkSelection *sel, vtkDataSet *input, vtkDataSet *output, int usePointScalars) |
int | ExtractPoints (vtkSelection *sel, vtkDataSet *input, vtkDataSet *output) |
Reimplemented from vtkExtractSelectionBase.
Definition at line 45 of file vtkExtractSelectedThresholds.h.
vtkExtractSelectedThresholds::vtkExtractSelectedThresholds | ( | ) | [protected] |
vtkExtractSelectedThresholds::~vtkExtractSelectedThresholds | ( | ) | [protected] |
virtual const char* vtkExtractSelectedThresholds::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkExtractSelectionBase.
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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkExtractSelectionBase.
static vtkExtractSelectedThresholds* vtkExtractSelectedThresholds::SafeDownCast | ( | vtkObject * | o | ) | [static] |
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, | |||
vtkDoubleArray * | lims | |||
) | [static] |
Function for determining whether a value in a data array passes the threshold test(s) provided in lims.
int vtkExtractSelectedThresholds::RequestData | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
Reimplemented from vtkDataObjectAlgorithm.
int vtkExtractSelectedThresholds::ExtractCells | ( | vtkSelection * | sel, | |
vtkDataSet * | input, | |||
vtkDataSet * | output, | |||
int | usePointScalars | |||
) | [protected] |
int vtkExtractSelectedThresholds::ExtractPoints | ( | vtkSelection * | sel, | |
vtkDataSet * | input, | |||
vtkDataSet * | output | |||
) | [protected] |