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

a callback to the handles.selectionButton_Callback, allows to add, subtract or replace selection More...

Functions

function  selectionButton_Callback (hObject, eventdata, handles, action)
 a callback to the handles.selectionButton_Callback, allows to add, subtract or replace selection More...
 

Detailed Description

a callback to the handles.selectionButton_Callback, allows to add, subtract or replace selection

Function Documentation

function selectionButton_Callback (   hObject,
  eventdata,
  handles,
  action 
)

a callback to the handles.selectionButton_Callback, allows to add, subtract or replace selection

Parameters
hObjecthandle to im_browser.m (see GCBO)
eventdataeventdata structure
handlesstructure with handles of im_browser.m
actiona string that defines type of the action:
  • when add add selection to the active material of the model or to the Mask layer
  • when subtract subtract selection from the active material of the model or from the Mask layer
  • when replace replace the active material of the model or the Mask layer with selection
Required fields of handles:

References ib_moveLayers().

Here is the call graph for this function: