Mouse interaction with the OpenGL window: visualization

The mouse button functions are the following:

  • Left button

    • Single click on object: object selection

    • Pressed on background + motion: model rotation

  • Scroll button

    • Scrolled: zoom in/out

    • Pressed + motion: model translation

  • Right button

    • Pressed on background: reproduces the OpenGL window top bar menu

    • Pressed on object: object contextual menu