[vtkusers] vtkImageMapper cuts off images

John Biddiscombe jbiddiscombe at skippingmouse.co.uk
Mon Oct 28 11:04:15 EST 2002

Might be caused by OpenGL clipping the image due to the edge being right on
the edge of the window, does it still get cut if you do



----- Original Message -----
From: "Steffen Oeltze" <Steffen.Oeltze at Student.Uni-Magdeburg.DE>
To: "Vtkusers (E-mail)" <vtkusers at public.kitware.com>
Sent: Monday, October 28, 2002 3:33 PM
Subject: [vtkusers] vtkImageMapper cuts off images

> Dear VTK-users,
> I'm using a vtkImageMapper to display slices of 256x256xK and 512x512xK
> volumes. I want the slices to fill in the whole render window. Therefore,
> I use:
> imgMapper->RenderToRectangleOn();
> together with:
> imgActor->SetPosition(0.0,0.0);
> imgActor->SetPosition2(1.0,1.0);
> This works fine for my 256x256xK volumes but the slices of the 512x512xK
> volumes are cut off. I have to enlarge the render window to see all of the
> slice. The same happens (also to my 256x256xK volumes) when I make the
> window significantly smaller than 256x256 (512x512).
> Can anybody explain this behaviour ?
> Steffen
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

More information about the vtkusers mailing list