[vtkusers] Java and VTK Jpanel and vtkRenderWindow

Mei, Longyu LMei at analogic.com
Tue Apr 17 13:59:04 EDT 2007


vtkPanel has defined some libraries to load and also some native methods.

Where can I find those header files generated by javah and their cpp implementations? 

-----Original Message-----
From: vtkusers-bounces+lmei=analogic.com at vtk.org [mailto:vtkusers-bounces+lmei=analogic.com at vtk.org] On Behalf Of Bernard Giroux
Sent: Sunday, April 15, 2007 5:19 PM
To: vtkusers at vtk.org
Subject: Re: [vtkusers] Java and VTK Jpanel and vtkRenderWindow

Mei, Longyu a écrit :
> Maybe we want to the same thing. I planned to use C++ version VTK in 
> my java GUI application by using Java JNI (Java Native Interface). I 
> have the same problem. I can launch the C++ VTK (example) from my java 
> application via JNI  but it is running in a separated VTK window. What 
> I want to do is embed the VTK window into a java JPanel/convase.
>  
> Sebastien Jourdain suggested using existing VTK java wrapper instead 
> of creating our own. I am still looking at this to see if it is what I 
> want. Maybe there are some differences between his suggestion and our goal.

Hi,

Have a look at vtkPanel...

Bernard

>  
> Please let me know if you get the answer. I will let you if I find the 
> solution.
>  
> James
> 
> ----------------------------------------------------------------------
> --
> *From:* vtkusers-bounces+lmei=analogic.com at vtk.org
> [mailto:vtkusers-bounces+lmei=analogic.com at vtk.org] *On Behalf Of 
> *Jose David Pfuturi Huisa
> *Sent:* Saturday, April 14, 2007 3:24 PM
> *To:* vtkusers at vtk.org
> *Subject:* [vtkusers] Java and VTK Jpanel and vtkRenderWindow
> 
> Hi everyone vtkusers
> i have a problem and i want that you help me please I am using java 
> with VTK, i can compile and run together but i need to show the window 
> of vtk within a window of java i.e Jpanel.
> That is to say i want to connect the class vtkRenderWindow with the 
> class Jpanel. Jpanel has to show the window of VTK when jpanel appears 
> thanks in advance José
> 
> ----------------------------------------------------------------------
> -- Acepta el reto MSN Premium: Envía hasta 500 megas diarios de fotos 
> desde Hotmail. Descárgalo y pruébalo 2 meses gratis.
> <http://g.msn.com/8HMAESES/2743??PS=47575>
> ****************************************************************
> The information transmitted in this message is confidential and may be 
> privileged. Any review, retransmission, dissemination, or other use of 
> this information by persons or entities other than the intended 
> recipient is prohibited. If you are not the intended recipient, please 
> notify Analogic Corporation immediately - by replying to this message 
> or by sending an email to DeliveryErrors at analogic.com - and destroy 
> all copies of this information, including any attachments, without 
> reading or disclosing them.
> 
> Thank you.
> 
> 
> ----------------------------------------------------------------------
> --
> 
> _______________________________________________
> 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


--
Bernard Giroux, ing., Ph.D.
Associé de recherche

http://geo.polymtl.ca/~giroux

****************************************************************
The information transmitted in this message is confidential and may be privileged.  Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited.  If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors at analogic.com - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.



More information about the vtkusers mailing list