Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions examples/matRad_example15_brachy.m
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@
pln.propStf.couchAngles = [];
pln.propStf.numOfBeams = 0;
pln.numOfFractions = 1;
pln.propStf.isoCenter = matRad_getIsoCenter(cst, ct, 0);
pln.propStf.numOfRays = NaN ;


%% II.1 - view plan
% Et voila! Our treatment plan structure is ready. Lets have a look:
Expand Down Expand Up @@ -225,6 +228,7 @@
% visualize the optimized dose cubes.

resultGUI = matRad_fluenceOptimization(dij,cst,pln);

matRadGUI;

%% IV.1 Plot the Resulting Dose Slice
Expand Down
2 changes: 2 additions & 0 deletions matRad/gui/matRad_MainGUI.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,15 @@
DVHStatsWidget
eventListeners
GammaWidget


forceClose = false;
end



methods(Access = protected)

function this = createMenuBar(this)
h1 = this.guiHandle;
folder = fileparts(mfilename('fullpath'));
Expand Down
2 changes: 1 addition & 1 deletion matRad/gui/widgets/matRad_PlanWidget.m
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@
h30 = uicontrol(...
'Parent',h12,...
'Units','normalized',...
'String',{'Generic','generic_MCsquare'},...
'String',{'Generic','generic_MCsquare','HDR','LDR'},...
'TooltipString',txt,...
'Style','popupmenu',...
'Value',1,...
Expand Down
12 changes: 8 additions & 4 deletions matRad/gui/widgets/matRad_VisualizationWidget.m
Original file line number Diff line number Diff line change
Expand Up @@ -652,10 +652,14 @@ function getFromViewingWidget(this)
set(handles.sliderBeamSelection,'Min',1,'Max',1, 'Value',1,'SliderStep',[1 1]);
end

% Offset Slider (profile plot)
set(handles.sliderOffset,'Min',this.viewingWidgetHandle.OffsetMinMax(1),'Max',this.viewingWidgetHandle.OffsetMinMax(2),...
'Value',this.viewingWidgetHandle.profileOffset,...
'SliderStep',this.viewingWidgetHandle.OffsetSliderStep);
% Offset Slider (profile plot)
set(handles.sliderOffset,'Min',this.viewingWidgetHandle.OffsetMinMax(1),'Max',this.viewingWidgetHandle.OffsetMinMax(2),...
'Value',this.viewingWidgetHandle.profileOffset,...
'SliderStep',this.viewingWidgetHandle.OffsetSliderStep);





%CT Scenario Slider
if numScen > 1
Expand Down
1 change: 1 addition & 0 deletions matRad/steering/matRad_StfGeneratorBrachy.m
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ function initialize(this)
stf.numOfSeedsPerNeedle = this.needle.seedsNo;
stf.numOfNeedles = sum(this.template.activeNeedles(:));
stf.totalNumOfBixels = stf.numOfSeedsPerNeedle * stf.numOfNeedles; % means total number of seeds
stf.numOfRays = NaN;

%% generate 2D template points
% the template origin is set at its center. In the image coordinate system,
Expand Down