在编程中发现,以下两句得到的结果是不一样的:
qVTK->GetRenderWindow()->GetInteractor();
qVTK->GetInteractor();
前者得到的Interactor类型是vtkRenderWindowInteractor,后者得到的是QVTKInteractor。
转载于:https://blog.51cto.com/2845385/1052116
在编程中发现,以下两句得到的结果是不一样的:
qVTK->GetRenderWindow()->GetInteractor();
qVTK->GetInteractor();
前者得到的Interactor类型是vtkRenderWindowInteractor,后者得到的是QVTKInteractor。
转载于:https://blog.51cto.com/2845385/1052116