VTK: Rotate actor programmatically while vtkRenderWindowInteractor is active
问题 I'm trying to rotate a vtkActor using vtkActor::RotateZ and then calling vtkRenderWindow::Render . It works fine (it rotates the actor) but I can't move, resize, or even focus the window. I suspected this was caused due to something not catching operating system events, so I added a vtkRenderWindowInteractor to the mix. Now I can move, resize and focus the window, but the actor is not rotating anymore. I've isolated the code in the snippet below, comment line 43 to see both effects: