#include <vtkAssignAttribute.h>
Inheritance diagram for vtkAssignAttribute:
vtkAssignAttribute is use to label a field (vtkDataArray) as an attribute. A field name or an attribute to labeled can be specified. For example:
aa->Assign("foo", vtkDataSetAttributes::SCALARS, vtkAssignAttribute::POINT_DATA);
aa->Assign(vtkDataSetAttributes::VECTORS, vtkDataSetAttributes::SCALARS, vtkAssignAttribute::POINT_DATA);
aa Assign "foo" SCALARS POINT_DATA or aa Assign SCALARS VECTORS POINT_DATA AttributeTypes: SCALARS, VECTORS, NORMALS, TCOORDS, TENSORS Attribute locations: POINT_DATA, CELL_DATA
Definition at line 71 of file vtkAssignAttribute.h.
Public Types | |
typedef vtkDataSetAlgorithm | Superclass |
enum | AttributeLocation { POINT_DATA = 0, CELL_DATA = 1 } |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | Assign (int inputAttributeType, int attributeType, int attributeLoc) |
void | Assign (const char *fieldName, int attributeType, int attributeLoc) |
void | Assign (const char *name, const char *attributeType, const char *attributeLoc) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkAssignAttribute * | SafeDownCast (vtkObject *o) |
static vtkAssignAttribute * | New () |
Protected Types | |
enum | FieldType { NAME, ATTRIBUTE } |
Protected Member Functions | |
vtkAssignAttribute () | |
virtual | ~vtkAssignAttribute () |
int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
char * | FieldName |
int | FieldType |
int | AttributeType |
int | InputAttributeType |
int | AttributeLocation |
Static Protected Attributes | |
static char | AttributeLocationNames [2][12] |
static char | AttributeNames [vtkDataSetAttributes::NUM_ATTRIBUTES][10] |
|
Reimplemented from vtkDataSetAlgorithm. Definition at line 74 of file vtkAssignAttribute.h. |
|
Definition at line 95 of file vtkAssignAttribute.h. |
|
Definition at line 105 of file vtkAssignAttribute.h. |
|
|
|
|
|
Reimplemented from vtkDataSetAlgorithm. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkDataSetAlgorithm. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkDataSetAlgorithm. |
|
Reimplemented from vtkDataSetAlgorithm. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkDataSetAlgorithm. |
|
Create a new vtkAssignAttribute. Reimplemented from vtkDataSetAlgorithm. |
|
Label an attribute as another attribute. |
|
Label an array as an attribute. |
|
Helper method used by other language bindings. Allows the caller to specify arguments as strings instead of enums. |
|
This is called by the superclass. This is the method you should override. Reimplemented from vtkDataSetAlgorithm. |
|
This is called by the superclass. This is the method you should override. Reimplemented from vtkDataSetAlgorithm. |
|
Definition at line 118 of file vtkAssignAttribute.h. |
|
Definition at line 119 of file vtkAssignAttribute.h. |
|
Definition at line 120 of file vtkAssignAttribute.h. |
|
Definition at line 121 of file vtkAssignAttribute.h. |
|
Definition at line 122 of file vtkAssignAttribute.h. |
|
Definition at line 124 of file vtkAssignAttribute.h. |
|
Definition at line 125 of file vtkAssignAttribute.h. |