[vtkusers] Change default mouse buttons
Max
smapersmaper at gmail.com
Thu May 23 02:36:10 EDT 2013
Hi mirko and thank you for your reply,
I did exactly what you wrote and still no luck.
the events are called but no dolly is performed.
In fact, after i change the interactor style, no handling events is
performs, no zoom, dolly etc, nothing...
Code fragment:
vtkRenderWindowInteractor inter = vtkRenderWindowInteractor.New();//
renderWindow.GetInteractor();
renderWindow.SetInteractor(inter);
interactorStyle = vtkInteractorStyle.New();//
inter.GetInteractorStyle();
inter.SetInteractorStyle(interactorStyle);
interactorStyle.LeftButtonPressEvt += new
vtkObject.vtkObjectEventHandler(rightButtonPressVtkEvt);
interactorStyle.LeftButtonReleaseEvt += new
vtkObject.vtkObjectEventHandler(rightButtonReleaseVtkEvt);
interactorStyle.SetInteractor(inter);
Maybe its a bug?
--
View this message in context: http://vtk.1045678.n5.nabble.com/Change-default-mouse-buttons-tp5720853p5720897.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list