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

class is a template class for using with GUI developed using appdesigner of Matlab More...

Inheritance diagram for mibVolRenAppController:
Collaboration diagram for mibVolRenAppController:

Public Member Functions

 mibVolRenAppController (mibModel, varargin)
 class constructor
 
function  updateVolumeRenderingStyle ()
 update Volume Rendering Style
 
function  updateIsovalue (newIsovalue)
 update IsosurfaceValue of the volume
 
function  alphaAxesButtonDown (event)
 buttom down event above obj.View.handles.alphaAxes
 
function  updateBackgroundColor (event)
 update background color settings
 
function  updateColormap (event)
 select and update colormap
 
function  generateColorMap ()
 generate obj.volumeColormap from the selected obj.Settings.Volume.colormapName and obj.Settings.Volume.colormapInvert
 
function  updateCameraWidgets ()
 update widgets that describe position of the camera
 
function  menuChangeView (event)
 callback for selection of views
 
function  closeWindow ()
 closing mibVolRenAppController window
 
function  updateWidgets ()
 update widgets of this window
 
function  updateKeyFrameTable ()
 update obj.View.handles.keyFrameTable
 
function  addAnimationKeyFrame (posIndex)
 add/insert a key frame
 
function  keyFrameTable_CellSelection (indices)
 callback for selection of a cell in obj.View.handles.keyFrameTable
 
function  surfaceTable_CellSelection (indices)
 callback for selection of a cell in obj.View.handles.surfaceTable
 
function  modelTable_CellSelection (indices)
 callback for selection of a cell in obj.View.handles.modelTable
 
function  loadAnimationPath ()
 load animation path from a file
 
function  saveAnimationPath ()
 save animation path to a file
 
function  deleteAllAnimationKeyFrames ()
 delete all key frames
 
function  previewAnimation (noFrames)
 preview animation
 
function positions = generatePositionsForKeyFramesAnimation (noFrames, options)
 generate camera positions from the key frames
 
function  updateAnimationNumberOfFrames (noFrames)
 update number of frames in the animation
 
function  modelTable_cm_Callback (event)
 callback for modelTable context menu
 
function  surfaceTable_cm_Callback (event)
 callback for surfaceTable context menu
 
function  keyFrameTable_cm_Callback (event)
 callback for keyFrameTable context menu
 
function  alphaCurveOperations (event)
 callback for press of buttons in the alpha curve tab
 
function  plotAlphaPlot ()
 draw alpha plot
 
function  toggleViewerSettings (event)
 toggle switch on/off for some of the viewer parameters
 
function  updateScalingTransform (pixSize)
 generate tform (obj.scalingTransform) to scale the dataset upon loading to have its units in um
 
function imgOut = grabFrame (width, height, options)
 grab a frame from the volume viewer
 
function  prepareWindowForGrabFrame (width, height)
 prepare window to grab a frame
 
function  restoreWindowAfterGrabFrame ()
 restore widget sizes after the snapshot
 
function  makeAnimation (mode)
 start making movie window
 
function status = grabVolume (volumeType, colorChannel)
 grab the currently displayed volume to the 3D volume viewer
 
function  recalculateAlphamap (transparentVolume)
 recalculate obj.volume.Alphamap
 
function  spinDataset ()
 spin dataset (rotate camera around the dataset)
 
function positions = generatePositionsForSpinAnimation (noFrames, options)
 generate camera positions for the spin animation
 
function  makeSnapshop ()
 make snapshot
 
function  modelUpdateOverlay (overlayType, materialId)
 grab the model from MIB and assign it as an overlay for the volume
 
function  updateOverlayRenderingStyle ()
 update rendering style for overlays
 
function  updateSurfaceTable ()
 update obj.View.handles.surfaceTable
 
function  modelHideAllMaterials (hideMaterialsSwitch)
 hide all materials of the shown model
 
function  updateModelTable ()
 update obj.View.handles.modelTable after loading of the model
 
function  surfaceTableCellEdit (event)
 callback for update of values in obj.View.handles.modelTable
 
function  modelTableCellEdit (event)
 callback for update of values in obj.View.handles.modelTable
 
function  updateCameraPosition (event)
 
function  changeSlice (sourceWidget, value)
 callback for change of the slice value on obj.View.handles.xSliderEdit / ySliderEdit / zSliderEdit
 
function  showVolume (showSwitch)
 toggle showing of the volume
 
function  transparentVolume (transparentSwitch)
 make volume transparent, which still shows the overlay model
 
