<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=iso-8859-9 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16588"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT size=2 face=Arial>
<DIV><FONT size=2 face=Arial>Actually that looks irrelevant.</FONT></DIV>
<DIV><FONT size=2 face=Arial>Let me describe my need again: I want my image
(probably imageActor) to fill the whole screen.</FONT></DIV>
<DIV><FONT size=2 face=Arial>As far as I got, I can set the scale of my
imageactor with some necessary calculations and then mandatorily set the
position of imageactor for aligning the image to center.</FONT></DIV>
<DIV><FONT size=2 face=Arial>But again as I said, this isn't native at all.
There should definitely be a more proper way.</FONT></DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><FONT face=Arial>Thanks in advance.</FONT></DIV>
<DIV><FONT face=Arial>Huseyin.</FONT></DIV>
<DIV><FONT face=Arial></FONT><BR> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A
title="mailto:jothybasu@gmail.com CTRL + Click to follow link"
href="mailto:jothybasu@gmail.com">Jothy</A> </DIV>
<DIV><B>Sent:</B> Wednesday, July 07, 2010 6:09 PM</DIV>
<DIV><B>To:</B> <A
title="mailto:metlord@hotmail.com CTRL + Click to follow link"
href="mailto:metlord@hotmail.com">Hüseyin Savaş</A> </DIV>
<DIV><B>Cc:</B> <A
title="mailto:vtkusers@vtk.org CTRL + Click to follow link"
href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</A> </DIV>
<DIV><B>Subject:</B> Re: [vtkusers] Image size</DIV></DIV></DIV>
<DIV><BR></DIV>
<DIV dir=ltr>Did you tried ResetCameraClippingRange()?<BR><BR>Jothy<BR><BR>
<DIV class=gmail_quote>2010/7/7 Hüseyin Savaş <SPAN dir=ltr><<A
title="mailto:metlord@hotmail.com CTRL + Click to follow link"
href="mailto:metlord@hotmail.com">metlord@hotmail.com</A>></SPAN><BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px"
name="Compose message area">
<DIV><FONT size=2 face=Arial>Hello,</FONT></DIV>
<DIV><FONT size=2 face=Arial>My question looks fairly simple. </FONT></DIV>
<DIV><FONT size=2 face=Arial>I have an ImageActor, created via
ImageViewer2.getImageActor() , added to a Renderer that has been added to a
RenderWindow. </FONT></DIV>
<DIV><FONT size=2 face=Arial>The actual image displayed covers nearly the same
size, whatever image's resolution is and wastes a lot of screen space with
black area. </FONT></DIV>
<DIV><FONT size=2 face=Arial>I tried scaling, zooming and some extra
stuff to get what I want (having an image that fits to the screen),
but all of these solutions didn't look so native. </FONT></DIV>
<DIV><FONT size=2 face=Arial>Is there any proper solution to have an image
that fits the whole screen?</FONT></DIV>
<DIV><FONT size=2 face=Arial>Thanks already for any advice.</FONT></DIV>
<DIV><FONT size=2 face=Arial>Sincerely.</FONT></DIV><BR><BR>__________
Information from ESET NOD32 Antivirus, version of virus signature database
5259 (20100707) __________<BR><BR>The message was checked by ESET NOD32
Antivirus.<BR><BR><A
title="http://www.eset.com/ CTRL + Click to follow link"
href="http://www.eset.com/"
target=_blank>http://www.eset.com</A><BR></DIV><BR>_______________________________________________<BR>Powered
by <A title="http://www.kitware.com/ CTRL + Click to follow link"
href="http://www.kitware.com/" target=_blank>www.kitware.com</A><BR><BR>Visit
other Kitware open-source projects at <A
title="http://www.kitware.com/opensource/opensource.html CTRL + Click to follow link"
href="http://www.kitware.com/opensource/opensource.html"
target=_blank>http://www.kitware.com/opensource/opensource.html</A><BR><BR>Please
keep messages on-topic and check the VTK FAQ at: <A
href="http://www.vtk.org/Wiki/VTK_FAQ"
target=_blank>http://www.vtk.org/Wiki/VTK_FAQ</A><BR><BR>Follow this link to
subscribe/unsubscribe:<BR><A
title="http://www.vtk.org/mailman/listinfo/vtkusers CTRL + Click to follow link"
href="http://www.vtk.org/mailman/listinfo/vtkusers"
target=_blank>http://www.vtk.org/mailman/listinfo/vtkusers</A></BLOCKQUOTE></DIV></DIV><BR></FONT></DIV><BR>
<BR>
__________ Information from ESET NOD32 Antivirus, version of virus signature database 5260 (20100707) __________<BR>
<BR>
The message was checked by ESET NOD32 Antivirus.<BR>
<BR>
<A HREF="http://www.eset.com">http://www.eset.com</A><BR>
</BODY></HTML>