[vtkusers] rotating a cube
Obada Mahdi
omahdi at gmx.de
Tue Mar 7 05:10:37 EST 2006
Hi Jess!
On Mar 7, 2006, at 8:10 AM, Jessica Weiner wrote:
> How can I rotate a cube actor around its own axis like a see-saw? I
> tried
> RotateZ but it changes the center position of the actor as well. I
> want to
> be able to rotate the cube _without_ changing its center.
You might need to adjust the actor's origin by using one of the
"SetOrigin()" methods inherited from "vtkProp3D".
Regards
Obada
More information about the vtkusers
mailing list