[vtkusers] changing cursor representation within qvtk?

Elvis Chen elvis.chen at gmail.com
Tue Oct 20 11:25:01 EDT 2015


hi all,

I am trying to change the mouse cursor representation. According to the
documentation, it can be done with vtkRenderWindow.

I have an application that uses qt and thus vtk rendering is done through a
qvtk widget. I issued the following command:


  qvtk->GetRenderWindow()->SetCurrentCursor( VTK_CURSOR_CROSSHAIR );
  qvtk->GetRenderWindow()->Render();

and yet nothing changes. The representation for the mouse remains the same.

Am I calling the function correctly?

Any help is very much appreciated,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151020/f93c1df7/attachment.html>


More information about the vtkusers mailing list