#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 82 of file vtkAssignAttribute.h.
Public Types | |
typedef vtkDataSetToDataSetFilter | 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 | |
int | IsTypeOf (const char *type) |
vtkAssignAttribute * | SafeDownCast (vtkObject *o) |
vtkAssignAttribute * | New () |
Protected Types | |
enum | FieldType { NAME, ATTRIBUTE } |
Protected Member Functions | |
vtkAssignAttribute () | |
virtual | ~vtkAssignAttribute () |
void | Execute () |
Protected Attributes | |
char * | FieldName |
int | FieldType |
int | AttributeType |
int | InputAttributeType |
int | AttributeLocation |
Static Protected Attributes | |
char | AttributeLocationNames [2][12] |
char | AttributeNames [vtkDataSetAttributes::NUM_ATTRIBUTES][10] |
|
Reimplemented from vtkDataSetToDataSetFilter. Definition at line 85 of file vtkAssignAttribute.h. |
|
Definition at line 106 of file vtkAssignAttribute.h. |
|
Definition at line 116 of file vtkAssignAttribute.h. |
|
|
|
|
|
Reimplemented from vtkDataSetToDataSetFilter. |
|
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 vtkDataSetToDataSetFilter. |
|
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 vtkDataSetToDataSetFilter. |
|
Reimplemented from vtkDataSetToDataSetFilter. |
|
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 vtkDataSetToDataSetFilter. |
|
Create a new vtkAssignAttribute. Reimplemented from vtkAlgorithm. |
|
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 method is the old style execute method Reimplemented from vtkSource. |
|
Definition at line 128 of file vtkAssignAttribute.h. |
|
Definition at line 129 of file vtkAssignAttribute.h. |
|
Definition at line 130 of file vtkAssignAttribute.h. |
|
Definition at line 131 of file vtkAssignAttribute.h. |
|
Definition at line 132 of file vtkAssignAttribute.h. |
|
Definition at line 134 of file vtkAssignAttribute.h. |
|
Definition at line 135 of file vtkAssignAttribute.h. |