50 #ifndef vtkRandomAttributeGenerator_h 51 #define vtkRandomAttributeGenerator_h 53 #include "vtkFiltersGeneralModule.h" 87 vtkGetMacro(DataType,
int);
97 vtkSetClampMacro(NumberOfComponents,
int,1,
VTK_INT_MAX);
98 vtkGetMacro(NumberOfComponents,
int);
108 vtkGetMacro(MinimumComponentValue,
double);
111 this->SetMinimumComponentValue (minimumValue);
112 this->SetMaximumComponentValue (maximumValue);
123 vtkGetMacro(MaximumComponentValue,
double);
142 vtkGetMacro(GeneratePointScalars,
int);
152 vtkGetMacro(GeneratePointVectors,
int);
162 vtkGetMacro(GeneratePointNormals,
int);
172 vtkGetMacro(GeneratePointTensors,
int);
183 vtkGetMacro(GeneratePointTCoords,
int);
193 vtkGetMacro(GeneratePointArray,
int);
203 vtkGetMacro(GenerateCellScalars,
int);
213 vtkGetMacro(GenerateCellVectors,
int);
223 vtkGetMacro(GenerateCellNormals,
int);
233 vtkGetMacro(GenerateCellTensors,
int);
244 vtkGetMacro(GenerateCellTCoords,
int);
254 vtkGetMacro(GenerateCellArray,
int);
264 vtkGetMacro(GenerateFieldArray,
int);
275 vtkGetMacro(AttributesConstantPerBlock,
bool);
289 this->GeneratePointScalarsOn();
290 this->GeneratePointVectorsOn();
291 this->GeneratePointNormalsOn();
292 this->GeneratePointTCoordsOn();
293 this->GeneratePointTensorsOn();
294 this->GeneratePointArrayOn();
298 this->GeneratePointScalarsOff();
299 this->GeneratePointVectorsOff();
300 this->GeneratePointNormalsOff();
301 this->GeneratePointTCoordsOff();
302 this->GeneratePointTensorsOff();
303 this->GeneratePointArrayOff();
307 this->GenerateCellScalarsOn();
308 this->GenerateCellVectorsOn();
309 this->GenerateCellNormalsOn();
310 this->GenerateCellTCoordsOn();
311 this->GenerateCellTensorsOn();
312 this->GenerateCellArrayOn();
316 this->GenerateCellScalarsOff();
317 this->GenerateCellVectorsOff();
318 this->GenerateCellNormalsOff();
319 this->GenerateCellTCoordsOff();
320 this->GenerateCellTensorsOff();
321 this->GenerateCellArrayOff();
325 this->GenerateAllPointDataOn();
326 this->GenerateAllCellDataOn();
327 this->GenerateFieldArrayOn();
331 this->GenerateAllPointDataOff();
332 this->GenerateAllCellDataOff();
333 this->GenerateFieldArrayOff();
370 int minComp,
int maxComp,
double min,
double max);
374 void GenerateRandomTuples(T *
data,
#define VTK_UNSIGNED_SHORT
abstract class to specify dataset behavior
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.
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.
~vtkRandomAttributeGenerator() override
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
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).
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).
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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).
void SetDataTypeToDouble()
Specify the type of array to create (all components of this array are of this type).