python, vtk, C++

David Abrahams dave at boost-consulting.com
Wed Oct 1 01:03:36 CEST 2003


jjl at pobox.com (John J. Lee) writes:

> "Yi-Yu Chou" <chouyiyu at hotmail.com> writes:
>
>> I want to use python as my GUI to load a 3D volume (vtkImageData),
>> and use a pointer to pass this 3D image to my own C++ class.
>> My question is I don't know how to communicate between python and C++.
>> Any suggestion would be appreciated.
>
> Google.

I think I can be a little more helpful than that:

http://www.boost.org/libs/python
http://www.swig.org

HTH,
-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com




More information about the Python-list mailing list