27 #ifndef __vtkProcessIdScalars_h
28 #define __vtkProcessIdScalars_h
30 #include "vtkFiltersParallelModule.h"
35 class vtkMultiProcessController;
43 void PrintSelf(ostream& os, vtkIndent indent);
57 vtkSetMacro(RandomMode,
int);
58 vtkGetMacro(RandomMode,
int);
59 vtkBooleanMacro(RandomMode,
int);
64 virtual void SetController(vtkMultiProcessController*);
65 vtkGetObjectMacro(Controller, vtkMultiProcessController);
75 vtkInformation *, vtkInformationVector **, vtkInformationVector *);
77 vtkIntArray *MakeProcessIdScalars(
int piece, vtkIdType numScalars);
78 vtkFloatArray *MakeRandomScalars(
int piece, vtkIdType numScalars);
80 vtkSetMacro(CellScalarsFlag,
int);
vtkMultiProcessController * Controller
Sets cell or point scalars to the processor rank.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void SetScalarModeToPointData()
void SetScalarModeToCellData()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce output of the same type as input.
static vtkDataSetAlgorithm * New()