VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkProcessIdScalars Class Reference

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

#include <vtkProcessIdScalars.h>

Inherits vtkDataSetAlgorithm.

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 vtkMultiProcessController * GetController ()
 

Static Public Member Functions

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

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkProcessIdScalars ()
 
 ~vtkProcessIdScalars ()
 
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
vtkIntArray * MakeProcessIdScalars (int piece, vtkIdType numScalars)
 
vtkFloatArray * MakeRandomScalars (int piece, vtkIdType numScalars)
 
virtual void SetCellScalarsFlag (int)
 

Protected Attributes

int CellScalarsFlag
 
int RandomMode
 
vtkMultiProcessController * Controller
 

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

typedef vtkDataSetAlgorithm vtkProcessIdScalars::Superclass

Definition at line 42 of file vtkProcessIdScalars.h.

Constructor & Destructor Documentation

vtkProcessIdScalars::vtkProcessIdScalars ( )
protected
vtkProcessIdScalars::~vtkProcessIdScalars ( )
protected

Member Function Documentation

static vtkProcessIdScalars* vtkProcessIdScalars::New ( )
static
static int vtkProcessIdScalars::IsTypeOf ( const char *  type)
static
virtual int vtkProcessIdScalars::IsA ( const char *  type)
virtual
static vtkProcessIdScalars* vtkProcessIdScalars::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkProcessIdScalars::NewInstanceInternal ( ) const
protectedvirtual
vtkProcessIdScalars* vtkProcessIdScalars::NewInstance ( ) const
void vtkProcessIdScalars::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
void vtkProcessIdScalars::SetScalarModeToCellData ( )
inline

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

Definition at line 48 of file vtkProcessIdScalars.h.

void vtkProcessIdScalars::SetScalarModeToPointData ( )
inline

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

Definition at line 49 of file vtkProcessIdScalars.h.

int vtkProcessIdScalars::GetScalarMode ( )
inline

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

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

int vtkProcessIdScalars::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protected
vtkIntArray* vtkProcessIdScalars::MakeProcessIdScalars ( int  piece,
vtkIdType  numScalars 
)
protected
vtkFloatArray* vtkProcessIdScalars::MakeRandomScalars ( int  piece,
vtkIdType  numScalars 
)
protected
virtual void vtkProcessIdScalars::SetCellScalarsFlag ( int  )
protectedvirtual

Member Data Documentation

int vtkProcessIdScalars::CellScalarsFlag
protected

Definition at line 80 of file vtkProcessIdScalars.h.

int vtkProcessIdScalars::RandomMode
protected

Definition at line 82 of file vtkProcessIdScalars.h.

vtkMultiProcessController* vtkProcessIdScalars::Controller
protected

Definition at line 84 of file vtkProcessIdScalars.h.


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