VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkExtractUserDefinedPiece Class Reference

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

#include <vtkExtractUserDefinedPiece.h>

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

List of all members.

Public Types

typedef
vtkExtractUnstructuredGridPiece 
Superclass
typedef int(* UserDefFunc )(vtkIdType cellID, vtkUnstructuredGrid *grid, void *constantData)

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)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkExtractUserDefinedPieceSafeDownCast (vtkObjectBase *o)
static vtkExtractUserDefinedPieceNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkExtractUserDefinedPiece ()
 ~vtkExtractUserDefinedPiece ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void ComputeCellTagsWithFunction (vtkIntArray *tags, vtkIdList *pointOwnership, vtkUnstructuredGrid *input)

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

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.


Constructor & Destructor Documentation


Member Function Documentation

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.

Reimplemented from vtkExtractUnstructuredGridPiece.

virtual vtkObjectBase* vtkExtractUserDefinedPiece::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkExtractUnstructuredGridPiece.

Reimplemented from vtkExtractUnstructuredGridPiece.

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.

Definition at line 54 of file vtkExtractUserDefinedPiece.h.

void vtkExtractUserDefinedPiece::SetConstantData ( void *  data,
int  len 
)
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]

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