displaying vtkActor2D with Java
Simon J. Rees
sjrees at okstate.edu
Thu Jan 13 10:29:35 EST 2000
One way of doing this with the vtkPanel in Java would be:
vtkPanel renPanel = new vtkPanel();
vtkScalarBarActor sb = new vtkScalarBarActor();
*
* rest of pipeline etc.
*
renPanel.getRenderer().AddActor2D(sb);
Regards,
sjr
ps. some earlier versions of vtk had the getRenderer method as
GetRenderer. Don't know why but you may need to check.
----- Original Message -----
From: Tobias Schößler <sime at online.de>
To: <vtkusers at gsao.med.ge.com>
Sent: Wednesday, January 12, 2000 6:51 PM
Subject: displaying vtkActor2D with Java
Does anybody know how to display a vtkActor2D with the Java port of vtk.
The vtkPanel does not support this. I tried to build a custom
vtkImageViewerPanel
but failed.
thanx Tobias Schößler
-----------------------------------------------------------------------------
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