[vtkusers] How to use 3D Mouse inside VTKPanel?

Sebastien Jourdain sebastien.jourdain at kitware.com
Fri Sep 9 03:56:33 EDT 2011


Hi Sathish,

I'm glad to see my new Java API used for loading the library.
You should be able to fix your issue by using the vtkCanvas instead of
the vtkPanel.
In fact only the vtkCanvas provide you access to the interactor which
seems needed in your case to make your 3d mouse work.

Seb

On Fri, Sep 9, 2011 at 9:38 AM, Sathish Kumar <kingvsk at aol.com> wrote:
> Hi,
>
> I tested 3D Mouse with VTK, which works fine with vtkinteractorwindow. But
> with VTKPanel it won't work.
> Both working and non-working sources are attached. And also how to get the
> 3D Mouse Points.
>
> VTK Version : 5.8.0 with Java Wrapper.
> Java Version : Sun Java 1.6.0_22
> Operating System: LinuxMint-Release 10 (Julia).
>
> Thanks in advance...
>
> Regards,
> Sathish
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>



More information about the vtkusers mailing list