function  showHelp ()
 show help
 

Static Public Member Functions

static function  ViewListner_Callback (obj, src, evnt)
 
static function  cameraListner_Callback (obj, src, evnt)
 listener callback for camera moving
 

Public Attributes

 mibModel
 handles to mibModel
 
 View
 handle to the view / mibVolRenAppGUI
 
 listener
 a cell array with handles to listeners
 
 BatchOpt
 a structure compatible with batch operation name of each field should be displayed in a tooltip of GUI it is recommended that the Tags of widgets match the name of the fields in this structure .Parameter - [editbox], char/string .Checkbox - [checkbox], logical value true or false .Dropdown{1} - [dropdown], cell string for the dropdown .Dropdown{2} - [optional], an array with possible options .Radio - [radiobuttons], cell string Radio1 or Radio2... .ParameterNumeric{1} - [numeric editbox], cell with a number .ParameterNumeric{2} - [optional], vector with limits [min, max] .ParameterNumeric{3} - [optional], string on - to round the value, off to do not round the value
 
 childControllers
 list of opened subcontrollers
 
 childControllersIds
 a cell array with names of initialized child controllers
 
 alphaPlotHandle
 handle to the alpha plot
 
 animationFilename
 template for the animation filename
 
 animationPath
 a structure with animation path .CameraPosition - a matrix of camera positions [keyFrame, x,y,z] .CameraUpVector - a matrix of camera up vectors [keyFrame, x,y,z] .CameraTarget - a matrix of camera target positions [keyFrame, x,y,z]
 
 animationPreviewRunning
 logical switch defining whether the animation is previewed
 
 defaultView
 a structure with the default camera position
 
 figPosStored
 a structure with stored positions of the widgets for making snapshots .mibVolRenAppFigure -> position of the main figure .mainGridLayoutRowHeights -> heights of rows in obj.View.handles.mainGridLayout
 
 keyFrameTableIndex
 index of the selected key frame
 
 matlabVersion
 current version of MATLAB
 
 maxIntValue
 max integer value of the loaded volume
 
 noOverlayMaterials
 number of materials shown in the overlay
 
 overlayShownMaterials
 a vector of shown (true) or hidden (false) materials in the model overlay
 
 overlayAlpha
 a vector with alpha values for overlay materials
 
 modelTableIndex
 index of the selected material in the modelTable
 
 scalingTransform
 tform to scale the dataset upon loading to have its units in um
 
 Settings
 a structure with settings, initialized from obj.mibModel.preferences.VolRen; .volumeAlphaCurve.x = [0 .3 .7 1]; .volumeAlphaCurve.y = [1 1 0 0]; .markerSize - marker size for the alpha plot .BackgroundColor - color for the background .colormapName - a string with default colormap, or custom (not yet implemented) .colormapInvert - true/false, invert or not the colormap .animationPath - a structure with animation path .noFramesPreview - number of frames for the preview
 
 surfList
 a cell array of generated surfaces
 
 surfListAlpha
 an array of alpha values for the generated surfaces
 
 surfaceTableIndex
 index of the selected row in the surfaceTable
 
 viewer
 handle to the main viewer widget
 
 volume
 main image volume
 
 volumeAlphaCurve
 a structure with alpha curve details .x - vector of intensity points [0 - 1] .y - value of alpha for each intensity point [0 - 1] .alphamap - calculated alpha map used in volshow .activePoint - selected point
 
 volumeColormap
 vector with the colormap
 
 volumeScaleFactor
 scale factor to downsample the datasets, below 1
 
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 a template class for using with GUI developed using appdesigner of Matlab

obj.startController('mibVolRenAppController'); // as GUI tool

or

// a code below was used for mibImageArithmeticController
BatchOpt.Parameter = 'test'; // fill edit boxes as strings
BatchOpt.Checkbox = true; // fill checkboxes with logicals: true/false
BatchOpt.Popup = {'value'}; // value for the popups as a cell
BatchOpt.Radio = {'Radio1'}; // selection of radio buttons, as cell with the handle of the target radio button
BatchOpt.showWaitbar = true; // show or not the waitbar
obj.startController('mibVolRenAppController', [], BatchOpt); // start mibVolRenAppController in the batch mode
BatchOpt
a structure compatible with batch operation name of each field should be displayed in a tooltip of GU...
Definition mibVolRenAppController.m:70

or

// trigger return of the possible Options using returnBatchOpt function
// using notify syncBatch event
obj.startController('mibVolRenAppController', [], NaN);

