[vtkusers] Activiz vtkRenderWindowInteractor SetRenderWindow

Andrej Gluhov realandron at gmail.com
Fri Jul 29 07:36:08 EDT 2011


Hello. I have problem with attaching window to intetactor.

if I attach window while RenderWindowControl is created all work fine. But
if I try change the window in interactor when they are already showing an
image I get an error "choose pixel format".

renWin.RemoveAllRenderers();

renWin.FinalizeWrapper();
renWin.AddRenderer(Renderer);
Interactor.SetRenderWindow(renWin);
Interactor.ReInitialize();
renWin.Start();

-- 
С Уважением,
Андрей.
Best regards, Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110729/df7ec9b3/attachment.htm>


More information about the vtkusers mailing list