matRad computation of VOI contours if not precomputed call cst = matRad_computeVoiContoursWrapper(ct,cst) input: cst: matRad cst struct ct: matRad ct struct output: cst: matRad cst struct with VOI contours References - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright 2017 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. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0001 function cst = matRad_computeVoiContoursWrapper(cst,ct) 0002 % matRad computation of VOI contours if not precomputed 0003 % 0004 % call 0005 % cst = matRad_computeVoiContoursWrapper(ct,cst) 0006 % 0007 % input: 0008 % cst: matRad cst struct 0009 % ct: matRad ct struct 0010 % 0011 % output: 0012 % cst: matRad cst struct with VOI contours 0013 % 0014 % References 0015 % - 0016 % 0017 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0018 % 0019 % Copyright 2017 the matRad development team. 0020 % 0021 % This file is part of the matRad project. It is subject to the license 0022 % terms in the LICENSE file found in the top-level directory of this 0023 % distribution and at https://github.com/e0404/matRad/LICENSES.txt. No part 0024 % of the matRad project, including this file, may be copied, modified, 0025 % propagated, or distributed except according to the terms contained in the 0026 % LICENSE file. 0027 % 0028 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0029 0030 if size(cst,2) < 7 0031 cst = matRad_computeVoiContours(ct,cst); 0032 else 0033 for i = 1:size(cst,1) 0034 if isempty(cst{i,7}) 0035 cst = matRad_computeVoiContours(ct,cst); 0036 break 0037 end 0038 end 0039 end