[vtkusers] vtkImageWriter not writing what I see on the screen?

Wes Turner wes.turner at kitware.com
Tue Nov 10 09:28:31 EST 2009


Anders,

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.

- Wes

On Tue, Nov 10, 2009 at 9:19 AM, David Doria
<daviddoria+vtk at gmail.com<daviddoria%2Bvtk at gmail.com>
> wrote:

> On Tue, Nov 10, 2009 at 8:50 AM, Bill Lorensen <bill.lorensen at gmail.com>
> wrote:
> > How are you making the screen shots?
>
>
> Here is an example that takes a screenshot every time you press the 's'
> key.
>
> http://www.rpi.edu/~doriad/VTK_List/KeyPressScreenshot/
>
> It's in c++ - I'm not sure how helpful that will be for python?
>
> Thanks,
>
> David
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
Wesley D. Turner, Ph.D.
Kitware, Inc.
Technical Leader
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4920
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091110/a606be93/attachment.htm>


More information about the vtkusers mailing list