Images.

Vetle Roeim vetler at ifi.uio.no
Sun May 7 14:15:11 EDT 2000


on 2000-05-07, owner-vtkusers at public.kitware.com wrote:

> What is the best way for me to grab images from the screen? I tried using
> RenderWindow->SetImage("fname")
> RenderWindow->SaveImageAsPPM();
> 
> The problem with this is it was writing out partially drawn images.

perhaps your window was covered by other windows?
then you'll want vtkRenderWindow::SetOffScreenRendering().


vr

--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list