VTK
|
generate and create random data attributes More...
#include <vtkRandomAttributeGenerator.h>
Inherits vtkDataSetAlgorithm.
Public Types | |
typedef vtkDataSetAlgorithm | Superclass |
Static Public Member Functions | |
static vtkRandomAttributeGenerator * | New () |
static int | IsTypeOf (const char *type) |
static vtkRandomAttributeGenerator * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkRandomAttributeGenerator () | |
~vtkRandomAttributeGenerator () | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
vtkDataArray * | GenerateData (int dataType, vtkIdType numTuples, int numComp, int minComp, int maxComp, double min, double max) |
Protected Attributes | |
int | DataType |
int | NumberOfComponents |
vtkIdType | NumberOfTuples |
double | MinimumComponentValue |
double | MaximumComponentValue |
int | GeneratePointScalars |
int | GeneratePointVectors |
int | GeneratePointNormals |
int | GeneratePointTCoords |
int | GeneratePointTensors |
int | GeneratePointArray |
int | GenerateCellScalars |
int | GenerateCellVectors |
int | GenerateCellNormals |
int | GenerateCellTCoords |
int | GenerateCellTensors |
int | GenerateCellArray |
int | GenerateFieldArray |
generate and create random data attributes
vtkRandomAttributeGenerator is a filter that creates random attributes including scalars, vectors, normals, tensors, texture coordinates and/or general data arrays. These attributes can be generated as point data, cell data or general field data. The generation of each component is normalized between a user-specified minimum and maximum value.
This filter provides that capability to specify the data type of the attributes, the range for each of the components, and the number of components. Note, however, that this flexibility only goes so far because some attributes (e.g., normals, vectors and tensors) are fixed in the number of components, and in the case of normals and tensors, are constrained in the values that some of the components can take (i.e., normals have magnitude one, and tensors are symmetric).
Definition at line 55 of file vtkRandomAttributeGenerator.h.
typedef vtkDataSetAlgorithm vtkRandomAttributeGenerator::Superclass |
Definition at line 61 of file vtkRandomAttributeGenerator.h.
|
protected |
|
inlineprotected |
Definition at line 281 of file vtkRandomAttributeGenerator.h.
|
static |
Create instance with minimum speed 0.0, maximum speed 1.0.
|
static |
|
virtual |
|
static |
|
protectedvirtual |
vtkRandomAttributeGenerator* vtkRandomAttributeGenerator::NewInstance | ( | ) | const |
void vtkRandomAttributeGenerator::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Specify the type of array to create (all components of this array are of this type). This holds true for all arrays that are created.
|
inline |
Specify the type of array to create (all components of this array are of this type). This holds true for all arrays that are created.
Definition at line 68 of file vtkRandomAttributeGenerator.h.
|
inline |
Specify the type of array to create (all components of this array are of this type). This holds true for all arrays that are created.
Definition at line 69 of file vtkRandomAttributeGenerator.h.
|
inline |
Specify the type of array to create (all components of this array are of this type). This holds true for all arrays that are created.
Definition at line 70 of file vtkRandomAttributeGenerator.h.
|
inline |
Specify the type of array to create (all components of this array are of this type). This holds true for all arrays that are created.
Definition at line 71 of file vtkRandomAttributeGenerator.h.
|
inline |
Specify the type of array to create (all components of this array are of this type). This holds true for all arrays that are created.
Definition at line 72 of file vtkRandomAttributeGenerator.h.
|
inline |
Specify the type of array to create (all components of this array are of this type). This holds true for all arrays that are created.
Definition at line 73 of file vtkRandomAttributeGenerator.h.
|
inline |
Specify the type of array to create (all components of this array are of this type). This holds true for all arrays that are created.
Definition at line 74 of file vtkRandomAttributeGenerator.h.
|
inline |
Specify the type of array to create (all components of this array are of this type). This holds true for all arrays that are created.
Definition at line 75 of file vtkRandomAttributeGenerator.h.
|
inline |
Specify the type of array to create (all components of this array are of this type). This holds true for all arrays that are created.
Definition at line 76 of file vtkRandomAttributeGenerator.h.
|
inline |
Specify the type of array to create (all components of this array are of this type). This holds true for all arrays that are created.
Definition at line 77 of file vtkRandomAttributeGenerator.h.
|
inline |
Specify the type of array to create (all components of this array are of this type). This holds true for all arrays that are created.
Definition at line 78 of file vtkRandomAttributeGenerator.h.
|
virtual |
Specify the type of array to create (all components of this array are of this type). This holds true for all arrays that are created.
|
virtual |
Specify the number of components to generate. This value only applies to those attribute types that take a variable number of components. For example, a vector is only three components so the number of components is not applicable; whereas a scalar may support multiple, varying number of components.
|
virtual |
Specify the number of components to generate. This value only applies to those attribute types that take a variable number of components. For example, a vector is only three components so the number of components is not applicable; whereas a scalar may support multiple, varying number of components.
|
virtual |
Set the minimum component value. This applies to all data that is generated, although normals and tensors have internal constraints that must be observed.
|
virtual |
Set the minimum component value. This applies to all data that is generated, although normals and tensors have internal constraints that must be observed.
|
virtual |
Set the maximum component value. This applies to all data that is generated, although normals and tensors have internal constraints that must be observed.
|
virtual |
Set the maximum component value. This applies to all data that is generated, although normals and tensors have internal constraints that must be observed.
|
virtual |
Specify the number of tuples to generate. This value only applies when creating general field data. In all other cases (i.e., point data or cell data), the number of tuples is controlled by the number of points and cells, respectively.
|
virtual |
Specify the number of tuples to generate. This value only applies when creating general field data. In all other cases (i.e., point data or cell data), the number of tuples is controlled by the number of points and cells, respectively.
|
virtual |
Indicate that point scalars are to be generated. Note that the specified number of components is used to create the scalar.
|
virtual |
Indicate that point scalars are to be generated. Note that the specified number of components is used to create the scalar.
|
virtual |
Indicate that point scalars are to be generated. Note that the specified number of components is used to create the scalar.
|
virtual |
Indicate that point scalars are to be generated. Note that the specified number of components is used to create the scalar.
|
virtual |
Indicate that point vectors are to be generated. Note that the number of components is always equal to three.
|
virtual |
Indicate that point vectors are to be generated. Note that the number of components is always equal to three.
|
virtual |
Indicate that point vectors are to be generated. Note that the number of components is always equal to three.
|
virtual |
Indicate that point vectors are to be generated. Note that the number of components is always equal to three.
|
virtual |
Indicate that point normals are to be generated. Note that the number of components is always equal to three.
|
virtual |
Indicate that point normals are to be generated. Note that the number of components is always equal to three.
|
virtual |
Indicate that point normals are to be generated. Note that the number of components is always equal to three.
|
virtual |
Indicate that point normals are to be generated. Note that the number of components is always equal to three.
|
virtual |
Indicate that point tensors are to be generated. Note that the number of components is always equal to nine.
|
virtual |
Indicate that point tensors are to be generated. Note that the number of components is always equal to nine.
|
virtual |
Indicate that point tensors are to be generated. Note that the number of components is always equal to nine.
|
virtual |
Indicate that point tensors are to be generated. Note that the number of components is always equal to nine.
|
virtual |
Indicate that point texture coordinates are to be generated. Note that the specified number of components is used to create the texture coordinates (but must range between one and three).
|
virtual |
Indicate that point texture coordinates are to be generated. Note that the specified number of components is used to create the texture coordinates (but must range between one and three).
|
virtual |
Indicate that point texture coordinates are to be generated. Note that the specified number of components is used to create the texture coordinates (but must range between one and three).
|
virtual |
Indicate that point texture coordinates are to be generated. Note that the specified number of components is used to create the texture coordinates (but must range between one and three).
|
virtual |
Indicate that an arbitrary point array is to be generated. Note that the specified number of components is used to create the array.
|
virtual |
Indicate that an arbitrary point array is to be generated. Note that the specified number of components is used to create the array.
|
virtual |
Indicate that an arbitrary point array is to be generated. Note that the specified number of components is used to create the array.
|
virtual |
Indicate that an arbitrary point array is to be generated. Note that the specified number of components is used to create the array.
|
virtual |
Indicate that cell scalars are to be generated. Note that the specified number of components is used to create the scalar.
|
virtual |
Indicate that cell scalars are to be generated. Note that the specified number of components is used to create the scalar.
|
virtual |
Indicate that cell scalars are to be generated. Note that the specified number of components is used to create the scalar.
|
virtual |
Indicate that cell scalars are to be generated. Note that the specified number of components is used to create the scalar.
|
virtual |
Indicate that cell vectors are to be generated. Note that the number of components is always equal to three.
|
virtual |
Indicate that cell vectors are to be generated. Note that the number of components is always equal to three.
|
virtual |
Indicate that cell vectors are to be generated. Note that the number of components is always equal to three.
|
virtual |
Indicate that cell vectors are to be generated. Note that the number of components is always equal to three.
|
virtual |
Indicate that cell normals are to be generated. Note that the number of components is always equal to three.
|
virtual |
Indicate that cell normals are to be generated. Note that the number of components is always equal to three.
|
virtual |
Indicate that cell normals are to be generated. Note that the number of components is always equal to three.
|
virtual |
Indicate that cell normals are to be generated. Note that the number of components is always equal to three.
|
virtual |
Indicate that cell tensors are to be generated. Note that the number of components is always equal to nine.
|
virtual |
Indicate that cell tensors are to be generated. Note that the number of components is always equal to nine.
|
virtual |
Indicate that cell tensors are to be generated. Note that the number of components is always equal to nine.
|
virtual |
Indicate that cell tensors are to be generated. Note that the number of components is always equal to nine.
|
virtual |
Indicate that cell texture coordinates are to be generated. Note that the specified number of components is used to create the texture coordinates (but must range between one and three).
|
virtual |
Indicate that cell texture coordinates are to be generated. Note that the specified number of components is used to create the texture coordinates (but must range between one and three).
|
virtual |
Indicate that cell texture coordinates are to be generated. Note that the specified number of components is used to create the texture coordinates (but must range between one and three).
|
virtual |
Indicate that cell texture coordinates are to be generated. Note that the specified number of components is used to create the texture coordinates (but must range between one and three).
|
virtual |
Indicate that an arbitrary cell array is to be generated. Note that the specified number of components is used to create the array.
|
virtual |
Indicate that an arbitrary cell array is to be generated. Note that the specified number of components is used to create the array.
|
virtual |
Indicate that an arbitrary cell array is to be generated. Note that the specified number of components is used to create the array.
|
virtual |
Indicate that an arbitrary cell array is to be generated. Note that the specified number of components is used to create the array.
|
virtual |
Indicate that an arbitrary field data array is to be generated. Note that the specified number of components is used to create the scalar.
|
virtual |
Indicate that an arbitrary field data array is to be generated. Note that the specified number of components is used to create the scalar.
|
virtual |
Indicate that an arbitrary field data array is to be generated. Note that the specified number of components is used to create the scalar.
|
virtual |
Indicate that an arbitrary field data array is to be generated. Note that the specified number of components is used to create the scalar.
|
inline |
Convenience methods for generating data: all data, all point data, or all cell data. For example, if all data is enabled, then all point, cell and field data is generated. If all point data is enabled, then point scalars, vectors, normals, tensors, tcoords, and a data array are produced.
Definition at line 229 of file vtkRandomAttributeGenerator.h.
|
inline |
Convenience methods for generating data: all data, all point data, or all cell data. For example, if all data is enabled, then all point, cell and field data is generated. If all point data is enabled, then point scalars, vectors, normals, tensors, tcoords, and a data array are produced.
Definition at line 238 of file vtkRandomAttributeGenerator.h.
|
inline |
Convenience methods for generating data: all data, all point data, or all cell data. For example, if all data is enabled, then all point, cell and field data is generated. If all point data is enabled, then point scalars, vectors, normals, tensors, tcoords, and a data array are produced.
Definition at line 247 of file vtkRandomAttributeGenerator.h.
|
inline |
Convenience methods for generating data: all data, all point data, or all cell data. For example, if all data is enabled, then all point, cell and field data is generated. If all point data is enabled, then point scalars, vectors, normals, tensors, tcoords, and a data array are produced.
Definition at line 256 of file vtkRandomAttributeGenerator.h.
|
inline |
Convenience methods for generating data: all data, all point data, or all cell data. For example, if all data is enabled, then all point, cell and field data is generated. If all point data is enabled, then point scalars, vectors, normals, tensors, tcoords, and a data array are produced.
Definition at line 265 of file vtkRandomAttributeGenerator.h.
|
inline |
Convenience methods for generating data: all data, all point data, or all cell data. For example, if all data is enabled, then all point, cell and field data is generated. If all point data is enabled, then point scalars, vectors, normals, tensors, tcoords, and a data array are produced.
Definition at line 271 of file vtkRandomAttributeGenerator.h.
|
protectedvirtual |
|
protected |
|
protected |
Definition at line 285 of file vtkRandomAttributeGenerator.h.
|
protected |
Definition at line 286 of file vtkRandomAttributeGenerator.h.
|
protected |
Definition at line 287 of file vtkRandomAttributeGenerator.h.
|
protected |
Definition at line 288 of file vtkRandomAttributeGenerator.h.
|
protected |
Definition at line 289 of file vtkRandomAttributeGenerator.h.
|
protected |
Definition at line 291 of file vtkRandomAttributeGenerator.h.
|
protected |
Definition at line 292 of file vtkRandomAttributeGenerator.h.
|
protected |
Definition at line 293 of file vtkRandomAttributeGenerator.h.
|
protected |
Definition at line 294 of file vtkRandomAttributeGenerator.h.
|
protected |
Definition at line 295 of file vtkRandomAttributeGenerator.h.
|
protected |
Definition at line 296 of file vtkRandomAttributeGenerator.h.
|
protected |
Definition at line 298 of file vtkRandomAttributeGenerator.h.
|
protected |
Definition at line 299 of file vtkRandomAttributeGenerator.h.
|
protected |
Definition at line 300 of file vtkRandomAttributeGenerator.h.
|
protected |
Definition at line 301 of file vtkRandomAttributeGenerator.h.
|
protected |
Definition at line 302 of file vtkRandomAttributeGenerator.h.
|
protected |
Definition at line 303 of file vtkRandomAttributeGenerator.h.
|
protected |
Definition at line 305 of file vtkRandomAttributeGenerator.h.