简体   繁体   中英

Where can i find vtk documentation for python?

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

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)

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

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

On the VTK website you can find the VTK User's Guide . It is pretty thorough.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM