[vtk-developers] QVTKRenderWindowInteractor bug?

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Mon Aug 15 09:12:22 EDT 2011


Hi Panos,

Would be great if you could submit a patch on gerrit for review.
See http://www.vtk.org/Wiki/VTK/Git#Gerrit

Thanks
Jc

On Sun, Aug 14, 2011 at 4:15 PM, Panagiotis Mavrogiorgos
<pmav99 at gmail.com>wrote:

> Hi everyone,
>
> in QVTKRenderWindowInteractor class, on line 216 there is the ShowCursor
> method
>
>     def ShowCursor(self):
>          """Shows the cursor."""
>         vtk_cursor = self._Iren.GetRenderWindow().GetCurrentCursor()
>          qt_cursor = self._CURSOR_MAP.get(vtk_cursor,
> QtCore.Qt.ArrowCursor)
>         self.setCursor(cursor)
>
> I haven't run in any problems with it, but as I am writing an applications
> that embeds VTK in PyQt I was trying to gain better understanding of vtk
> internals by broswing its source code. As it is now, object "cursor" is not
> defined anywhere. Shouldn't the last line be something like this instead:
>
>         self.setCursor(qt_cursor)
>
> Should I open a bug ticket?
>
> with regards,
> Panos
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>


-- 
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110815/1ea929b3/attachment.html>


More information about the vtk-developers mailing list