VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkExtractSelectedIds Class Reference

extract a list of cells from a dataset More...

#include <vtkExtractSelectedIds.h>

Inheritance diagram for vtkExtractSelectedIds:
Inheritance graph
[legend]
Collaboration diagram for vtkExtractSelectedIds:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkExtractSelectionBase Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkExtractSelectedIdsNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)

Static Public Member Functions

static vtkExtractSelectedIdsNew ()
static int IsTypeOf (const char *type)
static vtkExtractSelectedIdsSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () 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)

Detailed Description

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.

See also:
vtkSelection vtkExtractSelection

Definition at line 39 of file vtkExtractSelectedIds.h.


Member Typedef Documentation

Reimplemented from vtkExtractSelectionBase.

Definition at line 43 of file vtkExtractSelectedIds.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

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.

Reimplemented from vtkDataObjectAlgorithm.

int vtkExtractSelectedIds::ExtractCells ( vtkSelectionNode sel,
vtkDataSet input,
vtkDataSet output 
) [protected]
int vtkExtractSelectedIds::ExtractPoints ( vtkSelectionNode sel,
vtkDataSet input,
vtkDataSet output 
) [protected]

The documentation for this class was generated from the following file: