[vtkusers] Qt + VTK + Custom vtkInteractorStyle Subclass
torque at live.com
Thu Aug 28 08:21:56 EDT 2014
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.
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...
More information about the vtkusers