[vtkusers] Mouse cursor resetting itself after call to SetCurrentCursor

Sarah Macumber S.Macumber at QuestReliability.com
Tue Sep 9 17:06:04 EDT 2008


Hi, 

 

I am having difficulty with setting the mouse cursor on the
vtkRenderWindow in Dot Net. The cursor changes but then it is
immediately reset back to the default.

 

GraphicsWindowRenderWindow.SetCurrentCursor(4);

 

Does anyone know why the cursor would be reset?  It is still reset even
with the following code added :

 

vtkObserverMediator om = GraphicsWindowInteractor.GetObserverMediator();

om.SetInteractor(GraphicsWindowInteractor);

om.RemoveAllCursorShapeRequests((vtkInteractorObserver)GraphicsWindowInt
eractorStyle);

int i = om.RequestCursorShape(GraphicsWindowInteractorStyle, 4);

 

Thanks in advance,

Sarah

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080909/3a9d7382/attachment.htm>


More information about the vtkusers mailing list