简体   繁体   English

使用Cmake将ITK和VTK包装到Python中

[英]ITK and VTK Wrapping into Python using Cmake

can we wrap all ITK and VTK files into Python by using cmake? 我们可以使用cmake将所有ITK和VTK文件包装到Python中吗? I need full functionalities and all header files to be imported into python. 我需要完整的功能并将所有头文件导入python。

Yes, there is Python wrapping available for ITK and VTK. 是的,有ITK和VTK可用的Python包装。 To install the wrapping, 要安装包装纸,

python -m pip install --upgrade pip python -m pip install itk vtk

For more information on the ITK Python wrapping and how it automatically exposes the full functionality of the header files, see the Wrapping section of the ITK Software Guide. 有关ITK Python包装及其如何自动显示头文件的全部功能的更多信息,请参见《 ITK软件指南》的“ 包装”部分。

To add your own Python wrapping for new ITK classes, see the section on ITK Modules and the ITK Module Template . 要为新的ITK类添加自己的Python包装,请参见“ ITK模块”和“ ITK模块模板”部分

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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