[vtkusers] vtkInteractorStyle overrides fail to fire!
Nikhil Sharma
pingnikhil at yahoo.com
Tue Oct 3 08:50:17 EDT 2006
Hello,
I'm trying to implement custom mouse event handling for my 2D (image
actor) as follows. The image slice shows up fine but my event override
fails to fire! Anything I'm missing?
Regards,
A VTK Newbie.
class MyInteractorStyle extends vtkInteractorStyle {
public void OnLeftButtonDown() {
System.out.println("left button pressed");
}
}
// ...
myIS = new MyInteractorStyle();
rwi = new vtkRenderWindowInteractor();
rwi.SetInteractorStyle(myIS);
// ...
rwi.SetRenderWindow(renderWindow);
renderWindow.Render();
rwi.Start();
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the vtkusers
mailing list