<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div id="ydp21734231yahoo_quoted_1109100788" class="ydp21734231yahoo_quoted"><br clear="none"><div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">/////////////////////////////////////////////////////////////////////////////////////////////////////<br clear="none"><div><div id="ydp21734231yiv0668781341"><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div class="ydp21734231yiv0668781341ydp8d726ca5yahoo_quoted" id="ydp21734231yiv0668781341ydp8d726ca5yahoo_quoted_1243820026"><div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;"><div><div dir="ltr"> // OPTION 1: Use this for a plain non-QT VTK window. The<br clear="none">Polygonalsurfaceinteractor works fine<br clear="none"> //vtkSmartPointer<vtkRenderWindow> renderWindow =<br clear="none"><div><div>vtkSmartPointer<vtkRenderWindow>::New();<br><div><br><span><span>Have you checked the class of the <span><span>renderWindow object </span></span><span>in comparison with <span>ui->widget->GetRenderWindow()?</span></span></span></span><br></div></div><div><div><br clear="none"><div>Have you tried<br clear="none"><span>vtkSmartPointer<vtkRenderWindow> renderWindow = vtkSmartPointer<vtkRenderWindow>::New();</span><br clear="none"></div></div><div><span>ui->widget->SetRenderWindow(<span>renderWindow</span>);<br clear="none"></span><span></span><div><br clear="none"></div></div></div></div><br clear="none"><div class="ydp21734231yiv0668781341ydp8d726ca5yqt5328613206" id="ydp21734231yiv0668781341ydp8d726ca5yqtfd93843">Todd<div class="ydp21734231yiv0668781341yqt8627149768" id="ydp21734231yiv0668781341yqtfd98139"><br clear="none"><br clear="none"><br clear="none">--<br clear="none">Sent from: <a shape="rect" href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html" rel="nofollow" target="_blank">http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html</a><br clear="none">_______________________________________________<br clear="none">Powered by www.kitware.com<br clear="none"><br clear="none">Visit other Kitware open-source projects at <a shape="rect" href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br clear="none"><br clear="none">Please keep messages on-topic and check the VTK FAQ at: <a shape="rect" href="http://www.vtk.org/Wiki/VTK_FAQ" rel="nofollow" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br clear="none"><br clear="none">Search the list archives at: <a shape="rect" href="http://markmail.org/search/?q=vtkusers" rel="nofollow" target="_blank">http://markmail.org/search/?q=vtkusers</a><br clear="none"><br clear="none">Follow this link to subscribe/unsubscribe:<br clear="none"><a shape="rect" href="https://public.kitware.com/mailman/listinfo/vtkusers" rel="nofollow" target="_blank">https://public.kitware.com/mailman/listinfo/vtkusers</a><br clear="none"></div></div></div></div><div class="ydp21734231yiv0668781341yqt8627149768" id="ydp21734231yiv0668781341yqtfd21805">
</div></div><div class="ydp21734231yiv0668781341yqt8627149768" id="ydp21734231yiv0668781341yqtfd37502">
</div></div></div></div></div></div>
</div>
</div></div></body></html>