<div dir="ltr">BTW, I've noticed you are using some SWT code. You should use the existing SWT component available in latest VTK.<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 14, 2013 at 9:32 AM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Are you using Java 6 from Apple or Java 7 from Oracle ?</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Aug 13, 2013 at 1:59 PM, 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>An update on this. I ported over some of my other Eclipse work and adapted it to VTK. It is pushed to my account on github and there is a writeup here: <a href="http://rkwright.github.io/geofx-pages/vtkview.html" target="_blank">http://rkwright.github.io/geofx-pages/vtkview.html</a>. There are 3 articles in there. The latest rev of the code is here: <a href="https://github.com/rkwright/vtkscene" target="_blank">https://github.com/rkwright/vtkscene</a> in the develop branch.</div>
<div><br></div><div>Mostly, it works great. However, when I tried the fifth cone example, which has the problematic vtkRenderWindowInteractor, I ran into similar problems as before. I instantiated it with a valid vtkPanel.RenderWindow but it still goes off into the ozone, sometimes crashing the native vtkOpenGL dylib.</div>
<div><br></div><div>I'm going to skip the interactor for now and move on to see if I run into more problems. If not, I can probably live without that widget but the problems there might be symptomatic of deeper problems on OSX 64 bit systems.</div>
<div><br></div><div>Any further suggestions would be welcome.</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">
<div><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>><br>
</div><span style="font-weight:bold">Subject: </span> Re: [vtkusers] VTK6 and Java Cone Example 5<br></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>
</div></div></blockquote></div><br></div>