• David Gobbi's avatar
    15995: Implement C++ templates as Python modules. · 67eb4fc5
    David Gobbi authored
    The help() function was not working on wrapped class templates, so the
    PyVTKTemplate type has been re-imagined as a module that contains the
    instantiations of the template, since the help() function works with
    module docstrings. PyVTKTemplate still supports the mapping protocol
    as before, which allows lookup of the instantiated templates via the
    template arguments.
vtkWrapPythonTemplate.c 10.9 KB