vtkExtractCells Class Reference

#include <vtkExtractCells.h>

Inheritance diagram for vtkExtractCells:

Inheritance graph
[legend]
Collaboration diagram for vtkExtractCells:

Collaboration graph
[legend]

List of all members.


Detailed Description

subset a vtkDataSet to create a vtkUnstructuredGrid

Given a vtkDataSet and a list of cell Ids, create a vtkUnstructuredGrid composed of these cells. If the cell list is empty when vtkExtractCells executes, it will set up the ugrid, point and cell arrays, with no points, cells or data.

Definition at line 39 of file vtkExtractCells.h.


Public Types

typedef
vtkUnstructuredGridAlgorithm 
Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void PrintSelf (ostream &os, vtkIndent indent)
void SetCellList (vtkIdList *l)
void AddCellList (vtkIdList *l)
void AddCellRange (vtkIdType from, vtkIdType to)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkExtractCellsSafeDownCast (vtkObject *o)
static vtkExtractCellsNew ()

Protected Member Functions

virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation (int port, vtkInformation *info)
 vtkExtractCells ()
 ~vtkExtractCells ()

Member Typedef Documentation

Reimplemented from vtkUnstructuredGridAlgorithm.

Definition at line 42 of file vtkExtractCells.h.


Constructor & Destructor Documentation

vtkExtractCells::vtkExtractCells (  )  [protected]

vtkExtractCells::~vtkExtractCells (  )  [protected]


Member Function Documentation

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

Reimplemented from vtkUnstructuredGridAlgorithm.

static int vtkExtractCells::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 vtkUnstructuredGridAlgorithm.

virtual int vtkExtractCells::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 vtkUnstructuredGridAlgorithm.

static vtkExtractCells* vtkExtractCells::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkUnstructuredGridAlgorithm.

virtual void vtkExtractCells::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 vtkUnstructuredGridAlgorithm.

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

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

Reimplemented from vtkUnstructuredGridAlgorithm.

void vtkExtractCells::SetCellList ( vtkIdList l  ) 

Set the list of cell IDs that the output vtkUnstructuredGrid will be composed of. Replaces any other cell ID list supplied so far. (Set to NULL to free memory used by cell list.)

void vtkExtractCells::AddCellList ( vtkIdList l  ) 

Add the supplied list of cell IDs to those that will be included in the output vtkUnstructuredGrid.

void vtkExtractCells::AddCellRange ( vtkIdType  from,
vtkIdType  to 
)

Add this range of cell IDs to those that will be included in the output vtkUnstructuredGrid.

virtual int vtkExtractCells::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkUnstructuredGridAlgorithm.

virtual int vtkExtractCells::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 vtkUnstructuredGridAlgorithm.


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

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