osue80 at bangor.ac.uk
Sun Nov 16 15:49:20 EST 2008
I've put everything inside the edt and lo and behold it works, but now the
stop button is not recognized and if I try and shut the window nothing
Denis Barbier-5 wrote:
> On 2008/11/16 PsyVis wrote:
>> I'm really struggling to find out what I'm doing wrong here, but I'm
>> to animate a series of (720) .vtk files. I have a method that changes the
>> timeslice (changes the .vtk file) but the only thing that happens is that
>> crashes my whole app and the Java virtual machine.
>> Here is the code for the animation method that is run inside a thread
>> when a
>> start button is pressed.
> It's hard to investigate without having a self-contained example, but
> there is
> surely some threading issue. The changeTimeSlice method uses non-local
> variables, so when Render() is called in the EDT (event dispatching
> VTK pipeline may be modified by the main thread. You can run everything
> in the EDT to avoid threading issues, and if it solves your problem, you
> have to be very careful when moving processing out of the EDT.
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> Follow this link to subscribe/unsubscribe:
View this message in context: http://www.nabble.com/Animation-tp20524928p20529853.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers