Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
mibMeasureToolController Class Reference

a controller class for the measurements subwindow available via MIB->Menu->Tools->Measure length->Measure tool More...

Inheritance diagram for mibMeasureToolController:
Collaboration diagram for mibMeasureToolController:

Public Member Functions

 mibMeasureToolController (mibModel, mibController)
 
function  closeWindow ()
 closing mibMeasureToolController window
 
function  updateWidgets ()
 update widgets of the window
 
function nRows = updateTable ()
 update table with measurements
 
function  addBtn_Callback ()
 add a new measurement
 
function  previewIntensityProfile ()
 
function  measureTable_CellSelectionCallback (eventdata)
 a callback for selection of cells in obj.View.handles.measureTable
 
function  measureTable_cm (parameter)
 a context menu for obj.View.handles.measureTable
 
function  deleteAllBtn_Callback ()
 a callback from obj.View.handles.deleteAllBtn to delete all measurements
 
function  updatePlotSettings ()
 a callback for press of obj.View.handles.markersCheck, obj.View.handles.linesCheck, obj.View.handles.textCheck checkboxes
 
function  optionsBtn_Callback ()
 a callback for press of obj.View.handles.optionsBtn to define look and feel of markers for measurements
 
function  interpolationModePopup_Callback ()
 a callback for obj.View.handles.interpolationModePopup to define type of interpolation for polylines
 
function  loadBtn_Callback ()
 a callback for press of obj.View.handles.loadBtn load measurements from a file or import from Matlab
 
function  saveBtn_Callback ()
 a callback for press of obj.View.handles.saveBtn save measurements to a file or export to Matlab
 
function  updateVoxelsButton_Callback ()
 a callback for press of obj.View.handles.updateVoxelsButton to update size of voxels for the dataset
 

Static Public Member Functions

static function  ViewListner_Callback (obj, src, evnt)
 
static function  ViewListner_Callback2 (obj, src, evnt)
 

Public Attributes

 mibController
 handle to mibController
 
 mibModel
 handles to the model
 
 View
 handle to the view
 
 listener
 a cell array with handles to listeners
 
 indices
 indeces of the selected rows
 
EVENT closeEvent
 > Description of events event firing when window is closed
 
- Public Attributes inherited from handle
 addlistener
 Creates a listener for the specified event and assigns a callback function to execute when the event occurs.
 
 notify
 Broadcast a notice that a specific event is occurring on a specified handle object or array of handle objects.
 
 delete
 Handle object destructor method that is called when the object's lifecycle ends.
 
 disp
 Handle object disp method which is called by the display method. See the MATLAB disp function.
 
 display
 Handle object display method called when MATLAB software interprets an expression returning a handle object that is not terminated by a semicolon. See the MATLAB display function.
 
 findobj
 Finds objects matching the specified conditions from the input array of handle objects.
 
 findprop
 Returns a meta.property objects associated with the specified property name.
 
 fields
 Returns a cell array of string containing the names of public properties.
 
 fieldnames
 Returns a cell array of string containing the names of public properties. See the MATLAB fieldnames function.
 
 isvalid
 Returns a logical array in which elements are true if the corresponding elements in the input array are valid handles. This method is Sealed so you cannot override it in a handle subclass.
 
 eq
 Relational functions example. See details for more information.
 
 transpose
 Transposes the elements of the handle object array.
 
 permute
 Rearranges the dimensions of the handle object array. See the MATLAB permute function.
 
 reshape
 hanges the dimensions of the handle object array to the specified dimensions. See the MATLAB reshape function.
 
 sort
 ort the handle objects in any array in ascending or descending order.
 

Detailed Description

a controller class for the measurements subwindow available via MIB->Menu->Tools->Measure length->Measure tool

Constructor & Destructor Documentation

◆ mibMeasureToolController()

mibMeasureToolController.mibMeasureToolController ( mibModel,
mibController )

Member Function Documentation

◆ addBtn_Callback()

function mibMeasureToolController.addBtn_Callback ( )

