53 #ifndef vtkRandomAttributeGenerator_h
54 #define vtkRandomAttributeGenerator_h
56 #include "vtkFiltersGeneralModule.h"
90 vtkGetMacro(DataType,
int);
100 vtkSetClampMacro(NumberOfComponents,
int,1,
VTK_INT_MAX);
101 vtkGetMacro(NumberOfComponents,
int);
111 vtkGetMacro(MinimumComponentValue,
double);
114 this->SetMinimumComponentValue (minimumValue);
115 this->SetMaximumComponentValue (maximumValue);
126 vtkGetMacro(MaximumComponentValue,
double);
145 vtkGetMacro(GeneratePointScalars,
int);
155 vtkGetMacro(GeneratePointVectors,
int);
165 vtkGetMacro(GeneratePointNormals,
int);
175 vtkGetMacro(GeneratePointTensors,
int);
186 vtkGetMacro(GeneratePointTCoords,
int);
196 vtkGetMacro(GeneratePointArray,
int);
206 vtkGetMacro(GenerateCellScalars,
int);
216 vtkGetMacro(GenerateCellVectors,
int);
226 vtkGetMacro(GenerateCellNormals,
int);
236 vtkGetMacro(GenerateCellTensors,
int);
247 vtkGetMacro(GenerateCellTCoords,
int);
257 vtkGetMacro(GenerateCellArray,
int);
267 vtkGetMacro(GenerateFieldArray,
int);
278 vtkGetMacro(AttributesConstantPerBlock,
bool);
292 this->GeneratePointScalarsOn();
293 this->GeneratePointVectorsOn();
294 this->GeneratePointNormalsOn();
295 this->GeneratePointTCoordsOn();
296 this->GeneratePointTensorsOn();
297 this->GeneratePointArrayOn();
301 this->GeneratePointScalarsOff();
302 this->GeneratePointVectorsOff();
303 this->GeneratePointNormalsOff();
304 this->GeneratePointTCoordsOff();
305 this->GeneratePointTensorsOff();
306 this->GeneratePointArrayOff();
310 this->GenerateCellScalarsOn();
311 this->GenerateCellVectorsOn();
312 this->GenerateCellNormalsOn();
313 this->GenerateCellTCoordsOn();
314 this->GenerateCellTensorsOn();
315 this->GenerateCellArrayOn();
319 this->GenerateCellScalarsOff();
320 this->GenerateCellVectorsOff();
321 this->GenerateCellNormalsOff();
322 this->GenerateCellTCoordsOff();
323 this->GenerateCellTensorsOff();
324 this->GenerateCellArrayOff();
328 this->GenerateAllPointDataOn();
329 this->GenerateAllCellDataOn();
330 this->GenerateFieldArrayOn();
334 this->GenerateAllPointDataOff();
335 this->GenerateAllCellDataOff();
336 this->GenerateFieldArrayOff();
373 int minComp,
int maxComp,
double min,
double max);
377 void GenerateRandomTuples(T *
data,