It looks like you have scaled everything equally.
<div><span class="gmail_quote">When you render the initial view will be set to show all the actors. S you will not see the effect. Try something like tf->Scale(5, 1, 0.5);</span></div>
<div><span class="gmail_quote"></span> </div>
<div><span class="gmail_quote"></span> </div>
<div><span class="gmail_quote"></span> </div>
<div><span class="gmail_quote">On 10/3/07, <b class="gmail_sendername">jim yu</b> <<a href="mailto:long353@msn.com">long353@msn.com</a>> wrote:</span></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>hi, everyone<br> <br>here is the code, but the Scale doesn't have effect, why? <br> <br>vtkTransform* tf = vtkTransform::New();<br> tf->Scale(5, 5, 5);<br> tf->RotateX(-45);<br> tf->RotateZ(45);<br> actor->SetUserTransform(tf);
<br> outlineactor->SetUserTransform(tf);<br> <br>thanks a lot!<br> <br>jim<br><br>
<hr>
Get news, entertainment and everything you care about at <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://live.com/" target="_blank">Live.com</a>. <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.live.com/getstarted.aspx+" target="_blank">
Check it out!</a></div><br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br><br></blockquote><br><br clear="all"><br>-- <br>___________________________________________<br>Andrew J. P. Maclean<br>Centre for Autonomous Systems<br>The Rose Street Building J04<br>The University of Sydney 2006 NSW
<br>AUSTRALIA<br>Ph: +61 2 9351 3283<br>Fax: +61 2 9351 7474<br>URL: <a href="http://www.acfr.usyd.edu.au/">http://www.acfr.usyd.edu.au/</a><br>___________________________________________