[vtkusers] vtkWindowToImageFilter SetMagnification affect the RenderWindow

Alessandro notinmyhead at gmail.com
Tue Nov 13 10:33:31 EST 2012


Hi,

so if I'd need a "magnification", do I need to put the output into another filter to upsample the current windows pixels size?

Thanks
Ale

Il giorno 13/nov/2012, alle ore 16.17, David Doria ha scritto:

> On Tue, Nov 13, 2012 at 10:10 AM, Alessandro <notinmyhead at gmail.com> wrote:
>> Hello,
>> 
>> I tried to implement a screenshot functionality using the example at http://www.vtk.org/Wiki/VTK/Examples/Cxx/Utilities/Screenshot.
>> 
>> My only issue is that the render window is affected by the setmagnification method of the vtkWindowToImageFilter, so it "zoom" after the invocation of update method. Why? Is there a way to avoid that behavior?
>> 
>> Thanks,
>> Ale
> 
> The SetMagnification in the example is just to show that even if your
> render window is small on your screen, you can output a high
> resolution screenshot. You can just comment this line to write out
> exactly the pixels you see on the screen. Can you show us a real
> screenshot (by pressing "PrnScn" or similar) and the output of this
> example that you are not satisfied with?
> 
> David




More information about the vtkusers mailing list