[vtkusers] vtkusers Digest, Vol 48, Issue 29

Goodwin Lawlor goodwin.lawlor at ucd.ie
Mon Apr 28 09:15:04 EDT 2008


Hi Lu,

Try "renderer->InteractiveOff()"

hth

Goodwin

Yick Lu wrote:
> Hi, everyone,
> 
> I am trying to disable all mouse-click/key-press events for a 
> vtkRenderWindow. Can anybody tell me how to do this.
> 
> I tried renWin.GetInteractor().Disable(), but once this method is 
> called, the Interactor cannot render anymore!
> 
> In my project I have to  call renWin.GetInteractor().Render() again and 
> again to refresh the window. So how can I forbid mouse-click/key-press 
> events but allow render method?
> 
> Thanks in advance,
> 
> Lu Yi
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list