Constructor & Destructor Documentation

◆ mibVolRenAppController()

mibVolRenAppController.mibVolRenAppController ( mibModel,
varargin )

class constructor

Parameters
mibModela handle to mibModel class
varargin
mibVolRenAppController ( ..., options )
mibVolRenAppController(mibModel, varargin)
class constructor
Definition mibVolRenAppController.m:318
Required Parameters for varargin:
  • options a structure with optional initialization parameters .Settings - settings for initialization of the volviewer
Required fields of mibModel:

References handle.addlistener, handle.fieldnames, mibModel, mibUpdateFontSize(), and moveWindowOutside().

Here is the call graph for this function:

Member Function Documentation

◆ addAnimationKeyFrame()

function mibVolRenAppController.addAnimationKeyFrame ( posIndex)

add/insert a key frame

Parameters
posIndex[optional] position of the key frame, when 1 - in the beginning of the animation sequence

◆ alphaAxesButtonDown()

function mibVolRenAppController.alphaAxesButtonDown ( event)

buttom down event above obj.View.handles.alphaAxes

References max, min, and handle.sort.

◆ alphaCurveOperations()

function mibVolRenAppController.alphaCurveOperations ( event)

callback for press of buttons in the alpha curve tab

Parameters
eventa handle of the pressed button .event.Source.Tag -> resetAlphaCurve .event.Source.Tag -> invertAlphaCurve
Required fields of event:

References handle.sort.

◆ cameraListner_Callback()

static function mibVolRenAppController.cameraListner_Callback ( obj,
src,
evnt )
static

listener callback for camera moving

Required fields of obj:

◆ changeSlice()

function mibVolRenAppController.changeSlice ( sourceWidget,
value )

callback for change of the slice value on obj.View.handles.xSliderEdit / ySliderEdit / zSliderEdit

Parameters
sourceWidgettag (str) of the widgets that was modified, xSliderEdit, ySliderEdit, zSliderEdit
valuenew value

◆ closeWindow()

function mibVolRenAppController.closeWindow ( )

closing mibVolRenAppController window

References handle.isvalid, and handle.notify.

◆ deleteAllAnimationKeyFrames()

function mibVolRenAppController.deleteAllAnimationKeyFrames ( )

delete all key frames

◆ generateColorMap()

function mibVolRenAppController.generateColorMap ( )

generate obj.volumeColormap from the selected obj.Settings.Volume.colormapName and obj.Settings.Volume.colormapInvert

◆ generatePositionsForKeyFramesAnimation()

function positions = mibVolRenAppController.generatePositionsForKeyFramesAnimation ( noFrames,
options )

generate camera positions from the key frames

Parameters
noFramesnumber of frames options - an optional structure with additional parameters .back_and_forth - a switch to make animations in both forward and reverse orientation
Return values
positionsa structure with camera positions for each frame of the resulting movie .CameraUpVector - an array of camera-up vectors for each time point or a single vector .CameraTarget - an array of camera-target vectors for each time point or a single vector .CameraPosition - a vector for each time point
Required fields of options:
Generated fields of positions:

◆ generatePositionsForSpinAnimation()

function positions = mibVolRenAppController.generatePositionsForSpinAnimation ( noFrames,
options )

generate camera positions for the spin animation

Parameters
noFramesnumber of frames
optionsa structure with optional parameters .back_and_forth - a switch to make animations in both forward and reverse orientation .clockwise - a switch 1 - clockwise, 0 - anticlockwise rotation .rotAxis - a number with rotation axis, 3-z, 1-x, 2-y Return values:
positionsa structure with camera positions for each frame .CameraUpVector - an array of camera-up vectors for each time point or a single vector .CameraTarget - an array of camera-target vectors for each time point or a single vector .CameraPosition - a vector for each time point
Required fields of options:
Generated fields of positions:

◆ grabFrame()

function imgOut = mibVolRenAppController.grabFrame ( width,
height,
options )

grab a frame from the volume viewer

Parameters width: width of the snapshot, can be empty height: height of the snapshot, can be empty options: [optional] structure with extra parameters .resizeWindow - a switch, 1-resize window, 0-do not resize window, used for animations .showWaitbar - show or not waitbar .hWaitbar - a handle to existing waitbar .waitbarProgress - a fraction for the waitbar position

Required fields of options:

Examples:

