[vtkusers] Render Window output to vtkImageSource

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Wed Oct 24 13:28:05 EDT 2001


>>>>> "ES" == Erik Sobel <erik.sobel at alphatech.com> writes:

    ES> Does anyone know if there is a convenient way to convert the
    ES> contents of a vtkRenderWindow into a vtkImageSource.  I've
    ES> been saving the image to disk as a PPM file and then reading
    ES> it back in with a vtkPNMReader for my image source.  This
    ES> works but seems sort of foolish.

Look at the vtkWindowToImageFilter class.

prabhu



More information about the vtkusers mailing list