/// <summary> /// パンとスケールの設定 /// </summary> /// <param name="probNo"></param> /// <param name="Camera"></param> private static void setupPanAndScale(int probNo, CCamera Camera) { if (probNo == 4) { // 表示位置調整 Camera.MousePan(0, 0, -0.10, 0.50); double tmp_scale = 0.8; Camera.SetScale(tmp_scale); } else if (probNo == 5) { // 表示位置調整 Camera.MousePan(0, 0, 0.38, 0); double tmp_scale = 1.4; Camera.SetScale(tmp_scale); } else { // 表示位置調整 Camera.MousePan(0, 0, 0.38, 0); double tmp_scale = 1.3; Camera.SetScale(tmp_scale); } }
/// <summary> /// パンとスケールの設定 /// </summary> /// <param name="probNo"></param> /// <param name="Camera"></param> private static void setupPanAndScale(int probNo, bool IsSolveStraightWg, CCamera Camera) { if (probNo == 0 || IsSolveStraightWg) { Camera.MousePan(0, 0, -0.1, 0.50); double tmp_scale = 0.7; Camera.SetScale(tmp_scale); } else if (probNo == 1) { Camera.MousePan(0, 0, -0.1, 0.50); double tmp_scale = 0.7; Camera.SetScale(tmp_scale); } else if (probNo == 3) { Camera.MousePan(0, 0, -0.1, 0.50); double tmp_scale = 0.7; Camera.SetScale(tmp_scale); } else { Camera.MousePan(0, 0, -0.1, 0.50); double tmp_scale = 1.0; Camera.SetScale(tmp_scale); } }
/// <summary> /// パンとスケールの設定 /// </summary> /// <param name="probNo"></param> /// <param name="Camera"></param> private static void setupPanAndScale(int probNo, CCamera Camera) { if (probNo == 0) { Camera.MousePan(0, 0, -0.14, 0.45); double tmp_scale = 0.8; Camera.SetScale(tmp_scale); } else if (probNo == 1) { Camera.MousePan(0, 0, 0.14, 0.42); double tmp_scale = 0.85; Camera.SetScale(tmp_scale); } else if (probNo == 2) { Camera.MousePan(0, 0, -0.1, 0.35); double tmp_scale = 0.9; Camera.SetScale(tmp_scale); } else if (probNo == 3) { Camera.MousePan(0, 0, 0.06, 0.53); double tmp_scale = 0.8; Camera.SetScale(tmp_scale); } else { Camera.MousePan(0, 0, -0.1, 0.25); double tmp_scale = 1.0; Camera.SetScale(tmp_scale); } }
/// <summary> /// パンとスケールの設定 /// </summary> /// <param name="probNo"></param> /// <param name="Camera"></param> private static void setupPanAndScale(int probNo, CCamera Camera) { if (probNo == 0) { Camera.MousePan(0, 0, -0.15, 0.3); double tmp_scale = 1.2; Camera.SetScale(tmp_scale); } else if (probNo == 1) { Camera.MousePan(0, 0, -0.05, 0.5); double tmp_scale = 0.7; Camera.SetScale(tmp_scale); } else if (probNo == 4 || probNo == 5) { Camera.MousePan(0, 0, -0.15, 0.27); double tmp_scale = 1.18; Camera.SetScale(tmp_scale); } else if (probNo == 6 || probNo == 7) { Camera.MousePan(0, 0, -0.15, 0.27); double tmp_scale = 1.18; Camera.SetScale(tmp_scale); } else if (probNo == 8 || probNo == 9 || probNo == 11 || probNo == 12 || probNo == 15) { Camera.MousePan(0, 0, 0.06, 0.53); double tmp_scale = 0.8; Camera.SetScale(tmp_scale); } else if (probNo == 14) { //Camera.MousePan(0, 0, 0.00, 0.48); //double tmp_scale = 0.9; //Camera.SetScale(tmp_scale); Camera.MousePan(0, 0, -0.15, 0.27); double tmp_scale = 1.10; Camera.SetScale(tmp_scale); } else if (probNo == 10) { Camera.MousePan(0, 0, 0.14, 0.55); double tmp_scale = 0.8; Camera.SetScale(tmp_scale); } else if (probNo == 13) { Camera.MousePan(0, 0, 0.06, 0.53); double tmp_scale = 0.8; Camera.SetScale(tmp_scale); } else { Camera.MousePan(0, 0, -0.05, 0.5); double tmp_scale = 0.8; Camera.SetScale(tmp_scale); } }
/// <summary> /// パンとスケールの設定 /// </summary> /// <param name="probNo"></param> /// <param name="Camera"></param> private static void setupPanAndScale(int probNo, CCamera Camera) { { // 表示位置調整 Camera.MousePan(0, 0, 0.7, 1.3); double tmp_scale = 0.5; Camera.SetScale(tmp_scale); } }