<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16481" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>How can I make a vtkActor2D object autoscale when
the window size change. I've looking some examples (like vtkXYPlotActor in
X:\VTK\Hybrid\Testing\Tcl\xyPlot.tcl) and It seems to have nothing
special.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The problem is, that
GetPosition2Coordinate()->SetValue(....) doesn't work but
GetPositionCoordinate()->SetValue(....) yes. Neither the methods
vtkActor2D->SetHeight() and Set Width() work! I can only move
it.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>do I need to know my viewport
dimensions?</FONT></DIV>
<DIV><FONT face=Arial size=2>What is the right way to autoscale
2Dactors?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thank you!!!</FONT></DIV></BODY></HTML>