// for animations
obj.prepareWindowForGrabFrame(width, height); // resize widgets
options.resizeWindow = 0; // do not resize the window during the animation
for i=1:100
// change view
imgOut = obj.extraController.grabFrame(width, height, options);
end
obj.extraController.restoreWindowAfterGrabFrame(); // restore widget size
// as taken from mibSnapshotController, used for snapshots
imgOut = obj.extraController.grabFrame(width, height);

◆ grabVolume()

function status = mibVolRenAppController.grabVolume ( volumeType,
colorChannel )

grab the currently displayed volume to the 3D volume viewer

Parameters
volumeType[default: image] string with type of the volume to grab: image,model, selection, mask
colorChannel[default: 1] index of the color channel or material to grab Return values:
status1 - success, 0 - cancel

References max, mibInputMultiDlg(), mibResize3d(), and handle.permute.

Here is the call graph for this function:

◆ keyFrameTable_CellSelection()

function mibVolRenAppController.keyFrameTable_CellSelection ( indices)

callback for selection of a cell in obj.View.handles.keyFrameTable

◆ keyFrameTable_cm_Callback()

function mibVolRenAppController.keyFrameTable_cm_Callback ( event)

callback for keyFrameTable context menu

Parameters
eventa handle of the pressed button .event.Source.Tag -> keyFrameTable_cm_jumpToKeyFrame, jump to the selected key frame and update the view .event.Source.Tag -> keyFrameTable_cm_insertKeyFrame, insert a key frame to the current position .event.Source.Tag -> keyFrameTable_cm_replaceKeyFrame, replace the selected key frame .event.Source.Tag -> keyFrameTable_cm_removeKeyFrame, remove the key frame from the current position;
Required fields of event:

◆ loadAnimationPath()

function mibVolRenAppController.loadAnimationPath ( )

load animation path from a file

References mib_uigetfile().

Here is the call graph for this function:

◆ makeAnimation()

function mibVolRenAppController.makeAnimation ( mode)

start making movie window

Parameters mode: a string with the desired animation type, spin - to spin around selected axis animation - to animate the scene using key frames

◆ makeSnapshop()

function mibVolRenAppController.makeSnapshop ( )

make snapshot

◆ menuChangeView()

function mibVolRenAppController.menuChangeView ( event)

callback for selection of views

Parameters
eventa handle to the selected widget event.Source.Tag = menuDefaultView -> show the default view event.Source.Tag = menuXYview -> show the XY view event.Source.Tag = menuXZview -> show the XZ view event.Source.Tag = menuYZview -> show the YZ view
Required fields of event:

◆ modelHideAllMaterials()

function mibVolRenAppController.modelHideAllMaterials ( hideMaterialsSwitch)

hide all materials of the shown model

Parameters
value[logical, optional], switch to hide (true) or show materials (false)

◆ modelTable_CellSelection()

function mibVolRenAppController.modelTable_CellSelection ( indices)

callback for selection of a cell in obj.View.handles.modelTable

◆ modelTable_cm_Callback()

function mibVolRenAppController.modelTable_cm_Callback ( event)

callback for modelTable context menu

Parameters
eventa handle of the pressed button .event.Source.Tag -> modelTable_cm_generateSurface, generate surface from the selected material
Required fields of event:

◆ modelTableCellEdit()

function mibVolRenAppController.modelTableCellEdit ( event)

callback for update of values in obj.View.handles.modelTable

Required fields of event:

◆ modelUpdateOverlay()

function mibVolRenAppController.modelUpdateOverlay ( overlayType,
materialId )

grab the model from MIB and assign it as an overlay for the volume

Parameters
overlayTypestring, type of the overlay to show,
  • model - the model layer
  • mask - the mask layer
  • selection - the selection layer
materialIdindex of material of the model, use NaN to get all materials

References mibResize3d().

Here is the call graph for this function:

◆ plotAlphaPlot()

function mibVolRenAppController.plotAlphaPlot ( )

draw alpha plot

◆ prepareWindowForGrabFrame()

function mibVolRenAppController.prepareWindowForGrabFrame ( width,
height )

prepare window to grab a frame

Examples:

// as taken from mibSnapshotController
obj.extraController.prepareWindowForGrabFrame(width, height);
imgOut = obj.extraController.grabFrame(width, height);
obj.extraController.restoreWindowAfterGrabFrame();

◆ previewAnimation()

function mibVolRenAppController.previewAnimation ( noFrames)

preview animation

◆ recalculateAlphamap()

function mibVolRenAppController.recalculateAlphamap ( transparentVolume)

