30 #ifndef __vtkPieceScalars_h
31 #define __vtkPieceScalars_h
33 #include "vtkFiltersParallelModule.h"
34 #include "vtkDataSetAlgorithm.h"
45 void PrintSelf(ostream& os, vtkIndent indent);
58 vtkSetMacro(RandomMode,
int);
59 vtkGetMacro(RandomMode,
int);
60 vtkBooleanMacro(RandomMode,
int);
67 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
69 vtkIntArray *MakePieceScalars(
int piece, vtkIdType numScalars);
70 vtkFloatArray *MakeRandomScalars(
int piece, vtkIdType numScalars);
72 vtkSetMacro(CellScalarsFlag,
int);
void SetScalarModeToCellData()
Sets all cell scalars from the update piece.
void SetScalarModeToPointData()