I want to use the
TrackballCamera InteractorStyle when I don’t hover my actor (a cylinder). In the case where the mouse is over the actor, I want to use the
I know that it is possible to change the current InteractorStyle with the StyleSwitch Object. I created it like this:
styleSwitch = vtk.vtkInteractorStyleSwitch() styleSwitch.SetCurrentStyleToTrackballCamera() self.interactor.SetInteractorStyle(styleSwitch)
I also know that i can change the current style by just calling one of the
But how do I do this while hovering an Actor?