VTK and Java
Randy Heiland
heiland at ncsa.uiuc.edu
Wed Jun 30 11:34:50 EDT 1999
On Jun 30, 7:16am, Audrius Stundzia wrote:
> Subject: Re: VTK and Java
> Dear vtker's
>
> As a javaphile, I've been somewhat frustrated by the Tcl-centric
> nature of vtk, and the problems with vtkPanel w.r.t. Swing,
> so I'll second Igor's Java question.
>
> One (heretical) approach I've used is to write a GUI in pure Java/Swing and
> have a simple set of JNI (Java Native Interface) calls to execute the vtk
> graphics C++ pipeline in a seperate thread.
>
> It's a bit like making sausages. It's not pretty,
> but the result can be surprisingly good :)
As a simple example of using Java Swing + VTK, I made available a pared down
version of an app I built awhile back:
http://www.ncsa.uiuc.edu/~heiland/vtk/{Viewer.java, VTKPanel.java}
However, this doesn't address Igor's concerns of converting vtkPanel into a
JFrame.
--Randy
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list