[vtkusers] Using GLJPanel with VTK

jonathan grimm flymolo at gmail.com
Tue Aug 7 13:34:06 EDT 2007


You could what GLJPanel is doing without using GLJPanel, if you have
offscreen rendering support in VTK.
GLJPanel renders offscreen then feeds the image to the lightweight
component.  You would then have to pass the interaction yourself, but the
code for that is in vtkInteractorPanel.  If you can't get offscreen
rendering support in VTK, I'm not sure where you would start actually
integrating GLJPanel.

On 8/7/07, Daniel Zuidinga <daniel.zuidinga at rwth-aachen.de> wrote:
>
> Can´t anybody help me?
>
> Daniel.Zuidinga at rwth-aachen.de schrieb:
> > Hello VTK-Users,
> >
> > i use the java wrappings of vtk and want to use a lightweight-swing
> component instead of the heavyweight vtkPanel which is derived from canvas
> (awt).
> >
> > What i know:
> > Java 1.6 implements GLJPanel as a lightweigt OpenGL widget. So there
> should be a solution to use this widget for the vtk-rendering context
> instead of the vtkPanel? It would be very useful to use this GLJPanel
> because it works smooth with Swing. Is it on the roadmap to use the GLJPanel
> with the java wrappings of VTK?
> >
> > If not, where should i start developing?
> >
> > The workaround to set my JMenus as a heavyweight component is no
> solution for me.
> >
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
Sometimes it's hard to tell the dancer from the dance - Corwin in CoC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070807/b8f7ba97/attachment.htm>


More information about the vtkusers mailing list