52 #ifndef vtkRandomAttributeGenerator_h
53 #define vtkRandomAttributeGenerator_h
73 vtkSetMacro(DataType,
int);
85 vtkGetMacro(DataType,
int);
94 vtkSetClampMacro(NumberOfComponents,
int,1,
VTK_INT_MAX);
95 vtkGetMacro(NumberOfComponents,
int);
102 vtkSetMacro(MinimumComponentValue,
double);
103 vtkGetMacro(MinimumComponentValue,
double);
106 this->SetMinimumComponentValue (minimumValue);
107 this->SetMaximumComponentValue (maximumValue);
115 vtkSetMacro(MaximumComponentValue,
double);
116 vtkGetMacro(MaximumComponentValue,
double);
131 vtkSetMacro(GeneratePointScalars,
int);
132 vtkGetMacro(GeneratePointScalars,
int);
133 vtkBooleanMacro(GeneratePointScalars,
int);
139 vtkSetMacro(GeneratePointVectors,
int);
140 vtkGetMacro(GeneratePointVectors,
int);
141 vtkBooleanMacro(GeneratePointVectors,
int);
147 vtkSetMacro(GeneratePointNormals,
int);
148 vtkGetMacro(GeneratePointNormals,
int);
149 vtkBooleanMacro(GeneratePointNormals,
int);
155 vtkSetMacro(GeneratePointTensors,
int);
156 vtkGetMacro(GeneratePointTensors,
int);
157 vtkBooleanMacro(GeneratePointTensors,
int);
164 vtkSetMacro(GeneratePointTCoords,
int);
165 vtkGetMacro(GeneratePointTCoords,
int);
166 vtkBooleanMacro(GeneratePointTCoords,
int);
172 vtkSetMacro(GeneratePointArray,
int);
173 vtkGetMacro(GeneratePointArray,
int);
174 vtkBooleanMacro(GeneratePointArray,
int);
180 vtkSetMacro(GenerateCellScalars,
int);
181 vtkGetMacro(GenerateCellScalars,
int);
182 vtkBooleanMacro(GenerateCellScalars,
int);
188 vtkSetMacro(GenerateCellVectors,
int);
189 vtkGetMacro(GenerateCellVectors,
int);
190 vtkBooleanMacro(GenerateCellVectors,
int);
196 vtkSetMacro(GenerateCellNormals,
int);
197 vtkGetMacro(GenerateCellNormals,
int);
198 vtkBooleanMacro(GenerateCellNormals,
int);
204 vtkSetMacro(GenerateCellTensors,
int);
205 vtkGetMacro(GenerateCellTensors,
int);
206 vtkBooleanMacro(GenerateCellTensors,
int);
213 vtkSetMacro(GenerateCellTCoords,
int);
214 vtkGetMacro(GenerateCellTCoords,
int);
215 vtkBooleanMacro(GenerateCellTCoords,
int);
221 vtkSetMacro(GenerateCellArray,
int);
222 vtkGetMacro(GenerateCellArray,
int);
223 vtkBooleanMacro(GenerateCellArray,
int);
229 vtkSetMacro(GenerateFieldArray,
int);
230 vtkGetMacro(GenerateFieldArray,
int);
231 vtkBooleanMacro(GenerateFieldArray,
int);
237 vtkSetMacro(AttributesConstantPerBlock,
bool);
238 vtkGetMacro(AttributesConstantPerBlock,
bool);
239 vtkBooleanMacro(AttributesConstantPerBlock,
bool);
251 this->GeneratePointScalarsOn();
252 this->GeneratePointVectorsOn();
253 this->GeneratePointNormalsOn();
254 this->GeneratePointTCoordsOn();
255 this->GeneratePointTensorsOn();
256 this->GeneratePointArrayOn();
260 this->GeneratePointScalarsOff();
261 this->GeneratePointVectorsOff();
262 this->GeneratePointNormalsOff();
263 this->GeneratePointTCoordsOff();
264 this->GeneratePointTensorsOff();
265 this->GeneratePointArrayOff();
269 this->GenerateCellScalarsOn();
270 this->GenerateCellVectorsOn();
271 this->GenerateCellNormalsOn();
272 this->GenerateCellTCoordsOn();
273 this->GenerateCellTensorsOn();
274 this->GenerateCellArrayOn();
278 this->GenerateCellScalarsOff();
279 this->GenerateCellVectorsOff();
280 this->GenerateCellNormalsOff();
281 this->GenerateCellTCoordsOff();
282 this->GenerateCellTensorsOff();
283 this->GenerateCellArrayOff();
287 this->GenerateAllPointDataOn();
288 this->GenerateAllCellDataOn();
289 this->GenerateFieldArrayOn();
293 this->GenerateAllPointDataOff();
294 this->GenerateAllCellDataOff();
295 this->GenerateFieldArrayOff();
332 int minComp,
int maxComp,
double min,
double max);
336 void GenerateRandomTuples(T *
data,
#define VTK_UNSIGNED_SHORT
abstract class to specify dataset behavior
void SetDataTypeToUnsignedShort()
void GenerateAllPointDataOff()
void GenerateAllPointDataOn()
void GenerateAllCellDataOff()
double MinimumComponentValue
void GenerateAllDataOff()
abstract superclass for composite (multi-block or AMR) datasets
void SetDataTypeToUnsignedChar()
a simple class to control print indentation
abstract superclass for arrays of numeric data
void SetDataTypeToFloat()
#define VTKFILTERSGENERAL_EXPORT
double MaximumComponentValue
void SetDataTypeToUnsignedInt()
void SetDataTypeToUnsignedLong()
bool AttributesConstantPerBlock
#define VTK_UNSIGNED_CHAR
void GenerateAllCellDataOn()
#define VTK_UNSIGNED_LONG
generate and create random data attributes
void SetComponentRange(double minimumValue, double maximumValue)
void SetDataTypeToShort()
~vtkRandomAttributeGenerator()
void SetDataTypeToDouble()