How to integrate python, vtk and C++ object ?
Skip Montanaro
skip at pobox.com
Mon Dec 15 10:33:44 EST 2003
YY> I need to integrate python, vtk and my own C++ object. Is it
YY> possible to do it by using python/C API ? Or there is a more
YY> efficient way to do it. Where can I find the examples taking about
YY> that ? Thanks in advance !!!
There is a VTK binding for Python which comes with the VTK source. There is
a pretty fabulous visualization tool called MayaVi which is written in
Python and uses that binding. You should be able to get some good ideas
from one or both sources. As for mixing in your own C++ objects, I'm sure
it can be done, but am not sure how. Check out Boost.Python and SWIG and
candidate tools for incorporating your classes into Python.
Skip
More information about the Python-list
mailing list