• David Gobbi's avatar
    ENH: Allow special object constructors to convert arguments. · 640aa0d6
    David Gobbi authored
    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.
    640aa0d6
vtkPythonUtil.cxx 75.1 KB