<DIV>Yes, a part of my rendow window background is still seen when I'm displaying my image. This part of this frame will be used to add another control in my interface. </DIV>
<DIV>&nbsp;</DIV>
<DIV>If my aim is to stretch my image with different factors in x and y&nbsp;in my render window, I suppose that I'm not in the <STRONG>parallel projection mode</STRONG> anymore but <STRONG>in the perspective mode</STRONG>, right? </DIV>
<DIV>So, I suppose that, what I really need to use is not <STRONG>SetParallelScale() </STRONG>but maybe <STRONG><EM>SetViewShear()</EM></STRONG> instead<EM>.</EM> &nbsp;&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Is it correct?</DIV>
<DIV><BR><BR><B><I>Goodwin Lawlor &lt;goodwin.lawlor@ucd.ie&gt;</I></B> a écrit:</DIV>
<DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR>&gt; - you should use vtkImageViewer2... it uses vtkImageActor; or use the<BR>exact classes in the code below<BR>&gt; What do you mean by that: do I have to choose between using<BR>vtkImageViewer2 and implementing code like I did<BR>&gt; below?<BR><BR>Yeah- either use a vtkImageActor/vtkRenderer/vtkRenderWindow or just a<BR>vtkImageViewer2 (its a convenience class for the former classes).<BR><BR>&gt;- you have to set the renWin to the same size as your image dimensions<BR>&gt;Actually, I would like to do the contrary: that is to say, to set the image<BR>dimensions to the same size as my renWin. &gt;Indeed, the image that I have to<BR>display is about 1552*128 (because of different pixel size according to<BR>directions), &gt;and I would like to display it in a frame of my MFC interface.<BR><BR>ok - if you dont match the window aspect ratio to the image aspect ratio<BR>then the
 background of the renderer maybe visible<BR><BR><BR>Goodwin<BR><BR></BLOCKQUOTE></DIV><p>
                <hr size=1> 
Découvrez le nouveau Yahoo! Mail : <font color="red">1 Go d'espace</font> de stockage pour vos mails, photos et vidéos !<br><a href="http://us.rd.yahoo.com/mail_fr/mail_campaigns/splash/taglines_1go/default/*http://fr.promotions.yahoo.com/mail/creer28.html" target="_blank">Créez votre Yahoo! Mail</a>