Fabio:<br><br>The interface is not provided yet, but is woefully in want of being extended. <br><br>Check if the following cursor shapes aren't enough for your purposes....<br><br> <a href="http://tronche.com/gui/x/xlib/pixmap-and-cursor/XCreateFontCursor.html">http://tronche.com/gui/x/xlib/pixmap-and-cursor/XCreateFontCursor.html</a><br>
<br>You'll also want to find equivalent ones <br><br><br>If so, you'll need to extend the #defines in vtkRenderWindow and in vtkXOpenGLRenderWindow.cxx, vtkWin32OpenGLRenderWindow.cxx and the OsX ones. <br><br>You could also create your pixmap cursors using XCreatePixmapCursor rather than use the existing ones provided by XCreateFontCursor, although I suspect X's extensive suite is enough for most needs.<br>
<br><br><b><a href="http://tronche.com/gui/x/xlib/pixmap-and-cursor/XCreatePixmapCursor.html"></a></b><br><div class="gmail_quote">On Tue, Mar 3, 2009 at 2:25 PM, Fabio Menegazzo <span dir="ltr"><<a href="mailto:menegazzo@esss.com.br">menegazzo@esss.com.br</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Is there any way to set a custom mouse cursor to the renderer (using<br>
SetCurrentCursor)?<br>
Today I am using only the vtkRenderWindow.VTK_CURSOR_* constants but<br>
the options there is not enough to me.<br>
<br>
Thanks in advance for any help.<br>
<br>
------------------------------------------------------------------------------------------<br>
Fabio Menegazzo<br>
Software Developer<br>
ESSS - Engineering Simulation and Scientific Software LTDA<br>
Phone: +55 (48) 3953-0030<br>
<a href="http://www.esss.com.br" target="_blank">www.esss.com.br</a><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>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Karthik Krishnan<br>R&D Engineer,<br>Kitware Inc.<br>Ph: 518 371 3971 x119<br>Fax: 518 371 3971<br>