Example of how to generate a InteractorStyle where mouse click **and** mouse horizontal movement are combined

I am trying to create my own interactorStyle and I need to be able to change the camera pitch by clicking on the left mouse button while moving the mouse horizontally. Can anyone indicate how to achieve this or point towards an example where this or similar is accomplished. Thanks

I think you should use in internal flag toggled by the button pressed and then use a if statement in the mouse move handler.

Take a look at this https://kitware.github.io/vtk-examples/site/Python/Interaction/MouseEvents/