Example #1
0
        public void UserEventCallback(eUserEvent evt, double delta)
        {
            switch (evt)
            {
            case eUserEvent.MouseDragX:
                SampleDisplay.ProcessUserAction(eUserAction.XOffset, delta);
                StrengthDisplay.ProcessUserAction(eUserAction.XOffset, delta);
                break;

            case eUserEvent.MouseWheelUpShift:
                SampleDisplay.ProcessUserAction(eUserAction.XZoomIn, delta);
                StrengthDisplay.ProcessUserAction(eUserAction.XZoomIn, delta);
                break;

            case eUserEvent.MouseWheelDownShift:
                SampleDisplay.ProcessUserAction(eUserAction.XZoomOut, delta);
                StrengthDisplay.ProcessUserAction(eUserAction.XZoomOut, delta);
                break;
            }
        }
Example #2
0
 public void ProcessBurst(double[] signal, double[] strength)
 {
     SampleDisplay.ClearProcessData(signal);
     StrengthDisplay.ClearProcessData(strength);
 }