[vtkusers] How to set cursor Visiblilty off of vtkReSliceImageViewer

Kahei Lok lokkahei.uniyccc4 at gmail.com
Mon Sep 16 00:01:37 EDT 2013


Dear All,

  Hi! I am a beginner of VTK. In my project, I will display my dicom image
by vtkResliceImageViewer. Following the example QtVTKRenderWindows
https://github.com/Kitware/VTK/blob/master/Examples/GUI/Qt/FourPaneViewer/QtVTKRenderWindows.cxx

  I would like to set the cursor visbility off, or turn off the rotation by
mouse click. I tried several method, for example,
resliceImageViewer->getResliceCursorWidget()->setenabled(false);

  It is not working. I have tried several days, feeling frustrated. Does
anyone know the solution?

Cheers,
Ka Hei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130916/a20f1a27/attachment.htm>


More information about the vtkusers mailing list