Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

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
Created by:
  • Law, Charles
CVS contributions (if > 5%):
  • Law, Charles (90%)
  • Malaterre, Mathieu (7%)
CVS logs (CVSweb):
  • .cxx (/Parallel/vtkExtractUserDefinedPiece.cxx)
  • .h (/Parallel/vtkExtractUserDefinedPiece.h)

Definition at line 51 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

int IsTypeOf (const char *type)
vtkExtractUserDefinedPieceSafeDownCast (vtkObject *o)
vtkExtractUserDefinedPieceNew ()

Protected Member Functions

 vtkExtractUserDefinedPiece ()
 ~vtkExtractUserDefinedPiece ()
void Execute ()
void ComputeCellTagsWithFunction (vtkIntArray *tags, vtkIdList *pointOwnership)


Member Typedef Documentation

typedef vtkExtractUnstructuredGridPiece vtkExtractUserDefinedPiece::Superclass
 

Reimplemented from vtkExtractUnstructuredGridPiece.

Definition at line 54 of file vtkExtractUserDefinedPiece.h.

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

Definition at line 59 of file vtkExtractUserDefinedPiece.h.

Referenced by SetPieceFunction().


Constructor & Destructor Documentation

vtkExtractUserDefinedPiece::vtkExtractUserDefinedPiece  )  [protected]
 

vtkExtractUserDefinedPiece::~vtkExtractUserDefinedPiece  )  [protected]
 


Member Function Documentation

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

Reimplemented from vtkExtractUnstructuredGridPiece.

int vtkExtractUserDefinedPiece::IsTypeOf const char *  type  )  [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 *  type  )  [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.

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

Reimplemented from vtkExtractUnstructuredGridPiece.

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

References vtkObject::Modified(), and UserDefFunc.

void vtkExtractUserDefinedPiece::SetConstantData void *  data,
int  len
 

int vtkExtractUserDefinedPiece::GetConstantData void **  data  ) 
 

void vtkExtractUserDefinedPiece::Execute  )  [protected, virtual]
 

This method is the old style execute method

Reimplemented from vtkExtractUnstructuredGridPiece.

void vtkExtractUserDefinedPiece::ComputeCellTagsWithFunction vtkIntArray tags,
vtkIdList pointOwnership
[protected]
 


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