vtkExtractSelectedIds Class Reference

#include <vtkExtractSelectedIds.h>

Inheritance diagram for vtkExtractSelectedIds:

Inheritance graph
[legend]
Collaboration diagram for vtkExtractSelectedIds:

Collaboration graph
[legend]

List of all members.


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 38 of file vtkExtractSelectedIds.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 vtkExtractSelectedIdsNew ()
static int IsTypeOf (const char *type)
static vtkExtractSelectedIdsSafeDownCast (vtkObject *o)

Protected Member Functions

 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)

Member Typedef Documentation

Reimplemented from vtkExtractSelectionBase.

Definition at line 42 of file vtkExtractSelectedIds.h.


Constructor & Destructor Documentation

vtkExtractSelectedIds::vtkExtractSelectedIds (  )  [protected]

vtkExtractSelectedIds::~vtkExtractSelectedIds (  )  [protected]


Member Function Documentation

static vtkExtractSelectedIds* vtkExtractSelectedIds::New (  )  [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkDataObjectAlgorithm.

virtual const char* vtkExtractSelectedIds::GetClassName (  )  [virtual]

Reimplemented from vtkExtractSelectionBase.

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 ( vtkObject o  )  [static]

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]


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

Generated on Wed Aug 24 11:35:53 2011 for VTK by  doxygen 1.5.6