<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>

  
    
    <title></title>
  
    Sorry, it seems I clean up my code a bit too much.<br>
    <br>
    Corrected code attached to this email.<br>
    <br>
    Le 25/01/2011 13:37, Cyrille Faucheux a Ã©crit&nbsp;:
    <blockquote cite="mid:784893416.211858.1295959077366.JavaMail.root@mail20">
      <pre>Hello everyone,

I've got a small application that display a 3D stack of images in 3D 
with 3 orthogonal planes (vtkImagePlaneWidget), adaptated from some code 
from here : <a class="moz-txt-link-freetext" href="http://code.google.com/p/fw4spl/wiki/Tutorial6?wl=fr" target="_blank">http://code.google.com/p/fw4spl/wiki/Tutorial6?wl=fr</a>.

My code is using a vtkRenderWindow, and works as expected. Now I am 
trying to make it render into a QVTKWidget.

The rendering works fine, but when I click on a plane, I am supposed to 
be able to "drag" my plane in order to visualize the others slices. But 
right now, my application crashes as soon as I click on a plane, with an 
access violation from deep inside VTK.

I am compiling this code using Visual Studio 2010 in 32 bits on a 
Windows7 64bits, ITK 3.20.0 and VTK 5.6.1 compiled as static and Qt 
4.7.0 (that I compiled myself too).

My code (a bit simplified) is attached to this email. The type of images 
used by the application is a series of .bmp (no naming rule for the names).

Does somebody have an idea about what is going (I am doing?) wrong in my 
code?

Thanks in advance
Cyrille

</pre>
      <pre><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a>
</pre>
    </blockquote>
  </div></body></html>