enthought / enthought/mayavi

Deriving a tvtk wrapped vtk class

Open
#846 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
316
Avg merge
7h 44m
Merged PRs (30d)
5

Description

Hello,

I would like to derive a tvtk class wrapped from vtk (say tvtk.Filter) in order to override a method, as I would do for a pure python class but this is not possible here.
It seems this would require using the tvtk.VTKPythonAlgorithmBase class in collaboration with tvtk.Filter, but how to do it in such a way that the derived class has the same API as tvtk.Filter?
I tried multiple inheritance but it failed.

Antoine.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.