[vtkusers] How to rotate an object around its center?

zfjgo zfjgo at 126.com
Sun Nov 7 22:20:29 EST 2004


Hi everybody,
   Usually we can rotate an object around its center by clicking mouse using vtkRenderWindowInteractor.Now I want rotate it at certain angle around its center.But RotateX,RotateY,RotateZ only rotate it around axes X,Y,Z,not its center.
   How to obtain the center of an object displayed in renderwindow. How to rotate it around its center?
  Help me!!
 Thanks 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20041108/575e2f68/attachment.htm>


More information about the vtkusers mailing list