50 #ifndef vtkRandomAttributeGenerator_h 51 #define vtkRandomAttributeGenerator_h 53 #include "vtkFiltersGeneralModule.h" 76 vtkSetMacro(DataType,
int);
91 vtkGetMacro(DataType,
int);
101 vtkSetClampMacro(NumberOfComponents,
int, 1,
VTK_INT_MAX);
102 vtkGetMacro(NumberOfComponents,
int);
111 vtkSetMacro(MinimumComponentValue,
double);
112 vtkGetMacro(MinimumComponentValue,
double);
115 this->SetMinimumComponentValue(minimumValue);
116 this->SetMaximumComponentValue(maximumValue);
126 vtkSetMacro(MaximumComponentValue,
double);
127 vtkGetMacro(MaximumComponentValue,
double);
147 vtkBooleanMacro(GeneratePointScalars,
vtkTypeBool);
157 vtkBooleanMacro(GeneratePointVectors,
vtkTypeBool);
167 vtkBooleanMacro(GeneratePointNormals,
vtkTypeBool);
177 vtkBooleanMacro(GeneratePointTensors,
vtkTypeBool);
188 vtkBooleanMacro(GeneratePointTCoords,
vtkTypeBool);
284 vtkSetMacro(AttributesConstantPerBlock,
bool);
285 vtkGetMacro(AttributesConstantPerBlock,
bool);
286 vtkBooleanMacro(AttributesConstantPerBlock,
bool);
298 this->GeneratePointScalarsOn();
299 this->GeneratePointVectorsOn();
300 this->GeneratePointNormalsOn();
301 this->GeneratePointTCoordsOn();
302 this->GeneratePointTensorsOn();
303 this->GeneratePointArrayOn();
307 this->GeneratePointScalarsOff();
308 this->GeneratePointVectorsOff();
309 this->GeneratePointNormalsOff();
310 this->GeneratePointTCoordsOff();
311 this->GeneratePointTensorsOff();
312 this->GeneratePointArrayOff();
316 this->GenerateCellScalarsOn();
317 this->GenerateCellVectorsOn();
318 this->GenerateCellNormalsOn();
319 this->GenerateCellTCoordsOn();
320 this->GenerateCellTensorsOn();
321 this->GenerateCellArrayOn();
325 this->GenerateCellScalarsOff();
326 this->GenerateCellVectorsOff();
327 this->GenerateCellNormalsOff();
328 this->GenerateCellTCoordsOff();
329 this->GenerateCellTensorsOff();
330 this->GenerateCellArrayOff();
334 this->GenerateAllPointDataOn();
335 this->GenerateAllCellDataOn();
336 this->GenerateFieldArrayOn();
340 this->GenerateAllPointDataOff();
341 this->GenerateAllCellDataOff();
342 this->GenerateFieldArrayOff();
378 int maxComp,
double min,
double max);
382 void GenerateRandomTuples(
383 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
~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).