[vtkusers] How to create an offscreen window that fits an image exactly

Oliver Kania ptw.freiburg at googlemail.com
Tue Feb 5 09:52:05 EST 2008


Hello,
offscreen redering and saving to an image works fine for me using
offScreenReneringOn() and the WindowToImageFile Filter.

What I need now is an offscreen window that has exactly the
same pixel size as my image. The image should fill all of the window.
It is easy to set the window to the pixel-size of the image, but how do
I zoom the image such that window-pixel  == image-pixel ?

Best regards,
Oliver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080205/d1a5c0bd/attachment.htm>


More information about the vtkusers mailing list