<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>hi,</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>i am now drawing a 2d contour&nbsp;map of some grid 
data.</FONT></DIV>
<DIV><FONT size=2>the problem is that i can't find an easy way to keep 
</FONT></DIV>
<DIV><FONT size=2>the aspect ratio of the map </FONT><FONT size=2>when i resize 
the window.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>what i want is&nbsp;the contour map can&nbsp;act just like the 
common </FONT></DIV>
<DIV><FONT size=2>3d actors: the map is always in the center of the window and 
</FONT></DIV>
<DIV><FONT size=2>it doesn't </FONT><FONT size=2>change its ratio the the window 
resizes.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>obviously this is up to the coordinate system. i almost 
tried</FONT></DIV>
<DIV><FONT size=2>everyone:display,viewport,view (normalized ones shouldn't be 
</FONT></DIV>
<DIV><FONT size=2>used here,right?)... but none of them works.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>which one should i use, and how ?</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT 
size=2>ContourActor-&gt;GetPositionCoordinate()-&gt;SetCoordinateSystemTo???();</FONT></DIV>
<DIV><FONT size=2>ContourMapper-&gt;SetTransformCoordinate(???);</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>thanks.</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Joey</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV></BODY></HTML>