41 #ifndef vtkRandomAttributeGenerator_h
42 #define vtkRandomAttributeGenerator_h
44 #include "vtkFiltersGeneralModule.h"
47 VTK_ABI_NAMESPACE_BEGIN
72 vtkSetMacro(DataType,
int);
87 vtkGetMacro(DataType,
int);
97 vtkSetClampMacro(NumberOfComponents,
int, 1,
VTK_INT_MAX);
98 vtkGetMacro(NumberOfComponents,
int);
107 vtkSetMacro(MinimumComponentValue,
double);
108 vtkGetMacro(MinimumComponentValue,
double);
111 this->SetMinimumComponentValue(minimumValue);
112 this->SetMaximumComponentValue(maximumValue);
122 vtkSetMacro(MaximumComponentValue,
double);
123 vtkGetMacro(MaximumComponentValue,
double);
143 vtkBooleanMacro(GeneratePointScalars,
vtkTypeBool);
153 vtkBooleanMacro(GeneratePointVectors,
vtkTypeBool);
163 vtkBooleanMacro(GeneratePointNormals,
vtkTypeBool);
173 vtkBooleanMacro(GeneratePointTensors,
vtkTypeBool);
184 vtkBooleanMacro(GeneratePointTCoords,
vtkTypeBool);
280 vtkSetMacro(AttributesConstantPerBlock,
bool);
281 vtkGetMacro(AttributesConstantPerBlock,
bool);
282 vtkBooleanMacro(AttributesConstantPerBlock,
bool);
294 this->GeneratePointScalarsOn();
295 this->GeneratePointVectorsOn();
296 this->GeneratePointNormalsOn();
297 this->GeneratePointTCoordsOn();
298 this->GeneratePointTensorsOn();
299 this->GeneratePointArrayOn();
303 this->GeneratePointScalarsOff();
304 this->GeneratePointVectorsOff();
305 this->GeneratePointNormalsOff();
306 this->GeneratePointTCoordsOff();
307 this->GeneratePointTensorsOff();
308 this->GeneratePointArrayOff();
312 this->GenerateCellScalarsOn();
313 this->GenerateCellVectorsOn();
314 this->GenerateCellNormalsOn();
315 this->GenerateCellTCoordsOn();
316 this->GenerateCellTensorsOn();
317 this->GenerateCellArrayOn();
321 this->GenerateCellScalarsOff();
322 this->GenerateCellVectorsOff();
323 this->GenerateCellNormalsOff();
324 this->GenerateCellTCoordsOff();
325 this->GenerateCellTensorsOff();
326 this->GenerateCellArrayOff();
330 this->GenerateAllPointDataOn();
331 this->GenerateAllCellDataOn();
332 this->GenerateFieldArrayOn();
336 this->GenerateAllPointDataOff();
337 this->GenerateAllCellDataOff();
338 this->GenerateFieldArrayOff();
350 int NumberOfComponents = 1;
352 double MinimumComponentValue = 0.0;
353 double MaximumComponentValue = 1.0;
370 bool AttributesConstantPerBlock =
false;
377 int maxComp,
double min,
double max);
384 void GenerateRandomTuples(
385 T*
data,
vtkIdType numTuples,
int numComp,
int minComp,
int maxComp,
double min,
double max);
409 VTK_ABI_NAMESPACE_END
void SetDataTypeToUnsignedLongLong()
Specify the type of array to create (all components of this array are of this type).
represent and manipulate point attribute data
#define VTK_UNSIGNED_SHORT
abstract class to specify dataset behavior
A dataset containing a grid of vtkHyperTree instances arranged as a rectilinear grid.
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.
represent and manipulate cell attribute data
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.
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
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
void SetDataTypeToFloat()
Specify the type of array to create (all components of this array are of this type).
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).
#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).
#define VTK_UNSIGNED_LONG_LONG
void SetDataTypeToDouble()
Specify the type of array to create (all components of this array are of this type).
Represents and manipulates a collection of data arrays.