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

class is responsible for showing the dataset resample window, available from MIB->Menu->Dataset->Resample More...

Inheritance diagram for mibResampleController:
Collaboration diagram for mibResampleController:

Public Member Functions

 mibResampleController (mibModel, varargin)
 
function  closeWindow ()
 closing mibResampleController window
 
function  updateWidgets ()
 update all widgets of the current window
 
function  returnBatchOpt (BatchOptOut)
 return structure with Batch Options and possible configurations 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  editbox_Callback (hObject)
 callbacks for modification of edit boxes
 
function  resampleBtn_Callback (batchModeSwitch)
 resample the current dataset
 

Static Public Member Functions

static function  ViewListner_Callback2 (obj, src, evnt)
 

Public Attributes

 mibModel
 handles to the model
 
 View
 handle to the view
 
 listener
 a cell array with handles to listeners
 
 height
 a value with the current height of the dataset
 
 width
 a value with the current width of the dataset
 
 color
 a value with number of color channels
 
 depth
 a value with the current depth of the dataset
 
 BatchOpt
 a structure compatible with batch operation, see details in the contsructor
 
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

class is responsible for showing the dataset resample window, available from MIB->Menu->Dataset->Resample

Constructor & Destructor Documentation

◆ mibResampleController()

mibResampleController.mibResampleController ( mibModel,
varargin )

References handle.addlistener, depth, height, mibModel, handle.notify, updateBatchOptCombineFields_Shared(), and width.

Here is the call graph for this function:

Member Function Documentation

◆ closeWindow()

function mibResampleController.closeWindow ( )

closing mibResampleController window

References handle.isvalid, and handle.notify.

◆ editbox_Callback()

function mibResampleController.editbox_Callback ( hObject)

callbacks for modification of edit boxes

Parameters
hObjecthandle to the editbox
Required fields of hObject:

◆ resampleBtn_Callback()

function mibResampleController.resampleBtn_Callback ( batchModeSwitch)

resample the current dataset

Parameters
batchModeSwitch[optional] switch indicating the batch mode

References mibCalculateResolution(), mibResize3d(), and handle.notify.

Here is the call graph for this function:

◆ returnBatchOpt()

function mibResampleController.returnBatchOpt ( BatchOptOut)

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

References handle.notify.

◆ updateBatchOptFromGUI()

function mibResampleController.updateBatchOptFromGUI ( hObject)

References updateBatchOptFromGUI_Shared().

Here is the call graph for this function:

◆ updateWidgets()

function mibResampleController.updateWidgets ( )

update all widgets of the current window

◆ ViewListner_Callback2()

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

Member Data Documentation

◆ BatchOpt

mibResampleController.BatchOpt

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

◆ closeEvent

EVENT mibResampleController.closeEvent

> Description of events event firing when window is closed

Events
closeEvent

◆ color

mibResampleController.color

a value with number of color channels

◆ depth

mibResampleController.depth

a value with the current depth of the dataset

Referenced by mibResampleController().

◆ height

mibResampleController.height

a value with the current height of the dataset

Referenced by mibResampleController().

◆ listener

mibResampleController.listener

a cell array with handles to listeners

◆ mibModel

mibResampleController.mibModel

handles to the model

Referenced by mibResampleController().

◆ View

mibResampleController.View

handle to the view

◆ width

mibResampleController.width

a value with the current width of the dataset

Referenced by mibResampleController().


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