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

a controller class for the snapshots subwindow available via MIB->Menu->File->Make snapshot More...

Inheritance diagram for mibSnapshotController:
Collaboration diagram for mibSnapshotController:

Public Member Functions

 mibSnapshotController (varargin)
 constructor of the class Parameters: parameter 1: a handles to mibModel parameter 2: [optional] a handle to extra controllers
 
function  closeWindow ()
 closing mibSnapshotController window
 
function  returnBatchOpt (BatchOptOut)
 return structure with Batch Options and possible configurations via the notify syncBatch event Parameters: BatchOptOut: a local structure with Batch Options generated during Continue callback. It may contain more fields than obj.BatchOpt structure
 
function  updateBatchOptFromGUI (hObject)
 
function  updateWidgets ()
 update widgets of the window
 
function  updateWidthHeight ()
 update width/height for the snapshot
 
function  ROIIndex_Callback ()
 update shown roi
 
function  FileFormat_Callback ()
 a callback for selection of the output format
 
function  measurementsOptions_Callback ()
 update visualization settings for the measurements
 
function  Scalebar_Callback ()
 enable the scale bar and check of pixel size
 
function  crop_Callback ()
 a callback for the Crop radio buttons
 
function  SplitChannels_Callback ()
 — Executes on button press in SplitChannels.
 
function  outputDir_Callback ()
 a callback for selection of the output file
 
function  selectFileBtn_Callback ()
 a callback for the select file button
 
function  Width_Callback ()
 a callback on change of obj.View.handles.Width
 
function  Height_Callback ()
 a callback on change of obj.View.handles.Height
 
function  snapshotBtn_Callback (useBatchMode)
 make snapshot Parameters: useBatchMode: a logical switch indicating that the snapshot started in the batch mode
 

Static Public Member Functions

static function  ViewListner_Callback2 (obj, src, evnt)
 
static function  listner_ModelEvent_Callback (obj, src, evnt)
 callback function for detection of mibModel callbacks this function is recommended to use
 

Public Attributes

 mibModel
 handles to the model
 
 View
 handle to the view
 
 listener
 a cell array with handles to listeners
 
 extraController
 an optional extra controller, used for making snapshots from volume rendering window
 
 snapshotFilename
 a cell array {1:obj.mibModel.maxId} with filenames for saving the snapshots
 
 origHeight
 a height of the image area to render
 
 origWidth
 width of the image area to render
 
 resizedWidth
 width of the image area to render with respect of the aspect ratio
 
 BatchOpt
 a structure compatible with batch operation, see details in the contsructor
 
EVENT closeEvent
 > Description of events event firing when window is closed
 

Detailed Description

a controller class for the snapshots subwindow available via MIB->Menu->File->Make snapshot

Constructor & Destructor Documentation

◆ mibSnapshotController()

mibSnapshotController.mibSnapshotController ( varargin)

constructor of the class Parameters: parameter 1: a handles to mibModel parameter 2: [optional] a handle to extra controllers

References updateBatchOptCombineFields_Shared().

Here is the call graph for this function:

Member Function Documentation

◆ closeWindow()

function mibSnapshotController.closeWindow ( )

closing mibSnapshotController window

◆ crop_Callback()

function mibSnapshotController.crop_Callback ( )

a callback for the Crop radio buttons

◆ FileFormat_Callback()

function mibSnapshotController.FileFormat_Callback ( )

a callback for selection of the output format

◆ Height_Callback()

function mibSnapshotController.Height_Callback ( )

a callback on change of obj.View.handles.Height

◆ listner_ModelEvent_Callback()

static function mibSnapshotController.listner_ModelEvent_Callback ( obj,
src,
evnt )
static

callback function for detection of mibModel callbacks this function is recommended to use

Required fields of evnt:
Required fields of obj:

◆ measurementsOptions_Callback()

function mibSnapshotController.measurementsOptions_Callback ( )

update visualization settings for the measurements

◆ outputDir_Callback()

function mibSnapshotController.outputDir_Callback ( )

a callback for selection of the output file

◆ returnBatchOpt()

function mibSnapshotController.returnBatchOpt ( BatchOptOut)

return structure with Batch Options and possible configurations via the notify syncBatch event Parameters: BatchOptOut: a local structure with Batch Options generated during Continue callback. It may contain more fields than obj.BatchOpt structure

◆ ROIIndex_Callback()

function mibSnapshotController.ROIIndex_Callback ( )

update shown roi

◆ Scalebar_Callback()

function mibSnapshotController.Scalebar_Callback ( )

enable the scale bar and check of pixel size

◆ selectFileBtn_Callback()

function mibSnapshotController.selectFileBtn_Callback ( )

a callback for the select file button

◆ snapshotBtn_Callback()

function mibSnapshotController.snapshotBtn_Callback ( useBatchMode)

make snapshot Parameters: useBatchMode: a logical switch indicating that the snapshot started in the batch mode

References export_fig(), imclipboard(), mibAddScaleBar(), mibImWrite(), and min.

Here is the call graph for this function:

◆ SplitChannels_Callback()

function mibSnapshotController.SplitChannels_Callback ( )

— Executes on button press in SplitChannels.

◆ updateBatchOptFromGUI()

function mibSnapshotController.updateBatchOptFromGUI ( hObject)

References updateBatchOptFromGUI_Shared().

Here is the call graph for this function:

◆ updateWidgets()

function mibSnapshotController.updateWidgets ( )

update widgets of the window

◆ updateWidthHeight()

function mibSnapshotController.updateWidthHeight ( )

update width/height for the snapshot

◆ ViewListner_Callback2()

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

◆ Width_Callback()

function mibSnapshotController.Width_Callback ( )

a callback on change of obj.View.handles.Width

Member Data Documentation

◆ BatchOpt

mibSnapshotController.BatchOpt

a structure compatible with batch operation, see details in the contsructor

◆ closeEvent

EVENT mibSnapshotController.closeEvent

> Description of events event firing when window is closed

Events
closeEvent

◆ extraController

mibSnapshotController.extraController

an optional extra controller, used for making snapshots from volume rendering window

◆ listener

mibSnapshotController.listener

a cell array with handles to listeners

◆ mibModel

mibSnapshotController.mibModel

handles to the model

◆ origHeight

mibSnapshotController.origHeight

a height of the image area to render

◆ origWidth

mibSnapshotController.origWidth

width of the image area to render

◆ resizedWidth

mibSnapshotController.resizedWidth

width of the image area to render with respect of the aspect ratio

◆ snapshotFilename

mibSnapshotController.snapshotFilename

a cell array {1:obj.mibModel.maxId} with filenames for saving the snapshots

◆ View

mibSnapshotController.View

handle to the view


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