Section: Visualization Toolkit Graphics Classes
To create an instance of class vtkConvertSelection, simply invoke its constructor as follows
obj = vtkConvertSelection
obj
is an instance of the vtkConvertSelection class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkConvertSelection = obj.NewInstance ()
vtkConvertSelection = obj.SafeDownCast (vtkObject o)
obj.SetDataObjectConnection (vtkAlgorithmOutput in)
- A convenience method for setting the second input (i.e. the data object).
obj.SetInputFieldType (int )
- The input field type.
If this is set to a number other than -1, ignores the input selection
field type and instead assumes that all selection nodes have the
field type specified.
This should be one of the constants defined in vtkSelectionNode.h.
Default is -1.
int = obj.GetInputFieldType ()
- The input field type.
If this is set to a number other than -1, ignores the input selection
field type and instead assumes that all selection nodes have the
field type specified.
This should be one of the constants defined in vtkSelectionNode.h.
Default is -1.
obj.SetOutputType (int )
- The output selection content type.
This should be one of the constants defined in vtkSelectionNode.h.
int = obj.GetOutputType ()
- The output selection content type.
This should be one of the constants defined in vtkSelectionNode.h.
obj.SetArrayName (string )
- The output array name for value or threshold selections.
string = obj.GetArrayName ()
- The output array name for value or threshold selections.
obj.SetArrayNames (vtkStringArray )
- The output array names for value selection.
vtkStringArray = obj.GetArrayNames ()
- The output array names for value selection.
obj.AddArrayName (string )
- Convenience methods used by UI
obj.ClearArrayNames ()
- Convenience methods used by UI
obj.SetMatchAnyValues (bool )
- When on, creates a separate selection node for each array.
Defaults to OFF.
bool = obj.GetMatchAnyValues ()
- When on, creates a separate selection node for each array.
Defaults to OFF.
obj.MatchAnyValuesOn ()
- When on, creates a separate selection node for each array.
Defaults to OFF.
obj.MatchAnyValuesOff ()
- When on, creates a separate selection node for each array.
Defaults to OFF.