private void DisplayGazeLeft(GazeDataEye gazeDataEye) { Point p = new Point(gazeDataEye.GazePointOnDisplayNormalized.X, gazeDataEye.GazePointOnDisplayNormalized.Y); var circle = DrawCircle(Denormalize(p), 5, true, Brushes.Green); circle.Loaded += new RoutedEventHandler(CircleLoaded); }
public void LogEye(string eyeName, GazeDataEye eye) { LogLine(MakeEyeLabel(eyeName, "EyePositionFromEyeTrackerMM"), eye.EyePositionFromEyeTrackerMM.ToString()); LogLine(MakeEyeLabel(eyeName, "EyePostitionInTrackBoxNormalized"), eye.EyePositionInTrackBoxNormalized.ToString()); LogLine(MakeEyeLabel(eyeName, "GazePointFromEyeTrackerMM"), eye.GazePointFromEyeTrackerMM.ToString()); LogLine(MakeEyeLabel(eyeName, "GazePointOnDisplayNormalized"), eye.GazePointOnDisplayNormalized.ToString()); }
private void DisplayGazeRight(GazeDataEye gazeDataEye) { Point p = new Point(gazeDataEye.GazePointOnDisplayNormalized.X, gazeDataEye.GazePointOnDisplayNormalized.Y); var circle = DrawCircle(Denormalize(p), 5, true, Brushes.Red); circle.Loaded += new RoutedEventHandler(CircleLoaded); }
private void DisplayEyeRight(GazeDataEye gazeDataEye) { Point p = new Point(1 - gazeDataEye.EyePositionInTrackBoxNormalized.X, gazeDataEye.EyePositionInTrackBoxNormalized.Y); lastDrawedRight = DrawCircle(Denormalize(p), (1 - gazeDataEye.EyePositionInTrackBoxNormalized.Z) * 50, true, Brushes.Red); }
private void DisplayEyeLeft(GazeDataEye gazeDataEye) { Point p = new Point(1 - gazeDataEye.EyePositionInTrackBoxNormalized.X, gazeDataEye.EyePositionInTrackBoxNormalized.Y); lastDrawedLeft = DrawCircle(Denormalize(p), (1 - gazeDataEye.EyePositionInTrackBoxNormalized.Z) * 50, true, Brushes.Green); }