Skip to content

Added ability to overwrite a VTK class with a Python subclass.

Berk Geveci requested to merge berkgeveci/vtk:overwrite-python-class into master

This ability supports the following:

def foo(vtk.vtkPoints):
  pass
vtk.vtkPoints.overwrite(foo)
o = vtk.vtkPoints() # o is actually an instace of foo

Using this, developers can add functionality to wrapped VTK classes that are Python specific.

Edited by Berk Geveci

Merge request reports