<div dir="ltr">How recent is the VTK you tried with, there were significant changes made to this code in the past week?  Can you zip up a small example I could build and try?</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 18, 2018 at 1:31 PM, King, Franklin <span dir="ltr"><<a href="mailto:fking1@bwh.harvard.edu" target="_blank">fking1@bwh.harvard.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div id="m_6598976782273087807divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0;margin-bottom:0"></p>
<div>
<p style="margin-top:0;margin-bottom:0">Hi,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I've been attempting to run what is essentially this example of
<span>extracting visible cells using vtkHardwareSelector</span> (<a href="https://www.vtk.org/Wiki/VTK/Examples/Cxx/Filtering/ExtractVisibleCells" rel="noopener noreferrer" class="m_6598976782273087807x_OWAAutoLink" id="m_6598976782273087807LPlnk127696" target="_blank">https://www.vtk.org/Wiki/VTK/<wbr>Examples/Cxx/Filtering/<wbr>ExtractVisibleCells</a>)
 but with the render window displayed within a QVTKOpenGLWidge instead.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Doing so, however, results in the entire window failing to render and appearing black upon this line:</p>
<pre class="m_6598976782273087807x_de1">vtkSelection<span class="m_6598976782273087807x_sy2">*</span> selection <span class="m_6598976782273087807x_sy1">=</span> selector<span class="m_6598976782273087807x_sy2">-</span><span class="m_6598976782273087807x_sy1">></span>Select<span class="m_6598976782273087807x_br0">(</span><span class="m_6598976782273087807x_br0">)</span><span class="m_6598976782273087807x_sy4">;</span></pre>
<p style="margin-top:0;margin-bottom:0"><span>I've tried disabling multisampling with both QSurfaceFormat and vtkRenderWindow to no avail.</span><br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">The window does, however, briefly render correctly (and the selection appearing successful) upon resizing events. Curiously, with a debug build it also renders correctly upon calling Select() again.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I am using VTK 9 with Qt 5.10.1, and I've confirmed that there is no issue when implementing with just a vtkRenderWindow or using QVTKWidget in VTK 7. Any idea as to what is going wrong?</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Thanks,<br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
Franklin</div>
<p></p>
</div>
<p></p>

<p>The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" target="_blank">http://www.partners.org/<wbr>complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.</p></div>

<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Ken Martin PhD<div>Distinguished Engineer<br><span style="font-size:12.8px">Kitware Inc.</span><br></div><div>101 East Weaver Street<br>Carrboro, North Carolina<br>
27510 USA<br><br><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee.  Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message. 
Thank you.</span></div></div></div></div></div></div></div>
</div>