add a new measurement

References handle.notify.

◆ closeWindow()

function mibMeasureToolController.closeWindow ( )

closing mibMeasureToolController window

References handle.isvalid, and handle.notify.

◆ deleteAllBtn_Callback()

function mibMeasureToolController.deleteAllBtn_Callback ( )

a callback from obj.View.handles.deleteAllBtn to delete all measurements

◆ interpolationModePopup_Callback()

function mibMeasureToolController.interpolationModePopup_Callback ( )

a callback for obj.View.handles.interpolationModePopup to define type of interpolation for polylines

◆ loadBtn_Callback()

function mibMeasureToolController.loadBtn_Callback ( )

a callback for press of obj.View.handles.loadBtn load measurements from a file or import from Matlab

References mib_uigetfile(), and mibInputMultiDlg().

Here is the call graph for this function:

◆ measureTable_CellSelectionCallback()

function mibMeasureToolController.measureTable_CellSelectionCallback ( eventdata)

a callback for selection of cells in obj.View.handles.measureTable

Parameters
eventdatastructure with the following fields (see UITABLE) Indices - row and column indices of the cell(s) currently selecteds
noJumpSwitcha logical switch that blocks jump to measurement
Required fields of eventdata:

References min.

◆ measureTable_cm()

function mibMeasureToolController.measureTable_cm ( parameter)

a context menu for obj.View.handles.measureTable

Parameters
parametera string with the selected entry:
  • ModifyInfo - update info text
  • Jump - jump to the selected measurement
  • Modify - modify the selected measurement
  • Duplicate - duplicate the selected measurement
  • Plot - plot the intensity profile
  • Kymograph - generate kymograph
  • Delete - delete the selected measurement

References mibInputMultiDlg(), min, n, and handle.notify.

Here is the call graph for this function:

◆ optionsBtn_Callback()

function mibMeasureToolController.optionsBtn_Callback ( )

a callback for press of obj.View.handles.optionsBtn to define look and feel of markers for measurements

◆ previewIntensityProfile()

function mibMeasureToolController.previewIntensityProfile ( )

References A(), B(), max, mibImageProfileIntegrate(), and min.

Here is the call graph for this function:

◆ saveBtn_Callback()

function mibMeasureToolController.saveBtn_Callback ( )

a callback for press of obj.View.handles.saveBtn save measurements to a file or export to Matlab

References mibInputDlg(), and xlswrite2().

Here is the call graph for this function:

◆ updatePlotSettings()

function mibMeasureToolController.updatePlotSettings ( )

a callback for press of obj.View.handles.markersCheck, obj.View.handles.linesCheck, obj.View.handles.textCheck checkboxes

◆ updateTable()

function nRows = mibMeasureToolController.updateTable ( )

update table with measurements

Return values
nRowsnumber of Rows in the table

◆ updateVoxelsButton_Callback()

function mibMeasureToolController.updateVoxelsButton_Callback ( )

a callback for press of obj.View.handles.updateVoxelsButton to update size of voxels for the dataset

◆ updateWidgets()

function mibMeasureToolController.updateWidgets ( )

update widgets of the window

◆ ViewListner_Callback()

static function mibMeasureToolController.ViewListner_Callback ( obj,
src,
evnt )
static

◆ ViewListner_Callback2()

static function mibMeasureToolController.ViewListner_Callback2 ( obj,
src,
evnt )
static

Member Data Documentation

◆ closeEvent

EVENT mibMeasureToolController.closeEvent

> Description of events event firing when window is closed

Events
closeEvent

◆ indices

mibMeasureToolController.indices

indeces of the selected rows

◆ listener

mibMeasureToolController.listener

a cell array with handles to listeners

◆ mibController

mibMeasureToolController.mibController

handle to mibController

Referenced by mibMeasureToolController().

◆ mibModel

mibMeasureToolController.mibModel

handles to the model

Referenced by mibMeasureToolController().

◆ View

mibMeasureToolController.View

handle to the view


The documentation for this class was generated from the following file: