[vtkusers] QVTKWidget and Interacting with Image
inglis.dl at gmail.com
Tue Oct 14 09:43:52 EDT 2014
can you post some of your source code showing how you set up the QVTKWidget with
the vtkImageViewer2, if you use that class? Have a look at the
documentation for vtkImageViewer2 as
well as the source code. I expect you may not be initializing the
viewer's render window correctly.
On Sat, Oct 11, 2014 at 1:39 PM, Nick Patterson <pattersonnp at gmail.com> wrote:
> VTK Users,
> I would like to take the example for visualising a DICOM series in VTK (http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ReadDICOMSeries) as outlined in the example I have linked to, but I want to render this within a QVTKWidget.
> I have quite happily rendered the DICOM series in a QVTKWidget and can scroll through the image slices using something like a QSlider widget. But I simply cannot determine a way to interact with the image in the same way as the example shows, effectively being able to scroll through the images use the mouse wheel.
> There seems to be a lack of documentation of how to interact with the rendered window with a QVTKWidget and I hoped that someone with experience of this can advise on how I can interact with the image (as per the example I linked to above) but when it is rendered within the QT widget.
> Regards, Nick.
> Powered by www.kitware.com
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
More information about the vtkusers