[vtkusers] VtkPanel.java, vtkCanvas.java

Sriharsha Sista sistaharsha at gmail.com
Thu Feb 15 13:11:15 EST 2007


As you said I did find the files in the VTK /Wrapping/Java/vtk folder.

So is there a way to add the functionality of these files (vtkPanel.java and
vtkCanvas.java) without doing the compiling of the whole source code from
the scratch?

Can you detail me on the process if there is one?

Thanks
--Sista

On 2/15/07, David Cole <david.cole at kitware.com> wrote:
>
> Or nearly so... The CMake option to turn on Java wrapping for VTK is
> called VTK_WRAP_JAVA.
>
> Cheers,
> David
>
>
> On 2/15/07, David Cole <david.cole at kitware.com> wrote:
> > That is correct... :-)
> >
> > On 2/15/07, Bartlomiej Wilkowski <wilku_83 at o2.pl> wrote:
> > > Ok sorry, you are right David. But you cant use them if you dont
> compile the
> > > VTK with the option VTK_JAVA _WRAP. Am I right?
> > >
> > > Bartek
> > >
> > >
> > > On 2/15/07, David Cole <david.cole at kitware.com> wrote:
> > > > The specific files asked about vtkPanel.java and vtkCanvas.java are
> > > > indeed found in the VTK source tree.
> > > >
> > > > Look in the directory:
> > > > VTK/Wrapping/Java/vtk
> > > >
> > > >
> > > > HTH,
> > > > David
> > > >
> > > >
> > > > On 2/14/07, Bartlomiej Wilkowski < wilku_83 at o2.pl> wrote:
> > > > > You will have the files after the compilation. The files will be
> then
> > > > > created. You will need some C++ compiler and CMake to do it.
> Follow this
> > > > > link: http://www.spinet.pl/~wilku/vtk-howto/
> > > > >
> > > > > I explained there almost everything.
> > > > >
> > > > > For sure without compilation you will not get nor the java files
> neither
> > > the
> > > > > vtk libraries.
> > > > >
> > > > > good luck
> > > > >
> > > > > Bartek
> > > > >
> > > > >
> > > > > On 2/14/07, Sriharsha Sista <sistaharsha at gmail.com> wrote:
> > > > > >
> > > > > >
> > > > > >
> > > > > > ---------- Forwarded message ----------
> > > > > > From: Sriharsha Sista < sistaharsha at gmail.com>
> > > > > > Date: Feb 14, 2007 3:32 PM
> > > > > > Subject: Re: [vtkusers] VtkPanel.java, vtkCanvas.java
> > > > > > To: Bernard Giroux < giroux at geo.polymtl.ca>
> > > > > >
> > > > > >
> > > > > > I guess compiling would be my next issue. But where could I get
> the
> > > files
> > > > > from?
> > > > > >
> > > > > > I do not find the java files in the source cd.
> > > > > >
> > > > > > --Sista
> > > > > >
> > > > > >
> > > > > > On 2/14/07, Bernard Giroux < giroux at geo.polymtl.ca > wrote:
> > > > > > > Sriharsha Sista a écrit :
> > > > > > > > What platform do you work on?
> > > > > > > >
> > > > > > > > I use windows XP and I already compiled VTK and it is up and
> > > running
> > > > > > > > with its Java wrapper. I found a few examples on the Java
> VTK web
> > > > > sites
> > > > > > > > that I shall need the vtkPanel.java and vtkCanvas.java and
> also
> > > that
> > > > > > > > they are not included in the vtk.jar.
> > > > > > >
> > > > > > > Hi Sista,
> > > > > > >
> > > > > > > I remember I built VTK/Java with MS Visual last year, and for
> some
> > > > > > > reason there were some files (among which vtkPanel.java ) that
> were
> > > not
> > > > > > > compiled.  I had to find the right target and ask the compiler
> to
> > > build
> > > > > > > it explicitly.
> > > > > > >
> > > > > > > >
> > > > > > > > Do you use any IDE?
> > > > > > > >
> > > > > > > > No I do not. I compile from command line
> > > > > > > >
> > > > > > > > Did you compile VTK?
> > > > > > > >
> > > > > > > > Yes i did and its up and running
> > > > > > > >
> > > > > > > >
> > > > > > > > Thanks for responding,
> > > > > > > > Sista
> > > > > > > >
> > > > > > > > On 2/14/07, *Bernard Giroux* < giroux at geo.polymtl.ca
> > > > > > >
> > > > > > > > <mailto: giroux at geo.polymtl.ca >> wrote:
> > > > > > > >
> > > > > > > >     Sriharsha Sista a écrit :
> > > > > > > >      > I was looking for vtkPanel.java and vtkCanvas.java to
> run a
> > > few
> > > > > Java
> > > > > > > >      > examples.  Can someone help me with a resource and
> also I
> > > shall
> > > > > > > >     need a
> > > > > > > >      > suggestion on how to bind it into vtk.jar
> > > > > > > >      >
> > > > > > > >     Hi,
> > > > > > > >
> > > > > > > >     What platform do you work on?
> > > > > > > >     Do you use any IDE?
> > > > > > > >     Did you compile VTK?
> > > > > > > >
> > > > > > > >      > Thanks,
> > > > > > > >      > Sista
> > > > > > > >      >
> > > > > > > >      >
> > > > > > > >      >
> > > > > > > >
> > > > >
> > >
> ------------------------------------------------------------------------
> > > > > > > >      >
> > > > > > > >      >
> > > > > _______________________________________________
> > > > > > > >      > 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
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Bernard Giroux, ing., Ph.D.
> > > > > > > Associé de recherche
> > > > > > >
> > > > > > > http://geo.polymtl.ca/~giroux
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > 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
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > 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
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070215/f6caf196/attachment.htm>


More information about the vtkusers mailing list