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) |
![]() | |
typedef vtkUnstructuredGridAlgorithm | Superclass |
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) |
![]() | |
vtkExtractUnstructuredGridPiece * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetCreateGhostCells (int) |
virtual int | GetCreateGhostCells () |
virtual void | CreateGhostCellsOn () |
virtual void | CreateGhostCellsOff () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkExtractUserDefinedPiece * | SafeDownCast (vtkObjectBase *o) |
static vtkExtractUserDefinedPiece * | New () |
![]() | |
static vtkExtractUnstructuredGridPiece * | New () |
static int | IsTypeOf (const char *type) |
static vtkExtractUnstructuredGridPiece * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkExtractUserDefinedPiece () | |
~vtkExtractUserDefinedPiece () | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | ComputeCellTagsWithFunction (vtkIntArray *tags, vtkIdList *pointOwnership, vtkUnstructuredGrid *input) |
![]() | |
vtkExtractUnstructuredGridPiece () | |
~vtkExtractUnstructuredGridPiece () | |
virtual int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | ComputeCellTags (vtkIntArray *cellTags, vtkIdList *pointOwnership, int piece, int numPieces, vtkUnstructuredGrid *input) |
void | AddGhostLevel (vtkUnstructuredGrid *input, vtkIntArray *cellTags, int ghostLevel) |
Additional Inherited Members | |
![]() | |
int | CreateGhostCells |
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.
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.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkExtractUnstructuredGridPiece.
|
static |
|
protectedvirtual |
Reimplemented from vtkExtractUnstructuredGridPiece.
vtkExtractUserDefinedPiece* vtkExtractUserDefinedPiece::NewInstance | ( | ) | const |
|
static |
|
virtual |
|
inline |
Definition at line 54 of file vtkExtractUserDefinedPiece.h.
void vtkExtractUserDefinedPiece::SetConstantData | ( | void * | data, |
int | len | ||
) |
int vtkExtractUserDefinedPiece::GetConstantData | ( | void ** | data | ) |
|
protectedvirtual |
Reimplemented from vtkExtractUnstructuredGridPiece.
|
protected |