[vtkusers] setSlice problem on QVTKWidget

David Doria daviddoria at gmail.com
Thu Sep 6 16:45:09 EDT 2012


On Thu, Sep 6, 2012 at 4:42 PM, Massi <Massinissa.Bandou at usherbrooke.ca>wrote:

> Hi David,
> I replaced them all (reader, imageViewer and myInteractorStyle) in the cpp
> file. According to this
> example:http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadDICOMSeries ,
> I just want to display the series on a QVTKWidget but the program crashes
> every time when I try to change the slice by pressing UP or Down. So I
> decided to replace all the smartpointers by normal pointers and it works.
> By the way, I'm using Netbeans IDE with Qt Designer integrated on it. I
> tried to keep the same code, but I added some in bold.
>

Please see: http://www.vtk.org/Wiki/VTK/MinimalExample

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.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120906/709a5501/attachment.htm>


More information about the vtkusers mailing list