<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Sebastien,<br>
<br>
I tried your suggestions. <br>
<br>
1. Reinitialize the interactor in not solve the problem and also it
shows a separate vtkwindow.<br>
<br>
2. The class names are different. (<b>This may be the problem</b>)<br>
<br>
vCanvas.getIren().GetClassName() : vtkGenericRenderWindowInteractor<br>
<br>
iren.GetClassName() : vtkXRenderWindowInteractor<br>
<br>
Is it possible to change the RendererWindowInteractor of vtkCanvas.
If yes the how can I do that?<br>
<br>
Regards,<br>
Sathish<br>
<br>
On Friday 09 September 2011 03:39 PM, Sebastien Jourdain wrote:
<blockquote
cite="mid:CABObKxeyKi_b7n4AbX6d8xWNCFe3Fpv6LRh1jRwSHB_yLzUnWA@mail.gmail.com"
type="cite">
<pre wrap="">Hi Sathish,
It seems to me that the only difference between the 2 pieces of code
are the following lines.
</pre>
<blockquote type="cite">
<pre wrap="">iren.Initialize();
iren.Start();
</pre>
</blockquote>
<pre wrap="">
Did you tried to re-initialized the interactor ? Otherwise, make sure
that both interactor are exactly the same class. (iren.GetClassName())
Other than that, I have no clue...
Seb
On Fri, Sep 9, 2011 at 10:21 AM, Sathish Kumar <a class="moz-txt-link-rfc2396E" href="mailto:kingvsk@aol.com"><kingvsk@aol.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Sebastien,
Well. Thanks For your quick reply.
I made a mistake that, I used VTK Canvas. But in mail I wrongly mentioned it
as vtkPanel. Please see the code.
Regards,
Sathish
On Friday 09 September 2011 01:26 PM, Sebastien Jourdain wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
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<a class="moz-txt-link-rfc2396E" href="mailto:kingvsk@aol.com"><kingvsk@aol.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
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 <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
Visit other Kitware open-source projects at
<a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the VTK FAQ at:
<a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>
</pre>
</blockquote>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
</blockquote>
<br>
</body>
</html>