[vtkusers] vtk and python...
Juerg Tschirren
juerg-tschirren at uiowa.edu
Fri Aug 24 09:29:49 EDT 2001
vtk and Python work perfectly fine together. I am doing most of my vtk
stuff with Python.
Get the VTK source distribution. All the example directories contain a
subdirectory *Python, e.g., vtk3.2/graphics/examplesPython or
vtk3.2/imaging/examplesPython. That should get you started. In fact you
will notice that there are only very little differences between vtk C++
and vtk Python code. It is very easy to translate from one language to
another.
Make sure that you have the vtk Python libraries installed on your
system. Under Linux these are libVTKCommonPython.so,
libVTKContribPython.so, etc. Under Windows it's probably
libVTKCommonPython.dll, etc., but I am not sure about that.
For getting these libraries, use the --with-python flag with ./configure
when you build vtk from source.
hope that helps
Juerg
On Fri, 24 Aug 2001, Tanguy Vincent wrote:
> Hello,
>
> I'm a beginner in the use of vtk. I'd like to use vtk with python. It seems possible but I found tno exemples on the web.
>
> Has somebody tried to use vtk and Python ? What is your experience ? Does somebody know web sites dealing with this subject ?
>
> Tanguy
>
>
More information about the vtkusers
mailing list