53 #ifndef vtkRandomAttributeGenerator_h 54 #define vtkRandomAttributeGenerator_h 56 #include "vtkFiltersGeneralModule.h" 78 vtkSetMacro(DataType,
int);
90 vtkGetMacro(DataType,
int);
100 vtkSetClampMacro(NumberOfComponents,
int,1,
VTK_INT_MAX);
101 vtkGetMacro(NumberOfComponents,
int);
110 vtkSetMacro(MinimumComponentValue,
double);
111 vtkGetMacro(MinimumComponentValue,
double);
114 this->SetMinimumComponentValue (minimumValue);
115 this->SetMaximumComponentValue (maximumValue);
125 vtkSetMacro(MaximumComponentValue,
double);
126 vtkGetMacro(MaximumComponentValue,
double);
277 vtkSetMacro(AttributesConstantPerBlock,
bool);
278 vtkGetMacro(AttributesConstantPerBlock,
bool);
279 vtkBooleanMacro(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,
vtkTypeBool GeneratePointScalars
vtkTypeBool GenerateCellTensors
#define VTK_UNSIGNED_SHORT
abstract class to specify dataset behavior
vtkTypeBool GenerateCellTCoords
void SetDataTypeToUnsignedShort()
Specify the type of array to create (all components of this array are of this type).
void GenerateAllPointDataOff()
Convenience methods for generating data: all data, all point data, or all cell data.
vtkTypeBool GeneratePointVectors
vtkTypeBool GeneratePointTCoords
void SetDataTypeToLong()
Specify the type of array to create (all components of this array are of this type).
void GenerateAllPointDataOn()
Convenience methods for generating data: all data, all point data, or all cell data.
void GenerateAllCellDataOff()
Convenience methods for generating data: all data, all point data, or all cell data.
void GenerateAllDataOn()
Convenience methods for generating data: all data, all point data, or all cell data.
vtkTypeBool GenerateCellScalars
vtkTypeBool GeneratePointNormals
~vtkRandomAttributeGenerator() override
vtkTypeBool GenerateCellVectors
double MinimumComponentValue
void SetDataTypeToInt()
Specify the type of array to create (all components of this array are of this type).
void GenerateAllDataOff()
Convenience methods for generating data: all data, all point data, or all cell data.
abstract superclass for composite (multi-block or AMR) datasets
vtkTypeBool GeneratePointArray
void SetDataTypeToUnsignedChar()
Specify the type of array to create (all components of this array are of this type).
a simple class to control print indentation
abstract superclass for arrays of numeric data
vtkTypeBool GenerateFieldArray
void SetDataTypeToFloat()
Specify the type of array to create (all components of this array are of this type).
vtkTypeBool GenerateCellNormals
double MaximumComponentValue
void SetDataTypeToUnsignedInt()
Specify the type of array to create (all components of this array are of this type).
void SetDataTypeToUnsignedLong()
Specify the type of array to create (all components of this array are of this type).
bool AttributesConstantPerBlock
#define VTK_UNSIGNED_CHAR
void SetDataTypeToBit()
Specify the type of array to create (all components of this array are of this type).
void GenerateAllCellDataOn()
Convenience methods for generating data: all data, all point data, or all cell data.
#define VTK_UNSIGNED_LONG
generate and create random data attributes
void SetComponentRange(double minimumValue, double maximumValue)
Set the minimum component value.
void SetDataTypeToChar()
Specify the type of array to create (all components of this array are of this type).
void SetDataTypeToShort()
Specify the type of array to create (all components of this array are of this type).
vtkTypeBool GenerateCellArray
vtkTypeBool GeneratePointTensors
void SetDataTypeToDouble()
Specify the type of array to create (all components of this array are of this type).