recalculate obj.volume.Alphamap

Parameters
transparentVolume[default false] when true, make the volume transparent

References transparentVolume().

Here is the call graph for this function:

◆ restoreWindowAfterGrabFrame()

function mibVolRenAppController.restoreWindowAfterGrabFrame ( )

restore widget sizes after the snapshot

◆ saveAnimationPath()

function mibVolRenAppController.saveAnimationPath ( )

save animation path to a file

◆ showHelp()

function mibVolRenAppController.showHelp ( )

show help

◆ showVolume()

function mibVolRenAppController.showVolume ( showSwitch)

toggle showing of the volume

◆ spinDataset()

function mibVolRenAppController.spinDataset ( )

spin dataset (rotate camera around the dataset)

◆ surfaceTable_CellSelection()

function mibVolRenAppController.surfaceTable_CellSelection ( indices)

callback for selection of a cell in obj.View.handles.surfaceTable

◆ surfaceTable_cm_Callback()

function mibVolRenAppController.surfaceTable_cm_Callback ( event)

callback for surfaceTable context menu

Parameters
eventa handle of the pressed button .event.Source.Tag -> surfaceTable_cm_saveSurface, save surface to a file in STL format .event.Source.Tag -> surfaceTable_cm_removeSurface, delete surface from the viewer
Required fields of event:

References stlwrite().

Here is the call graph for this function:

◆ surfaceTableCellEdit()

function mibVolRenAppController.surfaceTableCellEdit ( event)

callback for update of values in obj.View.handles.modelTable

Required fields of event:

◆ toggleViewerSettings()

function mibVolRenAppController.toggleViewerSettings ( event)

toggle switch on/off for some of the viewer parameters

Paramters
event: handle to the pressed widget
Required fields of event:

◆ transparentVolume()

function mibVolRenAppController.transparentVolume ( transparentSwitch)

make volume transparent, which still shows the overlay model

References transparentVolume().

Referenced by recalculateAlphamap(), and transparentVolume().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateAnimationNumberOfFrames()

function mibVolRenAppController.updateAnimationNumberOfFrames ( noFrames)

update number of frames in the animation

◆ updateBackgroundColor()

function mibVolRenAppController.updateBackgroundColor ( event)

update background color settings

Parameters
eventa structure event generated upon selection of the operation to perform
Required fields of event:

◆ updateCameraPosition()

function mibVolRenAppController.updateCameraPosition ( event)

References handle.isvalid.

◆ updateCameraWidgets()

function mibVolRenAppController.updateCameraWidgets ( )

update widgets that describe position of the camera

References handle.isvalid.

◆ updateColormap()

function mibVolRenAppController.updateColormap ( event)

select and update colormap

Parameter
event: a handle to the selected widget event.Source.Tag == colormapName -> string with the name of the selected colormap event.Source.Tag == invertColormap -> logical, indicating inversion of the color map
Required fields of event:

◆ updateIsovalue()

function mibVolRenAppController.updateIsovalue ( newIsovalue)

update IsosurfaceValue of the volume

◆ updateKeyFrameTable()

function mibVolRenAppController.updateKeyFrameTable ( )

update obj.View.handles.keyFrameTable

◆ updateModelTable()

function mibVolRenAppController.updateModelTable ( )

update obj.View.handles.modelTable after loading of the model

◆ updateOverlayRenderingStyle()

function mibVolRenAppController.updateOverlayRenderingStyle ( )

update rendering style for overlays

◆ updateScalingTransform()

function mibVolRenAppController.updateScalingTransform ( pixSize)

generate tform (obj.scalingTransform) to scale the dataset upon loading to have its units in um

Required fields of pixSize:

◆ updateSurfaceTable()

function mibVolRenAppController.updateSurfaceTable ( )

update obj.View.handles.surfaceTable

◆ updateVolumeRenderingStyle()

function mibVolRenAppController.updateVolumeRenderingStyle ( )

update Volume Rendering Style

Parameters
stylestring with new rendering style: VolumeRendering, MaximumIntensityProjection, MinimumIntensityProjection, GradientOpacity, Isosurface, SlicePlanes

◆ updateWidgets()

function mibVolRenAppController.updateWidgets ( )

update widgets of this window

◆ ViewListner_Callback()

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

References max.

Member Data Documentation

◆ alphaPlotHandle

mibVolRenAppController.alphaPlotHandle

handle to the alpha plot

◆ animationFilename

mibVolRenAppController.animationFilename

