[vtkusers] Writing Pictures

Jorrit Schaap jorrit at lkeb.azl.nl
Wed Jan 3 03:40:36 EST 2001


There's a better solution.

make a vtkWin32OffscreenRenderWindow (in the contrib directory).
Get the vtkRenderer from your current vtkRenderWindow and attach it to the
new offscreenrenderwindow.
attach the new offscreenrenderwindow to the vtkWindowToImageFilter. The rest
remains the same.

Good luck, Jorrit


>
>
> hi,
>
> >>>>> "Christian" == Christian Pfaffel <flash at itp.tu-graz.ac.at> writes:
>
> <snip>
>     Christian> when I try to write pictures and a window/taskbar is on
>     Christian> top of the renderwindow I get the window/taskbar on the
>     Christian> picture as well. I use code like this (iren is a
> <snip>
>
> Yeah, this happens (I dont know why) and the easiest solution is to
> "raise" the render window before you write it to an image.
>
> prabhu


--
Jorrit Schaap
Division of Image Processing
Leiden University Medical Center
+31 71 5266206





More information about the vtkusers mailing list