<div dir="ltr">Thanks it works!<br><br>You need to add the renderer first before calling show().<br><br>Jothy<br><br><div class="gmail_quote">On Fri, Aug 19, 2011 at 5:00 PM, Clinton Stimpson <span dir="ltr">&lt;<a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On Friday, August 19, 2011 02:50:06 am Doria David wrote:<br>
&gt; Some strange behaviors occurs especially on QVTKWidget: when I show a<br>
&gt; QVTKWidget with a 3D volume, for example, the widget are<br>
&gt; shown transparent, showing the contents of the windows that are behind,<br>
&gt; for example a WordPad window until it is completely rendered. How can I<br>
&gt; avoid this strange behaviors ? (Ideally a black background instead of<br>
&gt; showing the contents of the windows that are behind) Thank you.<br>
<br>
</div></div>Can you do QVTKWidget::show(), a Render() to clear the background, then add<br>
the volume and render afterwards?  The background is disabled for QVTKWidget<br>
to avoid a flickering issue.<br>
<font color="#888888"><br>
--<br>
Clinton Stimpson<br>
Elemental Technologies, Inc<br>
Computational Simulation Software, LLC<br>
<a href="http://www.csimsoft.com" target="_blank">www.csimsoft.com</a><br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/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" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>