[vtkusers] How to disable rotation

Yi-Yu Chou chouyiyu at hotmail.com
Thu Jul 1 16:29:41 EDT 2004


Dear vtk users,

Is it possible to disable rotation but keep pan and zoom alive ?
I know there is a simple way to do it, but not perfect.
You can use :
pane.bind("<ButtonPress-1>", lambda e: e)

This method works well. But after using pan or zoom, the interactor of 
rotation is "activated".
How to fix this problem ? Or there is a better way to do it. 
Thanks in advance !!!

_________________________________________________________________
現在就上 MSN 台灣網站:與親朋好友緊密聯繫,即時掌握新聞、財經、娛樂的最新訊
息 http://msn.com.tw 




More information about the vtkusers mailing list