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

vtkProcessIdScalars Class Reference

#include <vtkProcessIdScalars.h>

Inheritance diagram for vtkProcessIdScalars:

Inheritance graph
[legend]
Collaboration diagram for vtkProcessIdScalars:

Collaboration graph
[legend]
List of all members.

Detailed Description

Sets all cell scalars from the update piece.

vtkProcessIdScalars is meant to display which piece is being requested as scalar values. It is usefull for visualizing the partitioning for streaming or distributed pipelines.

See also:
vtkPolyDataStreamer

Definition at line 36 of file vtkProcessIdScalars.h.

Public Types

typedef vtkDataSetAlgorithm Superclass

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

 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


Member Typedef Documentation

typedef vtkDataSetAlgorithm vtkProcessIdScalars::Superclass
 

Reimplemented from vtkDataSetAlgorithm.

Definition at line 41 of file vtkProcessIdScalars.h.


Constructor & Destructor Documentation

vtkProcessIdScalars::vtkProcessIdScalars  )  [protected]
 

vtkProcessIdScalars::~vtkProcessIdScalars  )  [protected]
 


Member Function Documentation

static vtkProcessIdScalars* vtkProcessIdScalars::New  )  [static]
 

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

Reimplemented from vtkDataSetAlgorithm.

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

Reimplemented from vtkDataSetAlgorithm.

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

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

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

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.

void vtkProcessIdScalars::SetScalarModeToCellData  )  [inline]
 

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

Definition at line 47 of file vtkProcessIdScalars.h.

void vtkProcessIdScalars::SetScalarModeToPointData  )  [inline]
 

Definition at line 48 of file vtkProcessIdScalars.h.

int vtkProcessIdScalars::GetScalarMode  )  [inline]
 

Definition at line 49 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]
 

virtual void vtkProcessIdScalars::SetController vtkMultiProcessController  )  [virtual]
 

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

virtual vtkMultiProcessController* vtkProcessIdScalars::GetController  )  [virtual]
 

int vtkProcessIdScalars::RequestData vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector
[protected, virtual]
 

This is called by the superclass. This is the method you should override.

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

int vtkProcessIdScalars::CellScalarsFlag [protected]
 

Definition at line 79 of file vtkProcessIdScalars.h.

int vtkProcessIdScalars::RandomMode [protected]
 

Definition at line 81 of file vtkProcessIdScalars.h.

vtkMultiProcessController* vtkProcessIdScalars::Controller [protected]
 

Definition at line 83 of file vtkProcessIdScalars.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 22 00:10:39 2008 for VTK by  doxygen 1.4.3-20050530