[vtkusers] vtkFXCanvas has bug.... faster version.
nagao saichi
nagao-saichi at jcom.home.ne.jp
Tue May 23 22:50:12 EDT 2017
Event position transrate, Y axis direction is reversed.
wrong position :
java.awt.event.MouseEvent event = new java.awt.event.MouseEvent(canvas3D,
button, System.currentTimeMillis(), modifiers,
(int)e.getX(), (int)e.getY(), e.getClickCount(), false);
correct position :
java.awt.event.MouseEvent event = new java.awt.event.MouseEvent(canvas3D,
button, System.currentTimeMillis(), modifiers,
(int)e.getX(), canvas3D.getHeight()-(int)e.getY(), e.getClickCount(),
false);
--
View this message in context: http://vtk.1045678.n5.nabble.com/VTK-and-JavaFX-tp5728083p5743377.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list