forked from e0404/matRad
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2d41f12
commit 3fe5660
Showing
2 changed files
with
95 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
classdef matRad_GammaWidget < matRad_Widget | ||
% matRad_GammaWidget | ||
% | ||
% References | ||
% - | ||
% | ||
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
% | ||
% Copyright 2020 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/LICENSES.txt. 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. | ||
% | ||
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
|
||
|
||
properties | ||
selectedOption1; | ||
selectedOption2; | ||
criteria = [3 3]; | ||
n = 0; | ||
localglobal = 'global'; | ||
resolution; | ||
lockUpdate = false; | ||
end | ||
|
||
events | ||
|
||
end | ||
|
||
methods | ||
function this = matRad_GammaWidget(handleParent) | ||
matRad_cfg = MatRad_Config.instance(); | ||
if nargin < 2 | ||
handleParent = figure(... | ||
'Units','normalized',... | ||
'Position',[0.3 0.2 0.4 0.6],... | ||
'Visible','on',... | ||
'Color',matRad_cfg.gui.backgroundColor,... 'CloseRequestFcn',@(hObject,eventdata) figure1_CloseRequestFcn(this,hObject,eventdata),... | ||
'IntegerHandle','off',... | ||
'Colormap',[0 0 0.5625;0 0 0.625;0 0 0.6875;0 0 0.75;0 0 0.8125;0 0 0.875;0 0 0.9375;0 0 1;0 0.0625 1;0 0.125 1;0 0.1875 1;0 0.25 1;0 0.3125 1;0 0.375 1;0 0.4375 1;0 0.5 1;0 0.5625 1;0 0.625 1;0 0.6875 1;0 0.75 1;0 0.8125 1;0 0.875 1;0 0.9375 1;0 1 1;0.0625 1 1;0.125 1 0.9375;0.1875 1 0.875;0.25 1 0.8125;0.3125 1 0.75;0.375 1 0.6875;0.4375 1 0.625;0.5 1 0.5625;0.5625 1 0.5;0.625 1 0.4375;0.6875 1 0.375;0.75 1 0.3125;0.8125 1 0.25;0.875 1 0.1875;0.9375 1 0.125;1 1 0.0625;1 1 0;1 0.9375 0;1 0.875 0;1 0.8125 0;1 0.75 0;1 0.6875 0;1 0.625 0;1 0.5625 0;1 0.5 0;1 0.4375 0;1 0.375 0;1 0.3125 0;1 0.25 0;1 0.1875 0;1 0.125 0;1 0.0625 0;1 0 0;0.9375 0 0;0.875 0 0;0.8125 0 0;0.75 0 0;0.6875 0 0;0.625 0 0;0.5625 0 0],... | ||
'MenuBar','none',... | ||
'Name','MatRad Gamma Analysis',... | ||
'NumberTitle','off',... | ||
'HandleVisibility','callback',... | ||
'Tag','GammaWidget'); | ||
|
||
end | ||
this = this@matRad_Widget(handleParent); | ||
this.update(); | ||
end | ||
|
||
function this = initialize(this) | ||
|
||
end | ||
|
||
function this = update (this,~) | ||
end | ||
end | ||
|
||
methods (Access = protected) | ||
|
||
function this = createLayout(this) | ||
h89 = this.widgetHandle; | ||
|
||
matRad_cfg = MatRad_Config.instance(); | ||
|
||
this.createHandles(); | ||
end | ||
end | ||
methods | ||
function plotGamma() | ||
end | ||
end | ||
end |