VTK
|
subset a vtkDataSet to create a vtkUnstructuredGrid More...
#include <vtkExtractCells.h>
Public Types | |
typedef vtkUnstructuredGridAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkExtractCells * | NewInstance () 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 vtkExtractCells * | SafeDownCast (vtkObjectBase *o) |
static vtkExtractCells * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
vtkExtractCells () | |
~vtkExtractCells () |
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.
Reimplemented from vtkUnstructuredGridAlgorithm.
Definition at line 42 of file vtkExtractCells.h.
vtkExtractCells::vtkExtractCells | ( | ) | [protected] |
vtkExtractCells::~vtkExtractCells | ( | ) | [protected] |
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 | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkUnstructuredGridAlgorithm.
virtual vtkObjectBase* vtkExtractCells::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkUnstructuredGridAlgorithm.
vtkExtractCells* vtkExtractCells::NewInstance | ( | ) | const |
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.