Ejemplo n.º 1
0
        /// <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}";
            }
Ejemplo n.º 3
0
 public void MouseDown(PickData pickData, IChartEventArg chartEventArg)
 {
     prevRelativeLocation = chartEventArg.InteractorEventArg.RelativeLocation;
     prevCrossPoint       = chartEventArg.CrossWithLookAtPlane(prevRelativeLocation);
 }
Ejemplo n.º 4
0
 public void MouseUp(PickData pickData, IChartEventArg arg)
 {
 }
Ejemplo n.º 5
0
 public void DoubleClick(PickData pickData, IChartEventArg args)
 {
 }
Ejemplo n.º 6
0
 public void MouseEnter(IChartEventArg arg)
 {
     arg.InteractorEventArg.CursorType = InsideCursorType;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 10
0
 public void MouseEnter(IChartEventArg arg)
 {
     arg.InteractorEventArg.CursorType = CursorType.HandPointer;
     colorBeforeHightlight             = singleColorData.Color;
     singleColorData.Color             = HighlightColor;
 }
Ejemplo n.º 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;
 }