[vtkusers] Re: Nonblocking vtkRenderWindowInteractor // Win32
Nigel Nunn
nNunn at ausport.gov.au
Thu Jun 14 00:10:18 EDT 2001
> Anyway, is there no chance to allow a separated user
> interaction while running an interactor? How could I
> ever write an application with a graphical user interface
> that includes for example a vtkRenderWindow? Do I really
> have to rewrite the event loop?
Under Win32, you work with the message loop of the Win32
GUI thread. Calculate next data in secondary threads, then
send your GUI messages when you want to update the display.
pVtkView->SendMessage(NEXT_VTK_DATA, 0, 0);
This is MFC/WinNT... other OSs may do something similar.
Nigel
More information about the vtkusers
mailing list