Microscopy Image Browser  1.233
All Classes Files Functions Variables Pages
im_browser_scrollWheelFcn.m File Reference

Control callbacks from mouse scroll wheel. More...

Functions

function  im_browser_scrollWheelFcn (hObject, eventdata, handles)
 Control callbacks from mouse scroll wheel. More...
 

Detailed Description

Control callbacks from mouse scroll wheel.

Function Documentation

function im_browser_scrollWheelFcn (   hObject,
  eventdata,
  handles 
)

Control callbacks from mouse scroll wheel.

This function takes care of the mouse wheel. Depending on a key modifier and

handles.mouseWheelToolbarSw it can
  • Ctrl+mouse wheel, change size of the brush and some other tools. The value of the new size value is displayed next to the cursor during the mouse wheel rotation.
  • when handles.mouseWheelToolbarSw is not pressed, the mouse wheel is used for zoom in/zoom out actions.
  • when handles.mouseWheelToolbarSw is pressed, the mouse wheel is used to change slices of the shown 3D dataset.
Parameters
hObjecta handle to the object from where the call was implemented
eventdataadditinal parameters
handlesstructure with handles of im_browser.m
Required fields of handles:
Required fields of eventdata:

References changelayerSlider_Callback(), changeTimeSlider_Callback(), and ib_updateCursor().

Here is the call graph for this function: