<p dir="ltr">Hi Ric,</p>
<p dir="ltr">I would just like to encourage you in your efforts of using VTK with Java.</p>
<p dir="ltr">We are using VTK in a Java-based medical software of ours, to make some 3D reconstructions, and after some initial difficulties mainly caused by incomplete/missing/outdated documentation, we have been able to obtain satisfactory results, even thanks to the help received through this mailing list.</p>
<p dir="ltr">We are still experimenting with compatibility with different OS (for instance, VTK 6's rendering from Java seems to have issues with Java 7 on Mac, due to some changes introduced in the JAWT interface starting from Java 7, and not supported by VTK 6). We will have more information about this as our tests on different OS's will proceed.</p>
<p dir="ltr">We did not experiment much with VTK samples, so I am unable to help you on this specific topic.</p>
<p dir="ltr">Regards,</p>
<p dir="ltr">Marco<br>
</p>
<div class="gmail_quote">Il giorno 06/ago/2013 17:56, "Ric Wright" <<a href="mailto:rkwright@geofx.com">rkwright@geofx.com</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-size:14px;font-family:Verdana,sans-serif;word-wrap:break-word"><div>Seb,</div><div><br></div><div>Understood. Thanks for the info. I'll keep plugging away, at least for a little while and see how it works for me.</div>
<div><br></div><div>Thanks</div><div>Ric</div><div><br></div><div><br></div><span><div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none">
<span style="font-weight:bold">From: </span> Sebastien Jourdain <<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>><br><span style="font-weight:bold">Date: </span> Tuesday, August 6, 2013 9:35 AM<br>
<span style="font-weight:bold">To: </span> Ric Wright <<a href="mailto:rkwright@geofx.com" target="_blank">rkwright@geofx.com</a>><br><span style="font-weight:bold">Cc: </span> vtkusers <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><br>
<span style="font-weight:bold">Subject: </span> Re: [vtkusers] VTK6 and Java Cone Example 5<br></div><div><br></div><div dir="ltr">Hi Ric,<div><br></div><div>There is a real Java community among the VTK users, but it is way smaller than the C++ or Python one which make it often quiet on the mailing list. Moreover, as Java tends to bring less funding to Kitware to support it, we end up with out-dated documentation. Although the Java community does have some strong knowledge on how to use VTK with Java and use it in real projects. But for them it is not easy to give back what they spend time to acquired...</div>
<div><br></div><div>Seb</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 6, 2013 at 10:19 AM, Ric Wright <span dir="ltr"><<a href="mailto:rkwright@geofx.com" target="_blank">rkwright@geofx.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:14px;font-family:Verdana,sans-serif;word-wrap:break-word"><div>Thanks Sebastien. I'll take a look. BTW, none of the examples in Examples/Infovis/Java work either:</div>
<ul><li>HelloWorld.java draws some simple tree in B&W then crashes with the same threading error.</li><li>Trees.java works, but doesn't do anything. Simple white cross on the screen but nothing else. Not sure what it is SUPPOSED to do, but no tree appears that's for sure.</li>
<li>InfoVis.java won't compile because several breadthfirst.* methods can't be found.</li></ul><div>I'll keep poking, but I'm getting the sense that Java is a neglected child in the VTK world. Is it really used by any part of the VTK community? If so, who?</div>
<div><br></div><div>I wrote up my first impressions of VTK on my (little-used) blog.</div><div><br></div><div><a href="http://blogs.geofx.com" target="_blank">http://blogs.geofx.com</a>/</div><div><br></div><div>So my dilemma is continue to try to make VTK work (which will be a formidable learning curve, apparently) or go back to incrementally improving GMS, which I know DOES work. I'd rather use VTK, but don't want to tilt at windmills. So if I knew (and could exchange ideas) with others actually using Java and VTK for real work, I'd be a lot more confident.</div>
<div><br></div><div>Thanks</div><div>Ric</div><div><br></div><div><br></div><span><div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none">
<span style="font-weight:bold">From: </span> Sebastien Jourdain <<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>><br><span style="font-weight:bold">Date: </span> Tuesday, August 6, 2013 8:56 AM<br>
<span style="font-weight:bold">To: </span> Ric Wright <<a href="mailto:rkwright@geofx.com" target="_blank">rkwright@geofx.com</a>><br><span style="font-weight:bold">Cc: </span> Sean McBride <<a href="mailto:sean@rogue-research.com" target="_blank">sean@rogue-research.com</a>>, vtkusers <<a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a>><div>
<br><span style="font-weight:bold">Subject: </span> Re: [vtkusers] VTK6 and Java Cone Example 5<br></div></div><div><div><div><br></div><div dir="ltr">In Java you should use the Java specific classes anyway like vtkPanel/vtkCanvas or the new version of them used in the vtk.sample package of the vtk.jar...<div>
<br></div><div>The purpose of those example was to show the possible match between the different languages... </div><div><br></div><div>Nothing more I believe,</div><div><br></div><div>Seb</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Aug 6, 2013 at 8:52 AM, Ric Wright <span dir="ltr"><<a href="mailto:rkwright@geofx.com" target="_blank">rkwright@geofx.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ah, OK. Well, I don't know what to do here. Is this happening to others?<br>
Should I file a bug? Just try to work around it by not using<br>
RenderWindowInteractors (sounds kind of lame). Or?<br><br>
Suggestions?<br><br>
Thanks<br><span><font color="#888888">Ric<br></font></span><div><div><br><br>
On 8/5/13 4:15 PM, "Sean McBride" <<a href="mailto:sean@rogue-research.com" target="_blank">sean@rogue-research.com</a>> wrote:<br><br>
>On Mon, 5 Aug 2013 16:10:55 -0500, Ric Wright said:<br>
><br>
>>Well, a little playing around didn't seem to help, but I am frankly not<br>
>>an<br>
>>expert on threads. However, it seems to me that the source of the<br>
>>problem<br>
>>is that the vtkRenderWindowInteractor gets initialized then the start()<br>
>>method creates an event loop that is monitored by the<br>
>>vtkRenderWindowInteractor. I suspect that start() method spawns a new<br>
>>thread to listen to the events and it is the spawning of that thread that<br>
>>causes the exception.<br>
><br>
>VTK's Cocoa classes never create any threads.<br>
><br>
>Cheers,<br>
><br>
>--<br>
>____________________________________________________________<br>
>Sean McBride, B. Eng <a href="mailto:sean@rogue-research.com" target="_blank">sean@rogue-research.com</a><br>
>Rogue Research <a href="http://www.rogue-research.com" target="_blank">www.rogue-research.com</a><br>
>Mac Software Developer Montréal, Québec, Canada<br>
><br>
><br><br><br></div></div></blockquote></div><br></div></div></div></span></div></blockquote></div><br></div></span></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div>