template for the animation filename

◆ animationPath

mibVolRenAppController.animationPath

a structure with animation path .CameraPosition - a matrix of camera positions [keyFrame, x,y,z] .CameraUpVector - a matrix of camera up vectors [keyFrame, x,y,z] .CameraTarget - a matrix of camera target positions [keyFrame, x,y,z]

◆ animationPreviewRunning

mibVolRenAppController.animationPreviewRunning

logical switch defining whether the animation is previewed

◆ BatchOpt

mibVolRenAppController.BatchOpt

a structure compatible with batch operation name of each field should be displayed in a tooltip of GUI it is recommended that the Tags of widgets match the name of the fields in this structure .Parameter - [editbox], char/string .Checkbox - [checkbox], logical value true or false .Dropdown{1} - [dropdown], cell string for the dropdown .Dropdown{2} - [optional], an array with possible options .Radio - [radiobuttons], cell string Radio1 or Radio2... .ParameterNumeric{1} - [numeric editbox], cell with a number .ParameterNumeric{2} - [optional], vector with limits [min, max] .ParameterNumeric{3} - [optional], string on - to round the value, off to do not round the value

◆ childControllers

mibVolRenAppController.childControllers

list of opened subcontrollers

◆ childControllersIds

mibVolRenAppController.childControllersIds

a cell array with names of initialized child controllers

◆ closeEvent

EVENT mibVolRenAppController.closeEvent

> Description of events event firing when window is closed

Events
closeEvent

◆ defaultView

mibVolRenAppController.defaultView

a structure with the default camera position

◆ figPosStored

mibVolRenAppController.figPosStored

a structure with stored positions of the widgets for making snapshots .mibVolRenAppFigure -> position of the main figure .mainGridLayoutRowHeights -> heights of rows in obj.View.handles.mainGridLayout

◆ keyFrameTableIndex

mibVolRenAppController.keyFrameTableIndex

index of the selected key frame

◆ listener

mibVolRenAppController.listener

a cell array with handles to listeners

◆ matlabVersion

mibVolRenAppController.matlabVersion

current version of MATLAB

◆ maxIntValue

mibVolRenAppController.maxIntValue

max integer value of the loaded volume

◆ mibModel

mibVolRenAppController.mibModel

handles to mibModel

Referenced by mibVolRenAppController().

◆ modelTableIndex

mibVolRenAppController.modelTableIndex

index of the selected material in the modelTable

◆ noOverlayMaterials

mibVolRenAppController.noOverlayMaterials

number of materials shown in the overlay

◆ overlayAlpha

mibVolRenAppController.overlayAlpha

a vector with alpha values for overlay materials

◆ overlayShownMaterials

mibVolRenAppController.overlayShownMaterials

a vector of shown (true) or hidden (false) materials in the model overlay

◆ scalingTransform

mibVolRenAppController.scalingTransform

tform to scale the dataset upon loading to have its units in um

◆ Settings

mibVolRenAppController.Settings

a structure with settings, initialized from obj.mibModel.preferences.VolRen; .volumeAlphaCurve.x = [0 .3 .7 1]; .volumeAlphaCurve.y = [1 1 0 0]; .markerSize - marker size for the alpha plot .BackgroundColor - color for the background .colormapName - a string with default colormap, or custom (not yet implemented) .colormapInvert - true/false, invert or not the colormap .animationPath - a structure with animation path .noFramesPreview - number of frames for the preview

◆ surfaceTableIndex

mibVolRenAppController.surfaceTableIndex

index of the selected row in the surfaceTable

◆ surfList

mibVolRenAppController.surfList

a cell array of generated surfaces

◆ surfListAlpha

mibVolRenAppController.surfListAlpha

an array of alpha values for the generated surfaces

◆ View

mibVolRenAppController.View

handle to the view / mibVolRenAppGUI

◆ viewer

mibVolRenAppController.viewer

handle to the main viewer widget

◆ volume

mibVolRenAppController.volume

main image volume

◆ volumeAlphaCurve

mibVolRenAppController.volumeAlphaCurve

a structure with alpha curve details .x - vector of intensity points [0 - 1] .y - value of alpha for each intensity point [0 - 1] .alphamap - calculated alpha map used in volshow .activePoint - selected point

◆ volumeColormap

mibVolRenAppController.volumeColormap

vector with the colormap

◆ volumeScaleFactor

mibVolRenAppController.volumeScaleFactor

scale factor to downsample the datasets, below 1


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