[vtkusers] VTK+JAVA Crash in mouse events
Shyam Prakash
ramakrishna.prakash at quest-global.com
Tue Nov 18 06:52:22 EST 2003
Hello,
I had encountered this problem earlier too. The program
suddenly crashes in mouseMove, mouseDrag,mousePress or mouseRelease
events with a message similar to the message given below.
Current Java thread:
at vtk.vtkGenericRenderWindowInteractor.MouseMoveEvent_2(Native
Method)
at
vtk.vtkGenericRenderWindowInteractor.MouseMoveEvent(vtkGenericRenderWind
owInteractor.java:19)
at vtk.vtkCanvas.mouseDragged(vtkCanvas.java:209)
at java.awt.Component.processMouseMotionEvent(Component.java:5182)
at java.awt.Component.processEvent(Component.java:4935)
I am not sure what exactly could be the problem. I am using vtk 4.2.2 on
Windows2k with jdk 1.4.1_02. Attached is a sample code. When I run this
code, it often crashes in my machine when I rotate the model
vigorously(in combination with resizing the window). My gut feeling is
it could be because of the presence of vtkImplicitPlaneWidget. Is there
anyway I can avoid this?
Thanks
Shyam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20031118/0c0326d6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestLineAndPlane.java
Type: java/*
Size: 3475 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20031118/0c0326d6/attachment.bin>
More information about the vtkusers
mailing list