[vtkusers] Exporting the render window contents as a PNG file

David Doria daviddoria+vtk at gmail.com
Tue Mar 30 09:02:13 EDT 2010


On Tue, Mar 30, 2010 at 7:46 AM, David E DeMarle
<dave.demarle at kitware.com> wrote:
> Try this:
> vtkRenderWindow -> vtkWindowToImageFilter -> vtkPNGWriter
>
> cheers,
>
> David E DeMarle

Here is an example of what David DeMarle said:

http://www.vtk.org/Wiki/VTK/Examples/Screenshot

Please have a look through
http://www.vtk.org/Wiki/VTK/Examples/

There is likely an example of anything you could be looking for!

Thanks,

David



More information about the vtkusers mailing list