41 #ifndef vtkRandomAttributeGenerator_h
42 #define vtkRandomAttributeGenerator_h
44 #include "vtkFiltersGeneralModule.h"
47 VTK_ABI_NAMESPACE_BEGIN
68 vtkSetMacro(DataType,
int);
83 vtkGetMacro(DataType,
int);
93 vtkSetClampMacro(NumberOfComponents,
int, 1,
VTK_INT_MAX);
94 vtkGetMacro(NumberOfComponents,
int);
103 vtkSetMacro(MinimumComponentValue,
double);
104 vtkGetMacro(MinimumComponentValue,
double);
107 this->SetMinimumComponentValue(minimumValue);
108 this->SetMaximumComponentValue(maximumValue);
118 vtkSetMacro(MaximumComponentValue,
double);
119 vtkGetMacro(MaximumComponentValue,
double);
139 vtkBooleanMacro(GeneratePointScalars,
vtkTypeBool);
149 vtkBooleanMacro(GeneratePointVectors,
vtkTypeBool);
159 vtkBooleanMacro(GeneratePointNormals,
vtkTypeBool);
169 vtkBooleanMacro(GeneratePointTensors,
vtkTypeBool);
180 vtkBooleanMacro(GeneratePointTCoords,
vtkTypeBool);
276 vtkSetMacro(AttributesConstantPerBlock,
bool);
277 vtkGetMacro(AttributesConstantPerBlock,
bool);
278 vtkBooleanMacro(AttributesConstantPerBlock,
bool);
290 this->GeneratePointScalarsOn();
291 this->GeneratePointVectorsOn();
292 this->GeneratePointNormalsOn();
293 this->GeneratePointTCoordsOn();
294 this->GeneratePointTensorsOn();
295 this->GeneratePointArrayOn();
299 this->GeneratePointScalarsOff();
300 this->GeneratePointVectorsOff();
301 this->GeneratePointNormalsOff();
302 this->GeneratePointTCoordsOff();
303 this->GeneratePointTensorsOff();
304 this->GeneratePointArrayOff();
308 this->GenerateCellScalarsOn();
309 this->GenerateCellVectorsOn();
310 this->GenerateCellNormalsOn();
311 this->GenerateCellTCoordsOn();
312 this->GenerateCellTensorsOn();
313 this->GenerateCellArrayOn();
317 this->GenerateCellScalarsOff();
318 this->GenerateCellVectorsOff();
319 this->GenerateCellNormalsOff();
320 this->GenerateCellTCoordsOff();
321 this->GenerateCellTensorsOff();
322 this->GenerateCellArrayOff();
326 this->GenerateAllPointDataOn();
327 this->GenerateAllCellDataOn();
328 this->GenerateFieldArrayOn();
332 this->GenerateAllPointDataOff();
333 this->GenerateAllCellDataOff();
334 this->GenerateFieldArrayOff();
370 int maxComp,
double min,
double max);
374 void GenerateRandomTuples(
375 T*
data,
vtkIdType numTuples,
int numComp,
int minComp,
int maxComp,
double min,
double max);
382 VTK_ABI_NAMESPACE_END
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).