I’m planning on using ROOT (mainly the cling interpreter) with an exiting codebase for working with point cloud data (3D scans). I have an existing visualizer written using OpenGL and GLFW. Currently I have a simple text based command line user interface put i plan to use the cling interpreter to interface with the library instead.
Is it possible to (instead of using GLFW) subclass TCanvas or some GUI class from ROOT to execute OpenGL commands and handle mouse events? And is it possible to continuously refresh the OpenGL view using an event run loop, or a timer signal, while the command line still remains responsive?