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

Luca Pamparana luca.pamparana at gmail.com
Tue Mar 30 16:59:11 EDT 2010


That's great! Thanks .

Luca

On Tue, Mar 30, 2010 at 2:02 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
> 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