使用了新修改类vtkboxwidget2

网址如下:



I have a patch up on Gerrit that should address this issue:

http://review.source.kitware.com/#change,1206

修正了原版vtkboxwidget2 不能禁止旋转地问题

调试这个类得过程中遇到了 link2001 还有warning C4273的问题   最终问题在于

class  VTK_WIDGETS_EXPORT vtkBoxWidget2_new : public vtkAbstractWidget的宏定义VTK_WIDGETS_EXPORT上

http://www.vtk.org/pipermail/vtkusers/2005-September/081889.html 上说

The problem is that VTK_RENDERING_EXPORT only works for classes that are

built into vtkRendering.dll. (This is controlled by the definition of

vtkRendering_EXPORTS.)

 

所以类似的 就直接去掉VTK_WIDGETS_EXPORT即可调试成功,值得警惕。

posted on 2011-03-21 21:55  30斤大番薯  阅读(785)  评论(0编辑  收藏  举报