[vtkusers] python wrapping

Joël Schaerer joel.schaerer at creatis.insa-lyon.fr
Mon Jun 25 09:26:42 EDT 2007


Hi all,

I've been using python with vtkpython to write my app and so far I'm
very satisfied. For speed reasons I'm rewriting a few portions as C++
classes and wrapping them with the VTK_WRAP_PYTHON CMake command. The
only problem I have is that I can't exchange complex types between c++
and python (say, a numpy array...)

Is there a way to do that? Has anybody done it before? What is the
correct way to exchange complex data between c++ and python?

Thanks!

joel




More information about the vtkusers mailing list