53 #ifndef vtkRandomAttributeGenerator_h
54 #define vtkRandomAttributeGenerator_h
56 #include "vtkFiltersGeneralModule.h"
79 vtkSetMacro(DataType,
int);
94 vtkGetMacro(DataType,
int);
104 vtkSetClampMacro(NumberOfComponents,
int, 1,
VTK_INT_MAX);
105 vtkGetMacro(NumberOfComponents,
int);
114 vtkSetMacro(MinimumComponentValue,
double);
115 vtkGetMacro(MinimumComponentValue,
double);
118 this->SetMinimumComponentValue(minimumValue);
119 this->SetMaximumComponentValue(maximumValue);
129 vtkSetMacro(MaximumComponentValue,
double);
130 vtkGetMacro(MaximumComponentValue,
double);
150 vtkBooleanMacro(GeneratePointScalars,
vtkTypeBool);
160 vtkBooleanMacro(GeneratePointVectors,
vtkTypeBool);
170 vtkBooleanMacro(GeneratePointNormals,
vtkTypeBool);
180 vtkBooleanMacro(GeneratePointTensors,
vtkTypeBool);
191 vtkBooleanMacro(GeneratePointTCoords,
vtkTypeBool);
287 vtkSetMacro(AttributesConstantPerBlock,
bool);
288 vtkGetMacro(AttributesConstantPerBlock,
bool);
289 vtkBooleanMacro(AttributesConstantPerBlock,
bool);
301 this->GeneratePointScalarsOn();
302 this->GeneratePointVectorsOn();
303 this->GeneratePointNormalsOn();
304 this->GeneratePointTCoordsOn();
305 this->GeneratePointTensorsOn();
306 this->GeneratePointArrayOn();
310 this->GeneratePointScalarsOff();
311 this->GeneratePointVectorsOff();
312 this->GeneratePointNormalsOff();
313 this->GeneratePointTCoordsOff();
314 this->GeneratePointTensorsOff();
315 this->GeneratePointArrayOff();
319 this->GenerateCellScalarsOn();
320 this->GenerateCellVectorsOn();
321 this->GenerateCellNormalsOn();
322 this->GenerateCellTCoordsOn();
323 this->GenerateCellTensorsOn();
324 this->GenerateCellArrayOn();
328 this->GenerateCellScalarsOff();
329 this->GenerateCellVectorsOff();
330 this->GenerateCellNormalsOff();
331 this->GenerateCellTCoordsOff();
332 this->GenerateCellTensorsOff();
333 this->GenerateCellArrayOff();
337 this->GenerateAllPointDataOn();
338 this->GenerateAllCellDataOn();
339 this->GenerateFieldArrayOn();
343 this->GenerateAllPointDataOff();
344 this->GenerateAllCellDataOff();
345 this->GenerateFieldArrayOff();
381 int maxComp,
double min,
double max);
385 void GenerateRandomTuples(
386 T*
data,
vtkIdType numTuples,
int numComp,
int minComp,
int maxComp,
double min,
double max);
vtkTypeBool GeneratePointScalars
void SetDataTypeToUnsignedLongLong()
Specify the type of array to create (all components of this array are of this type).
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
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 SetDataTypeToLongLong()
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.
void SetDataTypeToIdType()
Specify the type of array to create (all components of this array are of this type).
#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
#define VTK_UNSIGNED_LONG_LONG
void SetDataTypeToDouble()
Specify the type of array to create (all components of this array are of this type).