public void LoadData(IMouseFrame[] frames) { //Load Whisker Angle Data WhiskerAngle.LoadData(frames); List <ISingleWhiskerMeanOffset> whiskers = new List <ISingleWhiskerMeanOffset>(); foreach (IWhisker whisker in frames[0].Whiskers) { if (whisker.IsGenericPoint) { continue; } ISingleWhiskerMeanOffset singleWhisker = ModelResolver.Resolve <ISingleWhiskerMeanOffset>(); singleWhisker.Whisker = whisker; whiskers.Add(singleWhisker); } Whiskers = whiskers.ToArray(); UpdateTValue(); }
public SingleWhiskerMeanOffsetViewModel(ISingleWhiskerMeanOffset model) { Model = model; }
public SingleWhiskerMeanOffsetViewModel(ISingleWhiskerMeanOffset model) { Model = model; }