VTK
|
Return user specified piece with ghost cells. More...
#include <vtkExtractUserDefinedPiece.h>
Public Types | |
typedef vtkExtractUnstructuredGridPiece | Superclass |
typedef int(* | UserDefFunc )(vtkIdType cellID, vtkUnstructuredGrid *grid, void *constantData) |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkExtractUserDefinedPiece * | NewInstance () const |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetPieceFunction (UserDefFunc func) |
void | SetConstantData (void *data, int len) |
int | GetConstantData (void **data) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkExtractUserDefinedPiece * | SafeDownCast (vtkObjectBase *o) |
static vtkExtractUserDefinedPiece * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkExtractUserDefinedPiece () | |
~vtkExtractUserDefinedPiece () | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | ComputeCellTagsWithFunction (vtkIntArray *tags, vtkIdList *pointOwnership, vtkUnstructuredGrid *input) |
Return user specified piece with ghost cells.
Provided a function that determines which cells are zero-level cells ("the piece"), this class outputs the piece with the requested number of ghost levels. The only difference between this class and the class it is derived from is that the zero-level cells are specified by a function you provide, instead of determined by dividing up the cells based on cell Id.
Definition at line 41 of file vtkExtractUserDefinedPiece.h.
Reimplemented from vtkExtractUnstructuredGridPiece.
Definition at line 44 of file vtkExtractUserDefinedPiece.h.
typedef int(* vtkExtractUserDefinedPiece::UserDefFunc)(vtkIdType cellID, vtkUnstructuredGrid *grid, void *constantData) |
Definition at line 49 of file vtkExtractUserDefinedPiece.h.
vtkExtractUserDefinedPiece::vtkExtractUserDefinedPiece | ( | ) | [protected] |
vtkExtractUserDefinedPiece::~vtkExtractUserDefinedPiece | ( | ) | [protected] |
static int vtkExtractUserDefinedPiece::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 vtkExtractUnstructuredGridPiece.
virtual int vtkExtractUserDefinedPiece::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 vtkExtractUnstructuredGridPiece.
static vtkExtractUserDefinedPiece* vtkExtractUserDefinedPiece::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkExtractUnstructuredGridPiece.
virtual vtkObjectBase* vtkExtractUserDefinedPiece::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkExtractUnstructuredGridPiece.
Reimplemented from vtkExtractUnstructuredGridPiece.
static vtkExtractUserDefinedPiece* vtkExtractUserDefinedPiece::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkExtractUnstructuredGridPiece.
virtual void vtkExtractUserDefinedPiece::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 vtkExtractUnstructuredGridPiece.
void vtkExtractUserDefinedPiece::SetPieceFunction | ( | UserDefFunc | func | ) | [inline] |
Definition at line 54 of file vtkExtractUserDefinedPiece.h.
void vtkExtractUserDefinedPiece::SetConstantData | ( | void * | data, |
int | len | ||
) |
int vtkExtractUserDefinedPiece::GetConstantData | ( | void ** | data | ) |
virtual int vtkExtractUserDefinedPiece::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkExtractUnstructuredGridPiece.
void vtkExtractUserDefinedPiece::ComputeCellTagsWithFunction | ( | vtkIntArray * | tags, |
vtkIdList * | pointOwnership, | ||
vtkUnstructuredGrid * | input | ||
) | [protected] |