Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

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.

Created by:
  • Law, Charles
CVS contributions (if > 5%):
  • Law, Charles (75%)
  • Fisk, Lee Ann (20%)
CVS logs (CVSweb):
  • .cxx (/Parallel/vtkExtractCells.cxx)
  • .h (/Parallel/vtkExtractCells.h)

Definition at line 49 of file vtkExtractCells.h.

Public Types

typedef vtkDataSetToUnstructuredGridFilter 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

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

Protected Member Functions

virtual void Execute ()
 vtkExtractCells ()
 ~vtkExtractCells ()


Member Typedef Documentation

typedef vtkDataSetToUnstructuredGridFilter vtkExtractCells::Superclass
 

Reimplemented from vtkDataSetToUnstructuredGridFilter.

Definition at line 52 of file vtkExtractCells.h.


Constructor & Destructor Documentation

vtkExtractCells::vtkExtractCells  )  [protected]
 

vtkExtractCells::~vtkExtractCells  )  [protected]
 


Member Function Documentation

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

Reimplemented from vtkDataSetToUnstructuredGridFilter.

int vtkExtractCells::IsTypeOf const char *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetToUnstructuredGridFilter.

virtual int vtkExtractCells::IsA const char *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetToUnstructuredGridFilter.

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

Reimplemented from vtkDataSetToUnstructuredGridFilter.

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

vtkExtractCells* vtkExtractCells::New  )  [static]
 

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

Reimplemented from vtkAlgorithm.

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 void vtkExtractCells::Execute  )  [protected, virtual]
 

This method is the old style execute method

Reimplemented from vtkSource.


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