Hi Panos, <br><br>Would be great if you could submit a patch on gerrit for review.<br>See <a href="http://www.vtk.org/Wiki/VTK/Git#Gerrit">http://www.vtk.org/Wiki/VTK/Git#Gerrit</a><br><br>Thanks<br>Jc<br><br><div class="gmail_quote">

On Sun, Aug 14, 2011 at 4:15 PM, Panagiotis Mavrogiorgos <span dir="ltr"><<a href="mailto:pmav99@gmail.com">pmav99@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Hi everyone,<br><br>in QVTKRenderWindowInteractor class, on line 216 there is the ShowCursor method<br><br> <span style="font-family: courier new,monospace;">    def ShowCursor(self):</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">         """Shows the cursor."""</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">         vtk_cursor = self._Iren.GetRenderWindow().GetCurrentCursor()</span><br style="font-family: courier new,monospace;">


<span style="font-family: courier new,monospace;">         qt_cursor = self._CURSOR_MAP.get(vtk_cursor, QtCore.Qt.ArrowCursor)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">        self.setCursor(cursor)</span><br>


<br>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:<br><br><span style="font-family: courier new,monospace;">        self.setCursor(qt_cursor)</span><br>


<br>Should I open a bug ticket?<br><br>with regards, <br>Panos<br><br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br><br clear="all"><br>-- <br>+1 919 869 8849<br><br>