Hi @jcfr, sounds great. Could you explain the technicalities a bit?
Do you mean that any python app using VTK with that template would link dynamically to the main VTK cpython library, and would be able to operate with objects from proper VTK python wrappings (import vtk
)?
In my recent experience, I have used VTK/ITK internally, and exposed my own wrappings of a few VTK objects when needed. The problem of course is that my_wrapped_vtk_image
is not binary compatible with the same VTK object from import vtk
. So I have used bridge functions in pure python (usually via numpy
) to convert between these.
Just trying to understand better, I like the idea of course.