public void UpdateFromP1P4(object sender, RoutedEventArgs e) { RealGridData grid = (RealGridData)_gridListView.SelectedItem; Vector3 p1 = new Vector3(_tbP1X.CurrentValue, _tbP1Y.CurrentValue, _tbP1Z.CurrentValue); Vector3 p4 = new Vector3(_tbP4X.CurrentValue, _tbP4Y.CurrentValue, _tbP4Z.CurrentValue); Vector3 p1p = new Vector3(_tbP1pX.CurrentValue, _tbP1pY.CurrentValue, _tbP1pZ.CurrentValue); Vector3 p4p = new Vector3(_tbP4pX.CurrentValue, _tbP4pY.CurrentValue, _tbP4pZ.CurrentValue); grid.FillFromP1P4(p1, p4, p1p, p4p); }
public CalibrationPoint() { _img = new Vector2(); _real = new Vector3(); _realGridPos = new TPoint2D<int>(-1, -1); }