Пример #1
0
 /// <summary>
 /// Update the perspective view parameters and replot
 /// </summary>
 private void UpdatePointOfView()
 {
     _panel.DefaultView.SetDeg(_cameraView.phi, _cameraView.rho, _cameraView.distance);
     hScrollBar_Phi.Value         = (int)(_cameraView.phi * 100.0);
     vScrollBar_Rho.Value         = (int)(_cameraView.rho * 100.0);
     numericUpDown_phi.Value      = (decimal)_cameraView.phi;
     numericUpDown_rho.Value      = (decimal)_cameraView.rho;
     numericUpDown_distance.Value = (decimal)_cameraView.distance;
     _panel.ResetView();
     _panel.Refresh();
 }