Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can i find vtk documentation for python?

Tags:

python

vtk

I am trying to use VTK from python. I tried to find and could not realy find anything on the web which can be used for documentation. I tried looking at the c++ documentation but the methods are very different.

Thanks a lot

like image 338
Shan Avatar asked Aug 03 '11 13:08

Shan


2 Answers

You could see the python examples at VTK's wiki. There is another resource by going to the official nightly documentation and looking for a particular class; in the section examples for many (not all) classes you can find implementations in python (also in c++ and tcl). A third option is to go to the source folder of your last downloaded release of VTK; look for the folder "Examples", there you will also find different VTK implementations in python (besides C++ and tcl)

like image 150
CodificandoBits Avatar answered Oct 15 '22 01:10

CodificandoBits


I recommend you use Mayavi and TVTK from Enthought, the API is much pythonic:

http://code.enthought.com/projects/mayavi/

like image 34
HYRY Avatar answered Oct 15 '22 03:10

HYRY