<div class="gmail_quote">On Thu, Sep 6, 2012 at 4:42 PM, Massi <span dir="ltr"><<a href="mailto:Massinissa.Bandou@usherbrooke.ca" target="_blank">Massinissa.Bandou@usherbrooke.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi David,<br>
I replaced them all (reader, imageViewer and myInteractorStyle) in the cpp<br>
file. According to this<br>
example:<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadDICOMSeries" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadDICOMSeries</a> ,<br>
I just want to display the series on a QVTKWidget but the program crashes<br>
every time when I try to change the slice by pressing UP or Down. So I<br>
decided to replace all the smartpointers by normal pointers and it works.<br>
By the way, I'm using Netbeans IDE with Qt Designer integrated on it. I<br>
tried to keep the same code, but I added some in bold.<br></blockquote><div><br></div>Please see: <a href="http://www.vtk.org/Wiki/VTK/MinimalExample">http://www.vtk.org/Wiki/VTK/MinimalExample</a></div><div class="gmail_quote">
<br></div><div class="gmail_quote">That code is not compilable (there are no includes), and there seems to be way more going on than is necessary to replicate the problem.<br clear="all"><br>David</div>