I'd like to extend vtkActor with my own stuff in Python.
I cannot find the way to call the base class __init__
, it looks there is no __init__
.
Maybe the vtk/Python wrapping does not allow such a user specialization, the super
fails saying vtkActor
is not a type... hmmm...
how can I do something like :
class MyVtkActor(vtk.vtkActor):
def __init__(self,*args):
vtk.vtkActor.__init__(self,*args)
# my stuff here
?