VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkProcessIdScalars Class Reference

Sets cell or point scalars to the processor rank. More...

#include <vtkProcessIdScalars.h>

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

List of all members.

Public Types

typedef vtkDataSetAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkProcessIdScalarsNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetRandomMode (int)
virtual int GetRandomMode ()
virtual void RandomModeOn ()
virtual void RandomModeOff ()
void SetScalarModeToCellData ()
void SetScalarModeToPointData ()
int GetScalarMode ()
virtual void SetController (vtkMultiProcessController *)
virtual vtkMultiProcessControllerGetController ()

Static Public Member Functions

static vtkProcessIdScalarsNew ()
static int IsTypeOf (const char *type)
static vtkProcessIdScalarsSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkProcessIdScalars ()
 ~vtkProcessIdScalars ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkIntArrayMakeProcessIdScalars (int piece, vtkIdType numScalars)
vtkFloatArrayMakeRandomScalars (int piece, vtkIdType numScalars)
virtual void SetCellScalarsFlag (int)

Protected Attributes

int CellScalarsFlag
int RandomMode
vtkMultiProcessControllerController

Detailed Description

Sets cell or point scalars to the processor rank.

vtkProcessIdScalars is meant to display which processor owns which cells and points. It is useful for visualizing the partitioning for streaming or distributed pipelines.

See also:
vtkPolyDataStreamer

Definition at line 37 of file vtkProcessIdScalars.h.


Member Typedef Documentation

Reimplemented from vtkDataSetAlgorithm.

Definition at line 42 of file vtkProcessIdScalars.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkDataSetAlgorithm.

static int vtkProcessIdScalars::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 vtkDataSetAlgorithm.

virtual int vtkProcessIdScalars::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 vtkDataSetAlgorithm.

Reimplemented from vtkDataSetAlgorithm.

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

Reimplemented from vtkDataSetAlgorithm.

Reimplemented from vtkDataSetAlgorithm.

void vtkProcessIdScalars::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 vtkDataSetAlgorithm.

Option to centerate cell scalars of points scalars. Default is point scalars.

Definition at line 48 of file vtkProcessIdScalars.h.

Option to centerate cell scalars of points scalars. Default is point scalars.

Definition at line 49 of file vtkProcessIdScalars.h.

Option to centerate cell scalars of points scalars. Default is point scalars.

Definition at line 50 of file vtkProcessIdScalars.h.

virtual void vtkProcessIdScalars::SetRandomMode ( int  ) [virtual]
virtual int vtkProcessIdScalars::GetRandomMode ( ) [virtual]
virtual void vtkProcessIdScalars::RandomModeOn ( ) [virtual]
virtual void vtkProcessIdScalars::RandomModeOff ( ) [virtual]

By defualt this filter uses the global controller, but this method can be used to set another instead.

By defualt this filter uses the global controller, but this method can be used to set another instead.

This is called within ProcessRequest when a request asks the algorithm to do its work. This is the method you should override to do whatever the algorithm is designed to do. This happens during the fourth pass in the pipeline execution process.

Reimplemented from vtkDataSetAlgorithm.

vtkIntArray* vtkProcessIdScalars::MakeProcessIdScalars ( int  piece,
vtkIdType  numScalars 
) [protected]
vtkFloatArray* vtkProcessIdScalars::MakeRandomScalars ( int  piece,
vtkIdType  numScalars 
) [protected]
virtual void vtkProcessIdScalars::SetCellScalarsFlag ( int  ) [protected, virtual]

Member Data Documentation

Definition at line 80 of file vtkProcessIdScalars.h.

Definition at line 82 of file vtkProcessIdScalars.h.

Definition at line 84 of file vtkProcessIdScalars.h.


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