[vtkusers] How to draw the path of the movement? Please help!!
german_leung at hotmail.com
Sun Mar 11 06:20:31 EST 2001
Dear all VTK user:
I want to update the position of the object by the encoder signal and show the path of the object move! I try to renWin->EraseOff but it doesn't work! But I find that function was work in ..\cowwalk.tcl. I try to use the user interface to change the cow position, and the image of the cows will keep on the screen. Why...?
My code was something like that:--------
for ( i = 1; i < 2000; i++)
//print out the input
cout << "please enter x, y, z" <<"\n";
cutterActor->SetPosition(a, b ,c);
the for loop just simulate the encoder signal input!
Thanks for any advise!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers