gui

Main GUI

The main graphical user interface of matRad is implemented in the class matRad_MainGUI. It provides access to all functionalities of matRad and is the central hub for visualization and interaction with the treatment planning workflow.

It is composed of several widgets that are implemented in the matRad.gui.widgets submodule. The GUI can also be started with matRadGUI() from the root folder.

class matRad_MainGUI(varargin)

Bases: handle

matRad_MainGUI Graphical User Interface configuration class This Class is used to create the main GUI interface where all the widgets are called and created.


Copyright 2019-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


Panel for Main Widget

Property Summary
guiHandle
lastStoragePath = []
LogoWidget
WorkflowWidget
PlanWidget
OptimizationWidget
VisualizationWidget
ViewerOptionsWidget
StructureVisibilityWidget
InfoWidget
ViewingWidget
DVHStatsWidget
eventListeners
GammaWidget
forceClose = false
Method Summary
delete(this)
close(this)
update(this, evt)
updateWidgets(this, evt)
updateButtons(this)

disp([‘Plot Changed ‘ datestr(now,’HH:MM:SS.FFF’)]); %Debug update the visualization and viewer options widgets

toolbarLoad_ClickedCallback(this, hObject, eventdata)
toolbarSave_ClickedCallback(this, hObject, eventdata)

handles=this.handles;

uipushtool_screenshot_ClickedCallback(this, hObject, eventdata)

hObject handle to uipushtool_screenshot (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

uitoggletool8_ClickedCallback(this, hObject, eventdata)

hObject handle to uitoggletool8 (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

toolbarLegend_ClickedCallback(this, hObject, eventdata)
toolbarZoomIn_ClickedCallback(this, hObject, eventdata)
toolbarZoomOut_ClickedCallback(this, hObject, eventdata)
toolbarPan_ClickedCallback(this, hObject, eventdata)
toolbarCursor_ClickedCallback(this, hObject, eventdata)
gammaIndex_ClickedCallback(this, hObject, eventdata)
theme_ClickedCallback(this, hObject, eventdata)
figure1_CloseRequestFcn(this, hObject, ~)

Basic GUI functions

class matRad_InfoWidget_uiwrapper(handleParent)

Bases: matRad_Widget

Class that defines and deploys the infoWidget to display matRad information


Copyright 2019-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


class matRad_Theme

As MATLAB / Octave sets the abstract properties before the constructor is called, we can validate them here

Property Summary
name

Name of the Theme

backgroundColor

background color in RGB [0,1]

elementColor

element color in RGB [0,1]

textColor

element color in RGB [0,1]

highlightColor

element color in RGB [0,1]

fontSize

font size

fontWeight

font Weight

fontName

font name

author

credit for theme

description

theme description

Method Summary
validate(this)

Do not use matRad_cfg here!

struct(this)
matRad_addListenerOctave(hSource, eventName, callback)

matRad_addListenerOctave is a function that creates and accumulates new Listeners in eventMap


Copyright 2019-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


matRad function to obtain matRad logo image data adhering to theme

call

matRad_getLogoDKFZ() matRad_getLogoDKFZ(scale)

Input:

scale – (optional, default 1): either scalar resizing factor or new image size that should be used in pixels

Output:
  • im – RGB image

  • alpha – alpha channel

References

Copyright 2024-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


class matRad_WorkspaceChangedEvent(varargin)

Bases: handle

matRad_WorkspaceChangedEvent class Base class to store event data (no subclass yet for compatability)


Copyright 2019-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


matRad_WorkspaceChangedEvent Construct the event varargin is the cell array of arguments (strings) containing the variable names

Property Summary
changedVariables

Cell array with changed variable names

class matRad_Widget(handleParent)

Bases: handle

Property Summary
widgetHandle

Holds parent widget handle

handles = struct([])

Holds all handles in parent handle

isInUifigure
updateLock = false

Property to lock updating of the widget

Method Summary
initialize(this)
changedWorkspace(this, varargin)
showError(this, Message, ME)
showWarning(this, Message, ME)
showMessage(this, message, varargin)
enableWindowCallback(this, enable)
delete(this)
close(this)
update(this, evt)
matRad_applyThemeToWaitbar(hWaitbar)

matRad_applyThemeToDlg is a helper function to apply a theme to a waitbar


Copyright 2024-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


matRad_applyThemeToDlg(hDlgBox)

matRad_applyThemeToDlg is a helper function to apply a theme tho dialog boxes


Copyright 2024-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


matRad_notifyOctave(hObject, eventName, evt)

Experimental Function to notify on event for OCTAVE


Copyright 2019-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


matRad_isUifigure(hFig)

Checks if the figure was created with uifigure


Copyright 2024-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


class matRad_WorkspaceChangedEventData(varargin)

Bases: matRad_WorkspaceChangedEvent, event.EventData

Class matRad_WorkspaceChangedEventData EventData subclass to store changed variables when widget changes the workspace


Copyright 2019-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


matRad_WorkspaceChangedEvent Construct the event varargin is the cell array of arguments (strings) containing the variable names

matRad_getLogoDKFZ(scale)

matRad function to obtain DKFZ logo image data adhering to theme

call

matRad_getLogoDKFZ() matRad_getLogoDKFZ(scale)

Input:

scale – (optional, default 1): either scalar resizing factor or new image size that should be used in pixels

Output:
  • im – RGB image

  • alpha – alpha channel

References

Copyright 2024-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


Widgets

class matRad_LogoWidget(handleParent)

Bases: matRad_Widget

matRad_InfoWidget class to display GUI logo widget

References

Copyright 2020-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


class matRad_StatisticsWidget(handleParent)

Bases: matRad_Widget

matRad_StatisticsWidget class to generate GUI widget to display plan statistics.

References

Copyright 2020-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


Property Summary
selectedCube = []
Method Summary
showStatistics(this)
class matRad_OptimizationWidget(handleParent)

Bases: matRad_Widget

matRad_OptimizationWidget class to generate GUI widget to set optimization options

References

Copyright 2020-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


Method Summary
generateCstTable(this, cst)
widget_SizeChangedFcn(this, hObject, eventdata)

hObject handle to h1 (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

btObjAdd_Callback(this, hObject, ~)

hObject handle to btnuiTableAdd (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

btObjRemove_Callback(this, hObject, ~)

hObject handle to btnuiTableAdd (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

changeObjFunction_Callback(this, hObject, ~)

hObject handle to btnuiTableAdd (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

changeRobustness_Callback(this, hObject, ~)
editCstParams_Callback(this, hObject, ~)
editObjParam_Callback(this, hObject, ~)

hObject handle to btnuiTableAdd (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

cstTableSlider_Callback(this, ~, ~)

hObject handle to cstTableSlider (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

class matRad_WorkflowWidget(handleParent)

Bases: matRad_Widget

matRad_WorkflowWidget class to generate GUI widget to run through the treatment planning workflow

References

Copyright 2020-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


Property Summary
savedResultTag = {}
Method Summary
initialize(this)
btnLoadMat_Callback(this, hObject, event)
addControlToGrid(this, gridPos, varargin)
btnCalcDose_Callback(this, hObject, eventdata)

hObject handle to btnCalcDose (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

btnOptimize_Callback(this, hObject, eventdata)

hObject handle to btnOptimize (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

btnLoadDicom_Callback(this, hObject, event)

hObject handle to btnLoadDicom (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

btnRefresh_Callback(this, hObject, event)

notify so all widgets refresh

pushbutton_recalc_Callback(this, hObject, eventdata)
btnSaveToGUI_Callback(this, hObject, eventdata)
SaveResultToGUI(this, ~, ~)
btn_export_Callback(this, hObject, eventdata)

hObject handle to btn_export (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

importDoseButton_Callback(this, hObject, eventdata)

hObject handle to importDoseButton (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

pushbutton_importFromBinary_Callback(this, hObject, eventdata)

hObject handle to pushbutton_importFromBinary (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

exportDicomButton_Callback(this, hObject, eventdata)

hObject handle to exportDicom (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

CheckOptimizerStatus(this, usedOptimizer, OptCase)
class matRad_3DWidget(handleParent)

Bases: matRad_ViewingWidget

Property Summary
viewingWidgetHandle
Method Summary
initialize(this)
plot3D(this)
class matRad_PlanWidget(handleParent)

Bases: matRad_Widget

matRad_PlanWidget class to generate GUI widget to set and get plan parameters

References

Copyright 2020-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


Property Summary
State = false
Machines
Optimizations
hTissueWindow
currentMachine
plotPlan = false
modalities = {'photons','protons','carbon','helium','brachy','VHEE'}
availableProjections = {'physicalDose';'RBExDose';'effect';'BED';}
Method Summary
switchEnables(this)
manageRadModeSpecificDisplay(this)
popupRadMode_Callback(this, hObject, eventdata)
editIsocenter_Callback(this, hObject, eventdata)
applyCtGrid_callback(this, hObject, eventdata)
popUpMenuSequencer_Callback(this, hObject, eventdata)
popUpMachine_Callback(this, hObject, eventdata)

MOEGLICHER FEHLER WEGEN VALUE WERT!

btnSetTissue_Callback(this, hObject, eventdata)
popMenuBioModel_Callback(this, hObject, eventdata)
popMenuMultScen_Callback(this, hObject, eventdata)
popMenuQuantityOpt_Callback(this, hObject, eventdata)

Callback for the quantity optimization popup menu.

tissueTable_CellEditCallback(this, hObject, eventdata)
getMachines(this)

matRad_cfg = MatRad_Config.instance(); seach for availabes machines

parseStringAsNum(this, stringIn, isVector)
checkRadiationComposition(this)
SaveTissueParameters(this, ~, ~)
class matRad_exportDicomWidget(handleParent)

Bases: matRad_Widget

matRad_exportDicomWidget class to generate GUI widget to export plan to dicom files

References

Copyright 2020-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


Property Summary
variables = {'ct','cst','resultGUI'}

variables to export

Method Summary
initialize(this)
btn_export_Callback(this, hObject, event)
btn_cancel_Callback(this, hObject, event, guidata)
pushbutton_dir_export_browse_Callback(this, hObject, event)
edit_dir_export_Callback(this, hObject, event)
class matRad_VisualizationWidget(handleParent)

Bases: matRad_Widget

matRad_VisualizationWidget class to generate GUI widget to set viewing options

References

Copyright 2020-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


Property Summary
viewingWidgetHandle
dvhStatWidgetHandle
Method Summary
initialize(this)
class matRad_StructureVisibilityWidget(handleParent)

Bases: matRad_Widget

matRad_StructureVisibilityWidget class to generate GUI widget to set visibility of structure in viewing widget

References

Copyright 2020-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


class matRad_ViewingWidget(handleParent)

Bases: matRad_Widget

matRad_ViewingWidget class to generate GUI widget to display plan dose distributions and ct

References

Copyright 2020-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


Property Summary
plane = 3
slice = 1
selectedBeam = 1
numOfBeams = 1
profileOffset = 0
OffsetSliderStep
OffsetMinMax
typeOfPlot = 1
colorData
doseColorMap = 'jet'
ctColorMap = 'bone'
cMapSize = 64
ctScen = 1
plotCT = true
plotContour = true
plotIsoCenter = true
plotPlan = false
plotDose = true
plotIsoDoseLines = true
plotIsoDoseLinesLabels = false
plotLegend = false
plotColorBar = true
ProfileType = 'lateral'
SelectedDisplayOption = 'physicalDose'
SelectedDisplayAllOptions = ''
CutOffLevel = 0.01
dispWindow = cell(3,2)
doseOpacity = 0.6
IsoDose_Levels = []
NewIsoDoseFlag = true
cBarHandle
dcmHandle
panHandle
zoomHandle
legendHandle
scrollHandle
lockColorSettings = false
evt

plotlegend=false;

IsoDose_Contours

only updated from within this class

VOIPlotFlag
DispInfo
AxesHandlesVOI
cst
vIsoCenter
sliceContourLegend
initialized = false
Method Summary
initialize(this)
notifyPlotUpdated()

handle environment

UpdatePlot(this)
updateIsoDoseLineCache(this)
dataCursorUpdateFunction(this, hObject, eventdata)%event_obj)

Display the position of the data cursor obj Currently not used (empty) event_obj Handle to event object output_txt Data cursor text string (string or cell array of strings).

matRadScrollWheelFcn(this, src, event)
legendToggleFunction(this, src, event)
colorBarToggleFunction(this, src, event)
initValues(this)
updateValues(this)
updateDisplaySelection(this, visSelection)

Lock triggering an update during isoline caching

tryVisQuantityFromPln(~, default)
exportSlice(this, filename, varargin)
class matRad_DVHStatsWidget(handleParent)

Bases: matRad_Widget

Property Summary
selectedDisplayOption
dvhWidgetHandle = []
statWidgetHandle = []
Method Summary
removeOverlap(this)

Clear previous plotted objects

class matRad_importWidget(handleParent)

Bases: matRad_Widget

matRad_importWidget class to generate GUI widget to import various formats : dicom, nrrd, etc.

References

Copyright 2020-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


Method Summary
initialize(this)
handles = this.handles;

this.handles = handles;

handles = guidata(this.widgetHandle); handles.output = this.widgetHandle; guidata(this.widgetHandle, handles);

edit_ctPath_Callback(this, hObject, event)
pushbutton_ctPath_Callback(this, hObject, event)
listbox_maskPaths_Callback(this, hObject, event)
pushbutton_addMaskPaths_Callback(this, hObject, event)
showCheckDialog(this, cst)
pushbutton_import_Callback(this, hObject, event)
pushbutton_addMaskFolders_Callback(this, hObject, event)
checkbox_huConvert_Callback(this, hObject, event)
edit_hlut_Callback(this, hObject, event)

bleibt leer

pushbutton_hlutFile_Callback(this, hObject, event)
class matRad_InfoWidget(handleParent)

Bases: matRad_Widget

matRad_InfoWidget class to generate GUI widget to display system and version information

References

Copyright 2020-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


class matRad_DVHWidget(handleParent)

Bases: matRad_Widget

matRad_DVHWidget class to generate GUI widget to display DVH

References

Copyright 2020-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


Property Summary
selectedCube = []
dvhAx
Method Summary
removeOverlap(this)

Clear previous plotted objects from the figure

initialize(this)
showDVH(this)
class matRad_exportWidget(handleParent)

Bases: matRad_Widget

Method Summary
btn_export_Callback(this, hObject, event)
btn_cancel_Callback(this, hObject, event, guidata)
checkbox_CT_Callback(this, hObject, event)
checkbox_dose_Callback(this, hObject, event)
pushbutton_dir_export_browse_Callback(this, hObject, event)
edit_dir_export_Callback(this, hObject, event)
popupmenu_extension_Callback(this, hObject, event)
checkbox_Compress_Callback(this, hObject, event)
class matRad_ViewerOptionsWidget(handleParent)

Bases: matRad_Widget

matRad_ViewerOptionsWidget class to generate GUI widget to set options for the plan ViewingWidget

References

Copyright 2020-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


Property Summary
viewingWidgetHandle = []
colormapLocked = false
windowPresets
Method Summary
initialize(this)
popupmenu_chooseColorData_Callback(this, hObject, ~)

hObject handle to popupmenu_chooseColorData (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

slider_windowCenter_Callback(this, hObject, event)

hObject handle to slider_windowCenter (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

popupmenu_chooseColormap_Callback(this, hObject, eventdata)

hObject handle to popupmenu_chooseColormap (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

edit_windowRange_Callback(this, hObject, eventdata)

hObject handle to edit_windowRange (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

edit_windowCenter_Callback(this, hObject, eventdata)

hObject handle to edit_windowCenter (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

edit_windowWidth_Callback(this, hObject, eventdata)

hObject handle to edit_windowWidth (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

sliderOpacity_Callback(this, hObject, eventdata)

Callback for the opacity slider.

hObject: handle to sliderOpacity (see GCBO) eventdata: reserved - to be defined in a future version of MATLAB

popupmenu_windowPreset_Callback(this, hObject, event)

hObject handle to popupmenu_windowPreset (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

slider_windowWidth_Callback(this, hObject, eventdata)

hObject handle to slider_windowWidth (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

checkbox_lockColormap_Callback(this, hObject, ~)

hObject handle to checkbox_lockColormap (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

btnSetIsoDoseLevels_Callback(this, hObject, eventdata)
UpdateColormapOptions(this)
UpdateButtonState(this, state)

state is on or off

getFromViewingWidget(this)
class matRad_importDicomWidget(handleParent)

Bases: matRad_Widget

matRad_importDicomWidget class to generate GUI widget to import dicom files

References

Copyright 2020-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


MATRAD_IMPORTDICOMWIDGET Construct an instance of this class

Property Summary
importer
Method Summary
initialize(this)
browse_button_Callback(this, hObject, eventdata)
patient_listbox_Callback(this, hObject, eventdata)
import_button_Callback(this, hObject, eventdata)
cancel_button_Callback(this, hObject, eventdata)
rescan_button_Callback(this, hObject, eventdata)
SeriesUID_radiobutton_Callback(this, hObject, eventdata)
SeriesNumber_radiobutton_Callback(this, hObject, eventdata)
doseseries_listbox_Callback(this, hObject, eventdata)
rtplan_listbox_Callback(this, hObject, eventdata)
dir_path_field_Callback(this, hObject, eventdata)
checkPatientName_Callback(this, hObject, eventdata)
checkUseRTdoseGrid_Callback(this, hObject, eventdata)

hObject handle to checkbox3 (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

scanFolder(this, hObject, eventdata)
class matRad_GammaWidget(handleParent)

Bases: matRad_Widget

matRad_GammaWidget : GUI widget for gamma index based comparisons of dose cubes stored within resultGUI struct.

References

Copyright 2020-2026 the matRad development team.

This file is part of the matRad project. It is subject to the license terms in the LICENSE file found in the top-level directory of this distribution and at https://github.com/e0404/matRad/LICENSE.md. No part of the matRad project, including this file, may be copied, modified, propagated, or distributed except according to the terms contained in the LICENSE file.


Property Summary
SelectedDisplayOption1 = 'physicalDose'
SelectedDisplayOption2 = 'physicalDose'
SelectedDisplayAllOptions = {}
criteria = [33]
n = 0
localglobal = 'global'
resolution
lockUpdate = false
maxSlice
slice
gammaCube
gammaPassRateCell
updated = false
normalization = {'local','global'}
Method Summary
initialize(this)
popupNormalization_Callback(this, hObject, eventdata)
popupSelectedDisplayOption1_Callback(this, hObject, eventdata)
popupSelectedDisplayOption2_Callback(this, hObject, eventdata)
editResolution_Callback(this, hObject, ~)
editGammaCrit_Callback(this, hObject, ~)
editInterpolations_Callback(this, hObject, ~)
sliderSlice_Callback(this, hObject, ~)

hObject handle to sliderSlice (see GCBO) eventdata reserved - to be defined in a future version of MATLAB handles structure with handles and user data (see GUIDATA)

calcGamma(this)
plotGamma(this)