Hi All,
I am currently using VTK 9 in Python, and in my application I am taking advantage of th wxPython wrapper of vtkRenderWindowInteractor using vtkInteractorStyleTrackballCamera as interactor style.
This is all nice and well, although I would like to be able to change the center of rotation for the camera, especially when the user is zooming in a lot close to an actor. For high level of zooms on an object that is not in the center of the window the rotation is almost unusable as the camera rotates around a point that is very far away from the actor I am interested in.
I can see that ParaView has this super cool feature of picking a center of rotation, resetting it and also showing it with some sort of axes (?).
I have tried to dig into the ParaView code but it’s a bit overwhelming to me… does anyone know if there is a way to set another center of rotation for the camera using VTK? Do I have to implement my own interactor style somehow to do something like that?
Thank you in advance for any suggestion.
Andrea.