How do I rotate an object with the mouse in a vtk environment?
I would like to rotate an object that look like a cylinder by pressing the left button of the mouse on its tip and make it rotate around the other tip when I move the mouse (the left button still pressed). I already succeed in making a translation of the object when I use the mouse wheel on it, but I cannot manage to understand how I can perfom a rotation.