Section: Visualization Toolkit Graphics Classes
Field locations: DATA_OBJECT, POINT_DATA, CELL_DATA @endverbatim
To create an instance of class vtkMergeFields, simply invoke its constructor as follows
obj = vtkMergeFields
obj
is an instance of the vtkMergeFields class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkMergeFields = obj.NewInstance ()
vtkMergeFields = obj.SafeDownCast (vtkObject o)
obj.SetOutputField (string name, int fieldLoc)
- The output field will have the given name and it will be in
fieldLoc (the input fields also have to be in fieldLoc).
obj.SetOutputField (string name, string fieldLoc)
- Helper method used by the other language bindings. Allows the caller to
specify arguments as strings instead of enums.Returns an operation id
which can later be used to remove the operation.
obj.Merge (int component, string arrayName, int sourceComp)
- Add a component (arrayName,sourceComp) to the output field.
obj.SetNumberOfComponents (int )
- Set the number of the components in the output field.
This has to be set before execution. Default value is 0.
int = obj.GetNumberOfComponents ()
- Set the number of the components in the output field.
This has to be set before execution. Default value is 0.