/// <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}"; }
public void MouseDown(PickData pickData, IChartEventArg chartEventArg) { prevRelativeLocation = chartEventArg.InteractorEventArg.RelativeLocation; prevCrossPoint = chartEventArg.CrossWithLookAtPlane(prevRelativeLocation); }
public void MouseUp(PickData pickData, IChartEventArg arg) { }
public void DoubleClick(PickData pickData, IChartEventArg args) { }
public void MouseEnter(IChartEventArg arg) { arg.InteractorEventArg.CursorType = InsideCursorType; }
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; }
public void MouseEnter(IChartEventArg arg) { arg.InteractorEventArg.CursorType = CursorType.HandPointer; colorBeforeHightlight = singleColorData.Color; singleColorData.Color = HighlightColor; }
public void MouseLeave(IChartEventArg arg) { arg.InteractorEventArg.CursorType = CursorType.Arrow; singleColorData.Color = colorBeforeHightlight; }
public void MouseEnter(IChartEventArg arg) { arg.InteractorEventArg.CursorType = CursorType.HandPointer; }