vtkExtractUserDefinedPiece Class Reference

#include <vtkExtractUserDefinedPiece.h>

Inheritance diagram for vtkExtractUserDefinedPiece:

Inheritance graph
[legend]
Collaboration diagram for vtkExtractUserDefinedPiece:

Collaboration graph
[legend]

List of all members.


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 40 of file vtkExtractUserDefinedPiece.h.


Public Types

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

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
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 (vtkObject *o)
static vtkExtractUserDefinedPieceNew ()

Protected Member Functions

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

Member Typedef Documentation

Reimplemented from vtkExtractUnstructuredGridPiece.

Definition at line 43 of file vtkExtractUserDefinedPiece.h.

typedef int(* vtkExtractUserDefinedPiece::UserDefFunc)(vtkIdType cellID, vtkUnstructuredGrid *grid, void *constantData)


Constructor & Destructor Documentation

vtkExtractUserDefinedPiece::vtkExtractUserDefinedPiece (  )  [protected]

vtkExtractUserDefinedPiece::~vtkExtractUserDefinedPiece (  )  [protected]


Member Function Documentation

virtual const char* vtkExtractUserDefinedPiece::GetClassName (  )  [virtual]

Reimplemented from vtkExtractUnstructuredGridPiece.

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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkExtractUnstructuredGridPiece.

static vtkExtractUserDefinedPiece* vtkExtractUserDefinedPiece::SafeDownCast ( vtkObject o  )  [static]

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 53 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]


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

Generated on Sat Dec 27 13:24:59 2008 for VTK by  doxygen 1.5.6