Where can i find vtk documentation for python?

早过忘川 提交于 2019-12-06 17:12:23

问题


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


回答1:


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)




回答2:


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

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




回答3:


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



来源:https://stackoverflow.com/questions/6927352/where-can-i-find-vtk-documentation-for-python

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!