<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div id="ydp8d726ca5yahoo_quoted_1243820026" class="ydp8d726ca5yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;"><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><br clear="none"><div><div dir="ltr"><br clear="none">/////////////////////////////////////////////////////////////////////////////////////////////////////<br clear="none"> // 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>vtkSmartPointer<vtkRenderWindow>::New();<br><div><div><br><div>Have you tried<br><span>vtkSmartPointer<vtkRenderWindow> renderWindow = vtkSmartPointer<vtkRenderWindow>::New();</span><br></div></div><div><span>ui->widget->SetRenderWindow(<span>renderWindow</span>);<br></span><span></span><div><br clear="none"></div></div></div></div><br><div class="ydp8d726ca5yqt5328613206" id="ydp8d726ca5yqtfd93843">Todd<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></div></body></html>