[vtkusers] Re: rotation with vtkRenderWindowInteractor

Thong Luu Thong.Luu at grc.nasa.gov
Tue Nov 13 13:32:48 EST 2001


Hi there,

I am using vtk 3.3 on windows 98.
I have only one sphere in my vtk application. When I rotate via button 1, 
the sphere rotates around its center. This works fine with both camera or 
object mode.
Then I add axes to the application using vtkAxes. Now when I rotate via 
button 1, the sphere and the axes are not rotating round the center (0,0,0) 
any more. It seems to get a new center point of the combination of the 
sphere and the axes. This happens with both the Camera mode (key c) and 
Object mode (key o).

Any help will be greatly appreciated.

-Thong

=========================================================================
Thong Luu                          NASA Glenn Research Center
Phone: (216)433-5283               Computer Services Division
Fax:   (216)433-8000               Computational Science Branch
Email: Thong.Luu at grc.nasa.gov      Mail Stop 142-5 Building 142 Rm 279
=========================================================================






More information about the vtkusers mailing list