50 #ifndef vtkRandomAttributeGenerator_h 51 #define vtkRandomAttributeGenerator_h 53 #include "vtkFiltersGeneralModule.h" 75 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);
274 vtkSetMacro(AttributesConstantPerBlock,
bool);
275 vtkGetMacro(AttributesConstantPerBlock,
bool);
276 vtkBooleanMacro(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,
vtkTypeBool GeneratePointScalars
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 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
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
void SetDataTypeToDouble()
Specify the type of array to create (all components of this array are of this type).