<html><DIV>Dear all vtk user:</DIV>
<DIV>I am facing the problems is how to force the rendering process through the "for loop" in C++! </DIV>
<DIV>I try to use for loop to force the renderng in C++!</DIV>
<DIV>My code:-------------------------</DIV>
<DIV>main()</DIV>
<DIV>{</DIV>
<DIV>int x, y, z;</DIV>
<DIV>for (i=0,i<20,i++)</DIV>
<DIV>{.......</DIV>
<DIV> cin >> x >>y >>z;</DIV>
<DIV> cutterActor->SetPosition (x,y,z);</DIV>
<DIV>:</DIV>
<DIV>:</DIV>
<DIV>:}</DIV>
<DIV>}</DIV>
<DIV>-----------------------------</DIV>
<DIV> </DIV>
<DIV>When I run the program, the program only allow me input x,y,z only one time. No looping anymore! On the other hand, I want to rendering the cutterActor in the same rendering Window. How can I do?</DIV>
<DIV>Please sent me some idea , any advise was great help.</DIV>
<DIV> </DIV>
<DIV>Thank you very much!</DIV>
<DIV>Best regards,</DIV>
<DIV>German Leung<IMG height=12 src="http://216.33.240.24/emsmile.gif" width=12></DIV><br clear=all><hr>Get Your Private, Free E-mail from MSN Hotmail at <a href="http://www.hotmail.com">http://www.hotmail.com</a>.<br></p></html>