Hi Frank <br>I know that with the vtkImageFlip class has this funtcionality when it comes to the manipulation of a vtkImageData object. I'm not sure about the viewport though... I'd suppose there is no problem as the origin is defined internally in each object and not by the viewport, am I right? <br><br><b><i>Frank Lindseth <Frank.Lindseth@sintef.no></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi all,<div><br></div><div>Is it possible to change VTK's display/viewport convention from (origin in lower left):</div><div>/\ y<br><div apple-content-edited="true"><div style=""> |</div><div style=""> |</div><div style="">O--------> x</div><div style=""><div style="margin: 0px;"><font class="Apple-style-span" color="#696969" face="Helvetica Neue" size="3"><span class="Apple-style-span" style="font-size: 11px;"><br
class="khtml-block-placeholder"></span></font></div><div style="margin: 0px;"><font class="Apple-style-span" color="#696969" face="'Helvetica Neue'" size="3"><span class="Apple-style-span" style="font-size: 11px;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px;"><div>To (origin in upper left):</div><div>O--------> x</div><div><div apple-content-edited="true"><div> |</div><div> |</div><div>\/ y</div><div><br></div></div></div></span></span></font></div></div></div></div><div><div>Any help would be greatly appreciated. </div><div><br></div></div><div><br></div><div>Background:</div><div>We would like to replace the old "display system" in an existing application with a new based on VTK, </div><div>i.e. both display/viewport layout and visualizing exiting data that "assumes" that the display/viewport origin is in the upper left corner, </div><div>converting
setup/data coordinates (y) is of course an option, but it would make things a lot easier if VTK used the same origin (as opposed to the lower-left default), </div><div>I'm pretty sure that I was able to set this a long time ago (vtkRenderWindow-method maybe?), but can't find the needed functionality anywhere anymore, </div><div>is it possible? </div><div><br></div><div>- Frank</div><div><br></div><div><div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><div style=""><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica;
font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span"
style="border-collapse: separate; border-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><div style="margin: 0px;"><font class="Apple-style-span" color="#696969" face="'Helvetica Neue'" size="3"><span class="Apple-style-span" style="font-size: 11px;"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px;"><div><div apple-content-edited="true"><div><br></div></div></div></span></span></font></div></span></span></span></span></div></span></div></div>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ<br>Follow this link to
subscribe/unsubscribe:<br>http://www.vtk.org/mailman/listinfo/vtkusers<br></blockquote><br><p> 
<hr size=1>Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a>