[vtkusers] Writing renderwindow to an image

Mathieu Malaterre mmalat at imaging.robarts.ca
Thu Jul 4 11:11:30 EDT 2002


Hi Carlos,
   Why don't you use : vtkWindowToImageFilter.
See:
http://public.kitware.com/VTK/doc/nightly/html/classvtkWindowToImageFilter.html

mathieu

Carlos Martínez Burgos wrote:

> Hi all.
>
> I'm working with Java and I have to make reports with the contents of
> VTK's renderwindow. I need to do a copy from the renderwindow to an array
> of bytes, to build the image and show it.
>
> Has somebody any idea of doing this? Could somebody help me?
>
> Thanks.
>
> --
> ----------------------------------------------------------------------
> Carlos Martínez Burgos      |     Instituto Tecnológico de Informática
> Ingeniero Informático       |      Universidad Politécnica de Valencia
> Tlf: +34 963877237          |                        Camí de Vera, S/N
> cmarbur at iti.upv.es          |                   46071 Valencia - Spain
> www.iti.upv.es/~cmarbur     |                           www.iti.upv.es
> ----------------------------------------------------------------------
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

--
Malaterre, Mathieu
The John P. Robarts Research Institute
Imaging Research Laboratories
http://www.imaging.robarts.ca/~mmalat






More information about the vtkusers mailing list