compressed Manifold modes for mesh processing
https://github.com/tneumann/cmm
这篇论文作者 tneumann
Externel Dependencies
The code is written in Python 2.7 and requires at least
numpy
scipy
Additional dependencies are needed for some features:
mayavi + traits + vtk + tvtk + pyface (only for 3d visualization)
matplotlib (only for 2d visualization)
plac (only for "compute_cmm.py" and "export_cmm_dataset.sh")
joblib (only for "reproduce_fig14_functionalmaps.py")
scikits.sparse.cholmod (code runs without this library - needed only when you want to use the faster cholesky factorization)
installation on windows
Anaconda是一个不错python版本管理软件
Pycharm是一个不错的python IDE
这个是我在Pycharm中的project Interpreter
需要注意到是python 2.7 中 mayavi的安装
工具:python2.7
相关包:traits-4.6.0-cp27-cp27m-win32.whl, VTK-7.1.1-cp27-cp27m-win32.whl, mayavi-4.5.0+vtk71-cp27-cp27m-win32.whl
下载地址:http://www.lfd.uci.edu/~gohlke/pythonlibs/
安装前准备:
设置Python环境变量;
将相关包放置于Python安装目录的三方包文件夹中,我的是E:\Python2.7\Lib\site-packages;
win+r 输入cmd进入控制台,并进入上述目录中
安装wheel 包,pip install wheel
下载VCforpython 27.msi并安装
开始安装,安装顺序
1: pip install traits-4.6.0-cp27-cp27m-win32.whl
2: pip install VTK-7.1.1-cp27-cp27m-win32.whl
3: pip install mayavi-4.5.0+vtk71-cp27-cp27m-win32.whl
安装完成后进入Python,输入import mayavi.mlab,没有报错说明安装好了:
注意一:如果安装完成后出现 LinkError: DLL load failed: 找不到指定的模块。
1. 检查mayavi与vtk版本是否匹配
2. 重新下载vtk最新版本(与Python版本匹配)以及与该版本匹配的mayavi版本,并重新安装
注意二:安装过程中可能需要安装pyqt
pyqt4安装参考下面文档
http://blog.csdn.net/BurneAris/article/details/78218538