public override void MouseLeave() { if (m_Tracker.SupportsManualCorrections) { m_VideoController.SetPictureBoxCursor(CustomCursors.PanCursor); } m_State = CorrectTrackingState.Normal; }
public override void MouseDown(Point location) { if (m_Tracker.SupportsManualCorrections && m_State == CorrectTrackingState.Normal) { m_State = CorrectTrackingState.Correcting; m_VideoController.SetPictureBoxCursor(CustomCursors.PanEnabledCursor); m_X0 = location.X; m_Y0 = location.Y; } }
internal void Initialize(ReduceLightCurveOperation videoOperation, ITracker tracker, VideoController videoController) { m_LightCurvesVideoOperation = videoOperation; m_VideoController = videoController; m_Tracker = tracker; if (m_Tracker.SupportsManualCorrections) { m_VideoController.SetPictureBoxCursor(CustomCursors.PanCursor); } m_State = CorrectTrackingState.Normal; m_Mode = CorrectTrackingMode.All; for (int i = 0; i < tracker.TrackedObjects.Count; i++) { m_LightCurvesVideoOperation.SetManualTrackingCorrection(i, 0, 0); } m_VideoController.RefreshCurrentFrame(); }
public override void MouseDown(Point location) { if (m_Tracker.SupportsManualCorrections && m_State == CorrectTrackingState.Normal) { m_State = CorrectTrackingState.Correcting; m_VideoController.SetPictureBoxCursor(CustomCursors.PanEnabledCursor); m_X0 = location.X; m_Y0 = location.Y; } }
internal void Initialize(ReduceLightCurveOperation videoOperation, ITracker tracker, VideoController videoController) { m_LightCurvesVideoOperation = videoOperation; m_VideoController = videoController; m_Tracker = tracker; if (m_Tracker.SupportsManualCorrections) m_VideoController.SetPictureBoxCursor(CustomCursors.PanCursor); m_State = CorrectTrackingState.Normal; m_Mode = CorrectTrackingMode.All; for (int i = 0; i < tracker.TrackedObjects.Count; i++) { m_LightCurvesVideoOperation.SetManualTrackingCorrection(i, 0, 0); } m_VideoController.RefreshCurrentFrame(); }
public override void MouseUp(Point location) { if (m_Tracker.SupportsManualCorrections) m_VideoController.SetPictureBoxCursor(CustomCursors.PanCursor); m_State = CorrectTrackingState.Normal; }