ENH: Allow special object constructors to convert arguments.
With this change to the python wrappers, special objects like vtkVariant can be automatically constructed in order to resolve method arguments. So vtkVariantArray.InsertNextValue(vtkVariant v) can take int, float, string, etc. and the vtkVariant will be constructed automatically. Only one level of conversion is allowed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment