VTK
|
extract a list of cells from a dataset More...
#include <vtkExtractSelectedIds.h>
Public Types | |
typedef vtkExtractSelectionBase | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkExtractSelectedIds * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static vtkExtractSelectedIds * | New () |
static int | IsTypeOf (const char *type) |
static vtkExtractSelectedIds * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkExtractSelectedIds () | |
~vtkExtractSelectedIds () | |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
int | ExtractCells (vtkSelectionNode *sel, vtkDataSet *input, vtkDataSet *output) |
int | ExtractPoints (vtkSelectionNode *sel, vtkDataSet *input, vtkDataSet *output) |
extract a list of cells from a dataset
vtkExtractSelectedIds extracts a set of cells and points from within a vtkDataSet. The set of ids to extract are listed within a vtkSelection. 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. Depending on whether the selection has GLOBALIDS, VALUES or INDICES, the selection will use the contents of the array named in the GLOBALIDS DataSetAttribute, and arbitrary array, or the position (tuple id or number) within the cell or point array.
Definition at line 39 of file vtkExtractSelectedIds.h.
Reimplemented from vtkExtractSelectionBase.
Definition at line 43 of file vtkExtractSelectedIds.h.
vtkExtractSelectedIds::vtkExtractSelectedIds | ( | ) | [protected] |
vtkExtractSelectedIds::~vtkExtractSelectedIds | ( | ) | [protected] |
static vtkExtractSelectedIds* vtkExtractSelectedIds::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDataObjectAlgorithm.
static int vtkExtractSelectedIds::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 vtkExtractSelectedIds::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 vtkExtractSelectedIds* vtkExtractSelectedIds::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkExtractSelectionBase.
virtual vtkObjectBase* vtkExtractSelectedIds::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkExtractSelectionBase.
Reimplemented from vtkExtractSelectionBase.
void vtkExtractSelectedIds::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.
virtual int vtkExtractSelectedIds::FillInputPortInformation | ( | int | port, |
vtkInformation * | info | ||
) | [protected, virtual] |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkExtractSelectionBase.
virtual int vtkExtractSelectedIds::RequestData | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [protected, virtual] |
Reimplemented from vtkDataObjectAlgorithm.
int vtkExtractSelectedIds::ExtractCells | ( | vtkSelectionNode * | sel, |
vtkDataSet * | input, | ||
vtkDataSet * | output | ||
) | [protected] |
int vtkExtractSelectedIds::ExtractPoints | ( | vtkSelectionNode * | sel, |
vtkDataSet * | input, | ||
vtkDataSet * | output | ||
) | [protected] |