VTK
|
Sets all cell scalars from the update piece. More...
#include <vtkPieceScalars.h>
Public Types | |
typedef vtkDataSetAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPieceScalars * | NewInstance () 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 () |
Static Public Member Functions | |
static vtkPieceScalars * | New () |
static int | IsTypeOf (const char *type) |
static vtkPieceScalars * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPieceScalars () | |
~vtkPieceScalars () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
vtkIntArray * | MakePieceScalars (int piece, vtkIdType numScalars) |
vtkFloatArray * | MakeRandomScalars (int piece, vtkIdType numScalars) |
virtual void | SetCellScalarsFlag (int) |
Protected Attributes | |
int | CellScalarsFlag |
int | RandomMode |
Sets all cell scalars from the update piece.
vtkPieceScalars is meant to display which piece is being requested as scalar values. It is useful for visualizing the partitioning for streaming or distributed pipelines.
Definition at line 39 of file vtkPieceScalars.h.
Reimplemented from vtkDataSetAlgorithm.
Definition at line 44 of file vtkPieceScalars.h.
vtkPieceScalars::vtkPieceScalars | ( | ) | [protected] |
vtkPieceScalars::~vtkPieceScalars | ( | ) | [protected] |
static vtkPieceScalars* vtkPieceScalars::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDataSetAlgorithm.
static int vtkPieceScalars::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 vtkPieceScalars::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.
static vtkPieceScalars* vtkPieceScalars::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkDataSetAlgorithm.
virtual vtkObjectBase* vtkPieceScalars::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkDataSetAlgorithm.
vtkPieceScalars* vtkPieceScalars::NewInstance | ( | ) | const |
Reimplemented from vtkDataSetAlgorithm.
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 vtkDataSetAlgorithm.
void vtkPieceScalars::SetScalarModeToCellData | ( | ) | [inline] |
Option to centerate cell scalars of points scalars. Default is point scalars.
Definition at line 50 of file vtkPieceScalars.h.
void vtkPieceScalars::SetScalarModeToPointData | ( | ) | [inline] |
Option to centerate cell scalars of points scalars. Default is point scalars.
Definition at line 51 of file vtkPieceScalars.h.
int vtkPieceScalars::GetScalarMode | ( | ) | [inline] |
Option to centerate cell scalars of points scalars. Default is point scalars.
Definition at line 52 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] |
int vtkPieceScalars::RequestData | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [protected, virtual] |
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* vtkPieceScalars::MakePieceScalars | ( | int | piece, |
vtkIdType | numScalars | ||
) | [protected] |
vtkFloatArray* vtkPieceScalars::MakeRandomScalars | ( | int | piece, |
vtkIdType | numScalars | ||
) | [protected] |
virtual void vtkPieceScalars::SetCellScalarsFlag | ( | int | ) | [protected, virtual] |
int vtkPieceScalars::CellScalarsFlag [protected] |
Definition at line 72 of file vtkPieceScalars.h.
int vtkPieceScalars::RandomMode [protected] |
Definition at line 74 of file vtkPieceScalars.h.