[vtkusers] Qt + VTK + Custom vtkInteractorStyle Subclass

Christian Nassif-Haynes torque at live.com
Thu Aug 28 08:21:56 EDT 2014


Hi guys,

I've been trying to modify the  ReadDICOMSeries example
<http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadDICOMSeries>   to work with
Qt. The example works fine, but when I use a QVTKWidget, scrolling through
the slices also reorients the image. The slice is reoriented such that
higher slices appear closer or magnified compared to lower ones. The
rotation, contrast, or anything else don't seem to change
unexpectedly---just the magnification.

I've attached all my code, but the important part is this ( Pastebin link
here if you like syntax highlighting <http://pastebin.com/0PbST596> 
):myVtkInteractorStyleImage is the same class used in the example.

This is somewhat of a small problem in terms of aesthetics, but it shows a
lack of understanding on my part that I'd really like to clear up here.

Thanks!

Project.zip <http://vtk.1045678.n5.nabble.com/file/n5728481/Project.zip>  



--
View this message in context: http://vtk.1045678.n5.nabble.com/Qt-VTK-Custom-vtkInteractorStyle-Subclass-tp5728481.html
Sent from the VTK - Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140828/bd0ab329/attachment.html>


More information about the vtkusers mailing list