Actors2D not magnified by vtkWindowToImageFilter->SetMagnification(), nor by vtkRenderLargeImage
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
3D objects/actors are magnified correctly by the SetMagnification() method of vtkWindowToImageFilter.
But Actor2D objects are either not scaled (text and polydata), or scaled but bizarrely placed and tiled (images).
vtkRenderLargeImage exhibits similar problems, with the exception that it magnifies image Actors2D correctly.
I posted an example test program in C++ that demonstrates the problem at http://public.kitware.com/pipermail/vtkusers/2006-September/087099.html
-
The green test Actor2D image is placed and magnified correctly with vtkRenderLargeImage, but the image is scaled correctly but misplaced, duplicated, and tiled using vtkWindowTo ImageFilter
-
The red polyline Actor2D is rendered unmagnified by both vtkRenderLargeImage and by vtkWindowToImageFilter
-
The text string Actor2D is rendered unmagnified by both vtkRenderLargeImage and by vtkWindowToImageFilter
-
The 3D cone is rendered and magnified correctly in all situations tested
The test program generates two images: one unmagnified and one magnified. I compared the two images visually to draw these conclusions.