[vtkusers] VTK Animations with Java Swing
William E Lucarell
welucarell at equityeng.com
Fri Feb 22 08:38:41 EST 2008
I am developing a Java Swing application to animate 2D and 3D drawings. I
am embedding a JPanel which houses a vtkPanel. The vtkPanel is derived from
AWT component Canvas. However, my application is in Swing and I'd like to
automatically animate my application without any flickering of the image.
My application should be able to start, stop, and continue animations. What
would be the best way of going about this? Is it doable in Swing?
Here is some of the code that embeds the VTK drawing. The drawing renders
fine. I just want to be able to animate it. Note: vtkWindow is a JPanel
that I created in NetBeans:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers