VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkExtractUserDefinedPiece Class Reference

Return user specified piece with ghost cells. More...

#include <vtkExtractUserDefinedPiece.h>

Inheritance diagram for vtkExtractUserDefinedPiece:
[legend]
Collaboration diagram for vtkExtractUserDefinedPiece:
[legend]

Public Types

typedef
vtkExtractUnstructuredGridPiece 
Superclass
 
typedef int(* UserDefFunc )(vtkIdType cellID, vtkUnstructuredGrid *grid, void *constantData)
 
- Public Types inherited from vtkExtractUnstructuredGridPiece
typedef
vtkUnstructuredGridAlgorithm 
Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkExtractUserDefinedPieceNewInstance () const
 
virtual void PrintSelf (ostream &os, vtkIndent indent)
 
void SetPieceFunction (UserDefFunc func)
 
void SetConstantData (void *data, int len)
 
int GetConstantData (void **data)
 
- Public Member Functions inherited from vtkExtractUnstructuredGridPiece
vtkExtractUnstructuredGridPieceNewInstance () 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 vtkExtractUserDefinedPieceSafeDownCast (vtkObjectBase *o)
 
static vtkExtractUserDefinedPieceNew ()
 
- Static Public Member Functions inherited from vtkExtractUnstructuredGridPiece
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)
 
- Protected Member Functions inherited from vtkExtractUnstructuredGridPiece
 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

- Protected Attributes inherited from vtkExtractUnstructuredGridPiece
int CreateGhostCells
 

Detailed Description

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.

See Also
vtkExtractUnstructuredGridPiece

Definition at line 41 of file vtkExtractUserDefinedPiece.h.

Member Typedef Documentation

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.

Constructor & Destructor Documentation

vtkExtractUserDefinedPiece::vtkExtractUserDefinedPiece ( )
protected
vtkExtractUserDefinedPiece::~vtkExtractUserDefinedPiece ( )
protected

Member Function Documentation

static int vtkExtractUserDefinedPiece::IsTypeOf ( const char *  type)
static
virtual int vtkExtractUserDefinedPiece::IsA ( const char *  type)
virtual

Reimplemented from vtkExtractUnstructuredGridPiece.

static vtkExtractUserDefinedPiece* vtkExtractUserDefinedPiece::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkExtractUserDefinedPiece::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkExtractUnstructuredGridPiece.

vtkExtractUserDefinedPiece* vtkExtractUserDefinedPiece::NewInstance ( ) const
static vtkExtractUserDefinedPiece* vtkExtractUserDefinedPiece::New ( )
static
virtual void vtkExtractUserDefinedPiece::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual
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 *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

Reimplemented from vtkExtractUnstructuredGridPiece.

void vtkExtractUserDefinedPiece::ComputeCellTagsWithFunction ( vtkIntArray *  tags,
vtkIdList *  pointOwnership,
vtkUnstructuredGrid *  input 
)
protected

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