[vtkusers] SetWindowId

jalal sadeghi jalal.sadeghy at gmail.com
Sat Aug 2 03:43:54 EDT 2008


Hi

when  I create  window and  set its handle  to  a vtkrenderwindow  with
SetRenderwindowId it is not work  why?


 vtkRenderWindow* renWin=vtkRenderWindow::New();

 vtkRenderer* renderer=vtkRenderer::New();
 renWin->AddRenderer(renderer);

 vtkRenderWindowInteractor* interactor=vtkRenderWindowInteractor::New();

 renWin->SetInteractor(interactor);

 renWin->SetWindowId(g_Hwnd);


 renWin->Start();


thanks  all;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080802/eed0ceda/attachment.htm>


More information about the vtkusers mailing list