[vtkusers] Changing the mouse cursor?

Sean McBride sean at rogue-research.com
Wed Dec 24 14:19:37 EST 2008


On 15-Dec-08, at 7:36 AM, Karthik Krishnan wrote:

>> I managed to pick a point from my vtkImageViewer2. It would be more  
>> efficient if I can change the mouse cursor to "cross" so I can pick  
>> points more accurately. Does anyone know how to do this?
> vtkRenderWindow::SetCursor( VTK_CURSOR_CROSSHAIR );
>
> You'll need to use VTK CVS or VTK-5.2. (I think it made it to the  
> 5.2 release) since I added it recently.

Do you mean SetCurrentCursor()?
<http://www.vtk.org/doc/nightly/html/classvtkRenderWindow.html#e62e3227c8c1d255d0ad3b4d5ef28035 
 >

I notice that its not implemented in the Carbon and Cocoa  
RenderWindows.  Is there a bug open for that? I could probably do the  
Cocoa version if you'd like...

Sean




More information about the vtkusers mailing list