[vtkusers] Viewport and SetPixelAspect

Mathieu Malaterre mathieu.malaterre at kitware.com
Fri May 21 10:20:06 EDT 2004


Pedram Rezaei wrote:
> Dear all,
> 
> I've got two questions:
> 
> 1- Why does VTK think that the height of a view port is 3 instead of 2?
> (my viewport covers the whole window)

I don't understand this one

> 2- I cannot get SetPixelAspect method of the vtkViewPort working. It
> doesn't change anything except for the viewport's aspect ratio

http://vtk.org/Bug/bug.php?op=show&bugid=626

I tried a hack here, but you cannot mix polydata + image data anymore:

http://public.kitware.com/pipermail/vtkusers/2003-September/019861.html

HTH,
Mathieu





More information about the vtkusers mailing list