code: def on_mouse_move(event):
      if event.button == 1 and event.is_dragging:
          axis.transform.reset()
  
          axis.transform.rotate(cam2.roll, (0, 0, 1))
          axis.transform.rotate(cam2.elevation, (1, 0, 0))
          axis.transform.rotate(cam2.azimuth, (0, 1, 0))
  
          axis.transform.scale((50, 50, 0.001))
          axis.transform.translate((50.0, 50.0))
          axis.update()
  
file_path: vispy/examples/scene/volume.py
imports: from itertools import cycle
  import numpy
  from vispy import app, scene, io
  from vispy.color import get_colormaps, BaseColormap
  from vispy.visuals.transforms import STTransform
label_desc: Use image node_id 1 for calling a global function with example usage: on_mouse_move(event) without return types