Anders,<div><br></div><div>Add a call to w2if.Modified() after the renWin.Render() and before the lw.Write() calls.  The render window state has changed, but this is not reflected in the pipeline state. </div><div><br></div>
<div>- Wes<br><br><div class="gmail_quote">On Tue, Nov 10, 2009 at 9:19 AM, David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.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 class="im">On Tue, Nov 10, 2009 at 8:50 AM, Bill Lorensen &lt;<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt; wrote:<br>
&gt; How are you making the screen shots?<br>
<br>
<br>
</div>Here is an example that takes a screenshot every time you press the &#39;s&#39; key.<br>
<br>
<a href="http://www.rpi.edu/~doriad/VTK_List/KeyPressScreenshot/" target="_blank">http://www.rpi.edu/~doriad/VTK_List/KeyPressScreenshot/</a><br>
<br>
It&#39;s in c++ - I&#39;m not sure how helpful that will be for python?<br>
<br>
Thanks,<br>
<font color="#888888"><br>
David<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><br clear="all"><br>-- <br>Wesley D. Turner, Ph.D.<br>Kitware, Inc.<br>Technical Leader<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4920<br>
</div>