Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkPieceScalars Class Reference

Sets all cell scalars from the update piece. More...

#include <vtkPieceScalars.h>

Inheritance diagram for vtkPieceScalars:

Inheritance graph
[legend]
Collaboration diagram for vtkPieceScalars:

Collaboration graph
[legend]
List of all members.

Public Methods

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

Static Public Methods

vtkPieceScalars * New ()
int IsTypeOf (const char *type)
vtkPieceScalars * SafeDownCast (vtkObject *o)

Protected Methods

 vtkPieceScalars ()
 ~vtkPieceScalars ()
void Execute ()
vtkIntArrayMakePieceScalars (int piece, vtkIdType numScalars)
vtkFloatArrayMakeRandomScalars (int piece, vtkIdType numScalars)
virtual void SetCellScalarsFlag (int)

Protected Attributes

int CellScalarsFlag
int RandomMode

Detailed Description

Sets all cell scalars from the update piece.

Date:
2001/10/11 13:38:00
Revision:
1.8

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

See also:
vtkPolyDataStreamer
Tests:
vtkPieceScalars (Tests)

Definition at line 61 of file vtkPieceScalars.h.


Constructor & Destructor Documentation

vtkPieceScalars::vtkPieceScalars   [protected]
 

vtkPieceScalars::~vtkPieceScalars   [protected]
 


Member Function Documentation

vtkPieceScalars* vtkPieceScalars::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkDataSetSource.

virtual const char* vtkPieceScalars::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetToDataSetFilter.

int vtkPieceScalars::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetToDataSetFilter.

virtual int vtkPieceScalars::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetToDataSetFilter.

vtkPieceScalars* vtkPieceScalars::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetToDataSetFilter.

void vtkPieceScalars::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 vtkSource.

void vtkPieceScalars::SetScalarModeToCellData   [inline]
 

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

Definition at line 72 of file vtkPieceScalars.h.

void vtkPieceScalars::SetScalarModeToPointData   [inline]
 

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

Definition at line 73 of file vtkPieceScalars.h.

int vtkPieceScalars::GetScalarMode   [inline]
 

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

Definition at line 74 of file vtkPieceScalars.h.

virtual void vtkPieceScalars::SetRandomMode int    [virtual]
 

virtual int vtkPieceScalars::GetRandomMode   [virtual]
 

virtual void vtkPieceScalars::RandomModeOn   [virtual]
 

virtual void vtkPieceScalars::RandomModeOff   [virtual]
 

void vtkPieceScalars::Execute   [protected, virtual]
 

This method is the old style execute method

Reimplemented from vtkSource.

vtkIntArray* vtkPieceScalars::MakePieceScalars int    piece,
vtkIdType    numScalars
[protected]
 

vtkFloatArray* vtkPieceScalars::MakeRandomScalars int    piece,
vtkIdType    numScalars
[protected]
 

virtual void vtkPieceScalars::SetCellScalarsFlag int    [protected, virtual]
 


Member Data Documentation

int vtkPieceScalars::CellScalarsFlag [protected]
 

Definition at line 95 of file vtkPieceScalars.h.

int vtkPieceScalars::RandomMode [protected]
 

Definition at line 96 of file vtkPieceScalars.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:38:50 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001