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

subset a vtkDataSet to create a vtkUnstructuredGrid More...

#include <vtkExtractCells.h>

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

List of all members.

Public Types

typedef
vtkUnstructuredGridAlgorithm 
Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkExtractCellsNewInstance () const
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 (vtkObjectBase *o)
static vtkExtractCellsNew ()

Protected Member Functions

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

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.


Member Typedef Documentation

Reimplemented from vtkUnstructuredGridAlgorithm.

Definition at line 42 of file vtkExtractCells.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

Reimplemented from vtkUnstructuredGridAlgorithm.

virtual vtkObjectBase* vtkExtractCells::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkUnstructuredGridAlgorithm.

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.

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.)

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

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: