From 93c3a89a6dc2b909a5ddadfdf6eb0f5ff4a2f686 Mon Sep 17 00:00:00 2001 From: shefengchun <1077478963@qq.com> Date: Fri, 3 Feb 2023 20:05:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=20=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E6=8A=95=E5=BD=B1=E6=9C=BA=20=E9=80=89=E6=8B=A9=E8=B0=83?= =?UTF-8?q?=E8=8A=82=E9=A1=B5=E9=9D=A2=20=E9=80=89=E6=8B=A9=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FusionSettings/DensityCorrection.vue | 29 +++-- .../FusionSettings/FourPointCalibration.vue | 1 + .../FusionSettings/FusionLocale.vue | 33 +++-- .../FusionSettings/GridSettings.vue | 2 +- .../FusionSettings/SurfaceCorrection.vue | 1 + src/components/FusionSettingsDialog.vue | 117 +++++++++++------- 6 files changed, 114 insertions(+), 69 deletions(-) diff --git a/src/components/FusionSettings/DensityCorrection.vue b/src/components/FusionSettings/DensityCorrection.vue index 90d89f8..295648c 100644 --- a/src/components/FusionSettings/DensityCorrection.vue +++ b/src/components/FusionSettings/DensityCorrection.vue @@ -5,43 +5,43 @@

V1

V2

V3

V4

V5

←H1→ ←H2→ ←H3→ ←H4→ ←H5→
@@ -693,8 +693,17 @@ export default defineComponent({ } save_set_cache(); }; + const activeMouseDown = (index: number) => { + isactivearray.value[index] = true; + if(index>=5){ + set?.SetBlendingOption("blending_grids_select_point",`density_h:${index-4}`) + }else{ + set?.SetBlendingOption("blending_grids_select_point",`density_v:${index+1}`) + } + }; initialization(); return { + activeMouseDown, model, options, value, diff --git a/src/components/FusionSettings/FourPointCalibration.vue b/src/components/FusionSettings/FourPointCalibration.vue index 8e79fb7..660a574 100644 --- a/src/components/FusionSettings/FourPointCalibration.vue +++ b/src/components/FusionSettings/FourPointCalibration.vue @@ -307,6 +307,7 @@ export default defineComponent({ }); const activeMouseDown = (index: number) => { isactivearray.value[index] = true; + set?.SetBlendingOption("blending_grids_select_point",`4:${index+1}`) }; const mouseUpHandler = (index: number) => { isactivearray.value[index] = false; diff --git a/src/components/FusionSettings/FusionLocale.vue b/src/components/FusionSettings/FusionLocale.vue index b310983..4f8d7ce 100644 --- a/src/components/FusionSettings/FusionLocale.vue +++ b/src/components/FusionSettings/FusionLocale.vue @@ -18,7 +18,7 @@ (val !== null && val !== '') || $t('Please enter a number'), (val) => - (val > -1 && val < config.height) || $t('Please enter 0-100'), + (val >= 0 && val < config.height) || $t('Please enter 0-100'), ]" />
@@ -40,7 +40,7 @@ (val !== null && val !== '') || $t('Please enter a number'), (val) => - (val > -1 && val < config.width) || $t('Please enter 0-100'), + (val >= 0 && val < config.width) || $t('Please enter 0-100'), ]" /> @@ -58,7 +58,7 @@ (val !== null && val !== '') || $t('Please enter a number'), (val) => - (val > -1 && val < config.width) || $t('Please enter 0-100'), + (val >= 0 && val < config.width) || $t('Please enter 0-100'), ]" />
{{ $t('Whether to operate synchronously') }} - (val > -1 && val < config.height) || $t('Please enter 0-100'), + (val >= 0 && val < config.height) || $t('Please enter 0-100'), ]" />
@@ -95,26 +95,26 @@

{{ $t("Set Fusion Band Parameters") }}

-
-
+ -
+

alpha

-
-
+ -
+

p

-
-
+ -
+

gamma

@@ -129,6 +129,13 @@ .boder { border: 2px solid #0000; } +.btn_bottom{ + margin-bottom: 0.5rem; +} +.btn_top{ + margin-top: 0.3rem; +} +