#include <vtkAssignAttribute.h>
Inheritance diagram for vtkAssignAttribute:
Public Types | |
enum | AttributeLocation { POINT_DATA = 0, CELL_DATA = 1 } |
Public Methods | |
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 Methods | |
int | IsTypeOf (const char *type) |
vtkAssignAttribute * | SafeDownCast (vtkObject *o) |
vtkAssignAttribute * | New () |
Protected Types | |
enum | FieldType { NAME, ATTRIBUTE } |
Protected Methods | |
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] |
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, vtkAttributeLocation::POINT_DATA);
aa->Assign(vtkDataSetAttributes::VECTORS, vtkDataSetAttributes::SCALARS, vtkAttributeLocation::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 97 of file vtkAssignAttribute.h.
|
Definition at line 121 of file vtkAssignAttribute.h. |
|
Definition at line 131 of file vtkAssignAttribute.h. |
|
|
|
|
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkDataSetToDataSetFilter. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. 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 vtkSource. |
|
Create a new vtkAssignAttribute. Reimplemented from vtkDataSetSource. |
|
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 143 of file vtkAssignAttribute.h. |
|
Definition at line 144 of file vtkAssignAttribute.h. |
|
Definition at line 145 of file vtkAssignAttribute.h. |
|
Definition at line 146 of file vtkAssignAttribute.h. |
|
Definition at line 147 of file vtkAssignAttribute.h. |
|
Definition at line 149 of file vtkAssignAttribute.h. |
|
Definition at line 150 of file vtkAssignAttribute.h. |