This is the desired view for my app when it is launched. The problem is that when I try to use the mouse to rotate the view, the rotation axes are kinda awkward.
Moving the mouse horizontally results in a rotation around the y axis (tilting the detector), while moving the mouse vertically results in a rotation around the x axis (which is fine).
I’d like to change the horizontal rotation behaviour so that the camera will rotate around the z axis (which is more intuitive in this kind of orientation), what would be the most effective way to do so?
ROOT Version (e.g. 6.12/06):
Platform, compiler (e.g. OSX 10.13.1, Apple LLVM version 9.0.0 (clang-900.0.39.2)):
I think you need kCameraPerspXOY (X and Y determine the “floor”).
Alternatively, you could enable arc ball rotation (key a in the viewer (see help)). You could set this by calling something like TGLViewer—>GetEventHandler()->SetArcBall(true);