diff --git a/ShoulderCase/@RotatorCuff/RotatorCuff.m b/ShoulderCase/@RotatorCuff/RotatorCuff.m index bfa4014..f4298d0 100644 --- a/ShoulderCase/@RotatorCuff/RotatorCuff.m +++ b/ShoulderCase/@RotatorCuff/RotatorCuff.m @@ -1,58 +1,45 @@ classdef RotatorCuff < handle properties SC SS IS TM anteroPosteriorImbalance = nan; shoulder; end methods function obj = RotatorCuff(shoulder) obj.shoulder = shoulder; obj.SC = Muscle(obj, "SC"); obj.SS = Muscle(obj, "SS"); obj.IS = Muscle(obj, "IS"); obj.TM = Muscle(obj, "TM"); [~, ~] = mkdir(obj.dataPath); [~, ~] = mkdir(obj.dataSlicesPath); end function output = dataPath(obj) output = fullfile(obj.shoulder.dataPath, "muscles"); end function output = dataSlicesPath(obj) output = fullfile(obj.dataPath, "oblique_slices"); end function output = summary(obj) summary = [... getTabulatedProperties(obj.SC);... getTabulatedProperties(obj.SS);... getTabulatedProperties(obj.IS);... getTabulatedProperties(obj.TM)... ]; output = summary; end - - function sliceAndSegment(obj, varargin) - obj.createSliceMatthieu(); - obj.segmentMuscles("rotatorCuffMatthieu", "autoMatthieu"); - end - - function output = measureSecond(obj) - % Call methods that can be run after measureFirst() methods has been run - % by all ShoulderCase objects. - success = Logger.timeLogExecution(... - "Rotator cuff antero-posterior imbalance: ",... - @(obj) obj.measureAnteroPosteriorImbalance(), obj); - end end end \ No newline at end of file