/// <inheritdoc />
        public void MouseDown(PickData pickData, IChartEventArg chartEventArg)
        {
            prevRelativeLocation = chartEventArg.InteractorEventArg.RelativeLocation;
            Vector3F clickDataPosition = pickData.RenderData.GetTransformRef().GetTranslation();

            prevCrossPoint = chartEventArg.CrossWithLookAtPlane(prevRelativeLocation);
        }
            public void MouseUp(PickData pickData, IChartEventArg arg)
            {
                // We're getting contour index as subindex of picked data.
                int     contourIndex = pickData.GetRoundedIndex();
                Contour contour      = contourGetter(contourIndex);

                infoLabel.IsVisible = true;
                infoLabel.Text      = $"Contour: {pickData.GetRoundedIndex()}; Level: {contour.Level:G4}";
            }
Beispiel #3
0
 public void MouseDown(PickData pickData, IChartEventArg chartEventArg)
 {
     prevRelativeLocation = chartEventArg.InteractorEventArg.RelativeLocation;
     prevCrossPoint       = chartEventArg.CrossWithLookAtPlane(prevRelativeLocation);
 }
Beispiel #4
0
 public void MouseUp(PickData pickData, IChartEventArg arg)
 {
 }
Beispiel #5
0
 public void DoubleClick(PickData pickData, IChartEventArg args)
 {
 }
Beispiel #6
0
 public void MouseEnter(IChartEventArg arg)
 {
     arg.InteractorEventArg.CursorType = InsideCursorType;
 }
Beispiel #7
0
 public void MouseLeave(IChartEventArg arg)
 {
     arg.InteractorEventArg.CursorType = CursorType.Arrow;
 }
 public void MouseEnter(IChartEventArg arg)
 {
     arg.InteractorEventArg.CursorType = CursorType.HandPointer;
     rayCasting.HighlightColor         = HighlightColor;
 }
 public void MouseLeave(IChartEventArg arg)
 {
     arg.InteractorEventArg.CursorType = CursorType.Arrow;
     rayCasting.HighlightColor         = null;
 }
Beispiel #10
0
 public void MouseEnter(IChartEventArg arg)
 {
     arg.InteractorEventArg.CursorType = CursorType.HandPointer;
     colorBeforeHightlight             = singleColorData.Color;
     singleColorData.Color             = HighlightColor;
 }
Beispiel #11
0
 public void MouseLeave(IChartEventArg arg)
 {
     arg.InteractorEventArg.CursorType = CursorType.Arrow;
     singleColorData.Color             = colorBeforeHightlight;
 }
 public void MouseEnter(IChartEventArg arg)
 {
     arg.InteractorEventArg.CursorType = CursorType.HandPointer;
 }