53 #ifndef vtkRandomAttributeGenerator_h 54 #define vtkRandomAttributeGenerator_h 56 #include "vtkFiltersGeneralModule.h" 78 vtkSetMacro(DataType,
int);
93 vtkGetMacro(DataType,
int);
103 vtkSetClampMacro(NumberOfComponents,
int,1,
VTK_INT_MAX);
104 vtkGetMacro(NumberOfComponents,
int);
113 vtkSetMacro(MinimumComponentValue,
double);
114 vtkGetMacro(MinimumComponentValue,
double);
117 this->SetMinimumComponentValue (minimumValue);
118 this->SetMaximumComponentValue (maximumValue);
128 vtkSetMacro(MaximumComponentValue,
double);
129 vtkGetMacro(MaximumComponentValue,
double);
280 vtkSetMacro(AttributesConstantPerBlock,
bool);
281 vtkGetMacro(AttributesConstantPerBlock,
bool);
282 vtkBooleanMacro(AttributesConstantPerBlock,
bool);
295 this->GeneratePointScalarsOn();
296 this->GeneratePointVectorsOn();
297 this->GeneratePointNormalsOn();
298 this->GeneratePointTCoordsOn();
299 this->GeneratePointTensorsOn();
300 this->GeneratePointArrayOn();
304 this->GeneratePointScalarsOff();
305 this->GeneratePointVectorsOff();
306 this->GeneratePointNormalsOff();
307 this->GeneratePointTCoordsOff();
308 this->GeneratePointTensorsOff();
309 this->GeneratePointArrayOff();
313 this->GenerateCellScalarsOn();
314 this->GenerateCellVectorsOn();
315 this->GenerateCellNormalsOn();
316 this->GenerateCellTCoordsOn();
317 this->GenerateCellTensorsOn();
318 this->GenerateCellArrayOn();
322 this->GenerateCellScalarsOff();
323 this->GenerateCellVectorsOff();
324 this->GenerateCellNormalsOff();
325 this->GenerateCellTCoordsOff();
326 this->GenerateCellTensorsOff();
327 this->GenerateCellArrayOff();
331 this->GenerateAllPointDataOn();
332 this->GenerateAllCellDataOn();
333 this->GenerateFieldArrayOn();
337 this->GenerateAllPointDataOff();
338 this->GenerateAllCellDataOff();
339 this->GenerateFieldArrayOff();
376 int minComp,
int maxComp,
double min,
double max);
380 void GenerateRandomTuples(T *
data,
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
~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 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).