@kq_npm/client3d_webgl_vue 4.5.38 → 4.5.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adddata/index.js +285 -193
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +45 -14
- package/boxclip/index.js +52 -19
- package/clientPrint/index.js +3539 -1291
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +699 -14
- package/excavatefillanalysis/index.js +48 -18
- package/flight/index.js +45 -4
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +39 -5
- package/geologicalbodyanalysis/index.js +37 -3
- package/gpuspatialquery/index.js +50 -24
- package/heatmap3d/index.js +37 -3
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +3357 -1160
- package/isolineanalysis/index.js +56 -28
- package/light/index.js +19 -22
- package/limitheightanalysis/index.js +46 -16
- package/measure/index.js +56 -14
- package/modelFlat/index.js +37 -3
- package/modelexcavate/index.js +37 -3
- package/modelfilter/index.js +37 -3
- package/modelprofileanalysis/index.js +37 -3
- package/modelselect/index.js +37 -3
- package/package.json +1 -1
- package/particleeffect/index.js +26 -33
- package/planeclip/index.js +47 -18
- package/radarscananalysis/index.js +863 -0
- package/radarscananalysis/style/index.js +3 -0
- package/radarscananalysis/style/radarscananalysis.css +1 -0
- package/scaneffect/index.js +48 -20
- package/scaneffect/style/scaneffect.css +1 -1
- package/sceneadvancedtoimage/index.js +46 -16
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -1
- package/sceneapp/index.js +3538 -1290
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +3533 -1285
- package/sceneview/style/sceneview.css +1 -1
- package/shadowanalysis/index.js +49 -19
- package/sightlineanalysis/index.js +41 -31
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +37 -3
- package/slopeanalysis/index.js +85 -54
- package/slopeaspectanalysis/index.js +520 -135
- package/style.css +1 -1
- package/terrainoperation/index.js +61 -31
- package/terrainprofileanalysis/index.js +45 -14
- package/typhoontrac/index.js +71 -11
- package/typhoontrac/style/typhoontrac.css +1 -1
- package/videofusion/index.js +37 -3
- package/videoproject/index.js +37 -3
- package/weathereffect/index.js +30 -34
- package/windyslicing/index.js +670 -306
- package/windyslicing/style/windyslicing.css +1 -1
- package/wireframesketch/index.js +37 -3
package/windyslicing/index.js
CHANGED
|
@@ -1,36 +1,238 @@
|
|
|
1
1
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
-
module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/
|
|
3
|
+
module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/_types/global-event"));
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
5
|
-
define("@kq_npm/client3d_webgl_vue", ["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/
|
|
5
|
+
define("@kq_npm/client3d_webgl_vue", ["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js", "@kq_npm/client_common_vue/_utils/util", "@kq_npm/client_common_vue/_types/global-event"], factory);
|
|
6
6
|
else if(typeof exports === 'object')
|
|
7
|
-
exports["@kq_npm/client3d_webgl_vue"] = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/
|
|
7
|
+
exports["@kq_npm/client3d_webgl_vue"] = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_vue/_types/global-event"));
|
|
8
8
|
else
|
|
9
|
-
root["@kq_npm/client3d_webgl_vue"] = factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/
|
|
10
|
-
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__3458__, __WEBPACK_EXTERNAL_MODULE__3536__
|
|
9
|
+
root["@kq_npm/client3d_webgl_vue"] = factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/init.js"], root["@kq_npm/client_common_vue/_utils/util"], root["@kq_npm/client_common_vue/_types/global-event"]);
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__7997__, __WEBPACK_EXTERNAL_MODULE__3458__, __WEBPACK_EXTERNAL_MODULE__3536__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 3789:
|
|
16
16
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17
17
|
|
|
18
18
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19
|
-
/* harmony export */ "
|
|
19
|
+
/* harmony export */ "P": function() { return /* binding */ kq_npm_client_common_vue; }
|
|
20
20
|
/* harmony export */ });
|
|
21
|
+
/* unused harmony export kq_npm_client_leaflet_vue */
|
|
22
|
+
let kq_npm_client_common_vue = (window.kq_npm_client_common_vue = window.kq_npm_client_common_vue || {});
|
|
23
|
+
|
|
24
|
+
__webpack_require__.g.kq_npm_client_common_vue = kq_npm_client_common_vue;
|
|
25
|
+
|
|
26
|
+
let kq_npm_client_leaflet_vue = (window.kq_npm_client_leaflet_vue = window.kq_npm_client_leaflet_vue || {});
|
|
27
|
+
|
|
28
|
+
__webpack_require__.g.kq_npm_client_leaflet_vue = kq_npm_client_leaflet_vue;
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
/***/ }),
|
|
32
|
+
|
|
33
|
+
/***/ 1705:
|
|
34
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
35
|
+
|
|
36
|
+
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9389);
|
|
37
|
+
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
38
|
+
/* harmony import */ var _common_KqGIS__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3789);
|
|
39
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7997);
|
|
40
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_2__);
|
|
41
|
+
/*
|
|
42
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
43
|
+
* All rights reserved.
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
51
|
+
_init__WEBPACK_IMPORTED_MODULE_2___default()(Vue, opts);
|
|
52
|
+
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
56
|
+
|
|
57
|
+
_common_KqGIS__WEBPACK_IMPORTED_MODULE_1__/* .kq_npm_client_common_vue.KqMessage */ .P.KqMessage = element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage;
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
/***/ }),
|
|
61
|
+
|
|
62
|
+
/***/ 348:
|
|
63
|
+
/***/ (function(module) {
|
|
64
|
+
|
|
65
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
66
|
+
|
|
67
|
+
/***/ }),
|
|
68
|
+
|
|
69
|
+
/***/ 9389:
|
|
70
|
+
/***/ (function(module) {
|
|
71
|
+
|
|
72
|
+
module.exports = require("element-plus/dist/index.full.js");
|
|
73
|
+
|
|
74
|
+
/***/ }),
|
|
75
|
+
|
|
76
|
+
/***/ 7080:
|
|
77
|
+
/***/ (function(module) {
|
|
78
|
+
|
|
79
|
+
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
80
|
+
|
|
81
|
+
/***/ }),
|
|
82
|
+
|
|
83
|
+
/***/ 3536:
|
|
84
|
+
/***/ (function(module) {
|
|
85
|
+
|
|
86
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__3536__;
|
|
87
|
+
|
|
88
|
+
/***/ }),
|
|
89
|
+
|
|
90
|
+
/***/ 7135:
|
|
91
|
+
/***/ (function(module) {
|
|
92
|
+
|
|
93
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
|
|
94
|
+
|
|
95
|
+
/***/ }),
|
|
96
|
+
|
|
97
|
+
/***/ 3458:
|
|
98
|
+
/***/ (function(module) {
|
|
99
|
+
|
|
100
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__3458__;
|
|
101
|
+
|
|
102
|
+
/***/ }),
|
|
103
|
+
|
|
104
|
+
/***/ 7997:
|
|
105
|
+
/***/ (function(module) {
|
|
106
|
+
|
|
107
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
|
|
108
|
+
|
|
109
|
+
/***/ }),
|
|
110
|
+
|
|
111
|
+
/***/ 1895:
|
|
112
|
+
/***/ (function(module) {
|
|
113
|
+
|
|
114
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
115
|
+
|
|
116
|
+
/***/ })
|
|
117
|
+
|
|
118
|
+
/******/ });
|
|
119
|
+
/************************************************************************/
|
|
120
|
+
/******/ // The module cache
|
|
121
|
+
/******/ var __webpack_module_cache__ = {};
|
|
122
|
+
/******/
|
|
123
|
+
/******/ // The require function
|
|
124
|
+
/******/ function __webpack_require__(moduleId) {
|
|
125
|
+
/******/ // Check if module is in cache
|
|
126
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
127
|
+
/******/ if (cachedModule !== undefined) {
|
|
128
|
+
/******/ return cachedModule.exports;
|
|
129
|
+
/******/ }
|
|
130
|
+
/******/ // Create a new module (and put it into the cache)
|
|
131
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
132
|
+
/******/ // no module.id needed
|
|
133
|
+
/******/ // no module.loaded needed
|
|
134
|
+
/******/ exports: {}
|
|
135
|
+
/******/ };
|
|
136
|
+
/******/
|
|
137
|
+
/******/ // Execute the module function
|
|
138
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
139
|
+
/******/
|
|
140
|
+
/******/ // Return the exports of the module
|
|
141
|
+
/******/ return module.exports;
|
|
142
|
+
/******/ }
|
|
143
|
+
/******/
|
|
144
|
+
/************************************************************************/
|
|
145
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
146
|
+
/******/ !function() {
|
|
147
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
148
|
+
/******/ __webpack_require__.n = function(module) {
|
|
149
|
+
/******/ var getter = module && module.__esModule ?
|
|
150
|
+
/******/ function() { return module['default']; } :
|
|
151
|
+
/******/ function() { return module; };
|
|
152
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
153
|
+
/******/ return getter;
|
|
154
|
+
/******/ };
|
|
155
|
+
/******/ }();
|
|
156
|
+
/******/
|
|
157
|
+
/******/ /* webpack/runtime/define property getters */
|
|
158
|
+
/******/ !function() {
|
|
159
|
+
/******/ // define getter functions for harmony exports
|
|
160
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
161
|
+
/******/ for(var key in definition) {
|
|
162
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
163
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
164
|
+
/******/ }
|
|
165
|
+
/******/ }
|
|
166
|
+
/******/ };
|
|
167
|
+
/******/ }();
|
|
168
|
+
/******/
|
|
169
|
+
/******/ /* webpack/runtime/global */
|
|
170
|
+
/******/ !function() {
|
|
171
|
+
/******/ __webpack_require__.g = (function() {
|
|
172
|
+
/******/ if (typeof globalThis === 'object') return globalThis;
|
|
173
|
+
/******/ try {
|
|
174
|
+
/******/ return this || new Function('return this')();
|
|
175
|
+
/******/ } catch (e) {
|
|
176
|
+
/******/ if (typeof window === 'object') return window;
|
|
177
|
+
/******/ }
|
|
178
|
+
/******/ })();
|
|
179
|
+
/******/ }();
|
|
180
|
+
/******/
|
|
181
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
182
|
+
/******/ !function() {
|
|
183
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
184
|
+
/******/ }();
|
|
185
|
+
/******/
|
|
186
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
187
|
+
/******/ !function() {
|
|
188
|
+
/******/ // define __esModule on exports
|
|
189
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
190
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
191
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
192
|
+
/******/ }
|
|
193
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
194
|
+
/******/ };
|
|
195
|
+
/******/ }();
|
|
196
|
+
/******/
|
|
197
|
+
/************************************************************************/
|
|
198
|
+
var __webpack_exports__ = {};
|
|
199
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
200
|
+
!function() {
|
|
201
|
+
// ESM COMPAT FLAG
|
|
202
|
+
__webpack_require__.r(__webpack_exports__);
|
|
203
|
+
|
|
204
|
+
// EXPORTS
|
|
205
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
206
|
+
"WindySlicingViewModel": function() { return /* reexport */ WindySlicingViewModel; },
|
|
207
|
+
"default": function() { return /* reexport */ WindySlicing; }
|
|
208
|
+
});
|
|
209
|
+
|
|
210
|
+
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
211
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
|
|
212
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
213
|
+
var gis_utils_ = __webpack_require__(7135);
|
|
214
|
+
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
215
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
216
|
+
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
217
|
+
var message = __webpack_require__(1705);
|
|
218
|
+
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
219
|
+
var util_ = __webpack_require__(3458);
|
|
220
|
+
;// CONCATENATED MODULE: ./src/webgl/windyslicing/WindySlicingViewModel.js
|
|
221
|
+
|
|
222
|
+
|
|
21
223
|
class WindySlicingViewModel {
|
|
22
224
|
_sceneView = null; //三维球场景视图对象
|
|
23
225
|
_viewer = null;
|
|
24
226
|
_layerManager = null;
|
|
25
227
|
_options = null;
|
|
26
228
|
_windySlicingDrawManager = null; //绘制管理对象
|
|
27
|
-
|
|
28
|
-
_windySlicingLayerconfig = null;
|
|
229
|
+
_windySlicingLayerconfig = null; //
|
|
29
230
|
_windySlicingPolylineHandler = null;
|
|
30
231
|
_isDrawPolyline = false; // 是否线剖切
|
|
31
232
|
_pointSlicingHtmlTag = null; // 点剖切
|
|
32
233
|
_volumePrimitives = [];
|
|
33
234
|
_volumePrimitive = null;
|
|
235
|
+
_volumePrimitiveVoxels = null;
|
|
34
236
|
_currentVolumeOption = null;
|
|
35
237
|
_currentVolumePosition = null;
|
|
36
238
|
callbackParams = null;
|
|
@@ -44,20 +246,20 @@ class WindySlicingViewModel {
|
|
|
44
246
|
this._viewer.scene.globe.showGroundAtmosphere = false;
|
|
45
247
|
this._viewer.scene.screenSpaceCameraController.maximumZoomDistance = 20_000_000;
|
|
46
248
|
this.callbackParams = callbackParams;
|
|
47
|
-
var that = this;
|
|
48
|
-
that._windySlicingRemoveEventListener = that._windySlicingDrawManager.drawFinishedEvent.addEventListener(shape => {
|
|
49
|
-
if (shape && shape.type === "rectangle") {
|
|
50
|
-
that.windySlicingRectangleSlicing(shape.bounds);
|
|
51
|
-
this.callbackParams && this.callbackParams("showSlicingSetting", true)
|
|
52
|
-
}
|
|
53
|
-
that._windySlicingDrawManager.clear();
|
|
54
|
-
});
|
|
55
249
|
this._windySlicingPolylineHandler = new window.Cesium.ScreenSpaceEventHandler(this._viewer.canvas);
|
|
56
250
|
}
|
|
57
251
|
// 参数切换
|
|
58
252
|
paramsChanged(key, val) {
|
|
59
253
|
let that = this;
|
|
60
|
-
if (!this._windySlicingLayerconfig)
|
|
254
|
+
if (!this._windySlicingLayerconfig) {
|
|
255
|
+
if (!this._options.mode === "clear") {
|
|
256
|
+
(0,message/* default */.Z)({
|
|
257
|
+
message: this._sceneView._language["errorTips"],
|
|
258
|
+
type: "warning"
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
return;
|
|
262
|
+
}
|
|
61
263
|
switch (key) {
|
|
62
264
|
case "mode":
|
|
63
265
|
this.removeInputAction();
|
|
@@ -71,9 +273,16 @@ class WindySlicingViewModel {
|
|
|
71
273
|
that.windySlicingPolylineSlicing(newPositions);
|
|
72
274
|
});
|
|
73
275
|
this._isDrawPolyline = true;
|
|
74
|
-
this._windySlicingDrawManager.startDraw("polyline", { clampToGround: true });
|
|
276
|
+
this._windySlicingDrawManager.startDraw("polyline", { clampToGround: true }, null, "windySlicingDraw");
|
|
75
277
|
} else if (this._options.mode === "polygon") {
|
|
76
|
-
this._windySlicingDrawManager.startDraw("rectangle", { clampToGround: true })
|
|
278
|
+
this._windySlicingDrawManager.startDraw("rectangle", { clampToGround: true }, (feature, { shape }) => {
|
|
279
|
+
if (!shape.groupName || shape.groupName !== "windySlicingDraw") return;
|
|
280
|
+
if (shape && shape.type === "rectangle") {
|
|
281
|
+
that.windySlicingRectangleSlicing(shape.bounds);
|
|
282
|
+
this.callbackParams && this.callbackParams("showSlicingSetting", true)
|
|
283
|
+
}
|
|
284
|
+
that._windySlicingDrawManager.clearDrawGroup("windySlicingDraw");
|
|
285
|
+
}, "windySlicingDraw");
|
|
77
286
|
} else if (this._options.mode === "clear") {
|
|
78
287
|
this.clear();
|
|
79
288
|
}
|
|
@@ -84,18 +293,30 @@ class WindySlicingViewModel {
|
|
|
84
293
|
if (this._options.styleType == "1") {
|
|
85
294
|
if (this._currentVolumePosition) this.windySlicingRectangleSlicing(this._currentVolumePosition);
|
|
86
295
|
}
|
|
87
|
-
} else {
|
|
88
|
-
this.
|
|
296
|
+
} else if (this._options.slicingType == 3) {
|
|
297
|
+
if (this._options.styleType == "3") {
|
|
298
|
+
this.windyVoxelsSingleSlicing();
|
|
299
|
+
} else if (this._options.styleType == "4") {
|
|
300
|
+
this.gridVoxelsSingleProvider();
|
|
301
|
+
} else if (this._options.styleType == "5") {
|
|
302
|
+
this.gridVolumeIsoProvider();
|
|
303
|
+
}
|
|
89
304
|
}
|
|
90
305
|
break;
|
|
91
306
|
case "styleType":
|
|
92
307
|
this.removeVolumePrimitive();
|
|
93
308
|
if (this._options.styleType == "1") {
|
|
94
309
|
if (this._currentVolumePosition) this.windySlicingRectangleSlicing(this._currentVolumePosition);
|
|
95
|
-
} else {
|
|
310
|
+
} else if (this._options.styleType == "2") {
|
|
96
311
|
if (this._currentVolumePosition) {
|
|
97
312
|
this.windySlicingSurfaceSection(this._currentVolumePosition, this._windySlicingLayerconfig);
|
|
98
313
|
}
|
|
314
|
+
} else if (this._options.styleType == "3") {
|
|
315
|
+
this.windyVoxelsSingleSlicing();
|
|
316
|
+
} else if (this._options.styleType == "4") {
|
|
317
|
+
this.gridVoxelsSingleProvider();
|
|
318
|
+
} else if (this._options.styleType == "5") {
|
|
319
|
+
this.gridVolumeIsoProvider();
|
|
99
320
|
}
|
|
100
321
|
break;
|
|
101
322
|
case "showAxis":
|
|
@@ -115,6 +336,57 @@ class WindySlicingViewModel {
|
|
|
115
336
|
this.windySlicingSurfaceSection(this._currentVolumePosition, Object.assign(layerConfig, { zValues: val }));
|
|
116
337
|
}
|
|
117
338
|
break;
|
|
339
|
+
case "enableLongSection":
|
|
340
|
+
case "longSectionValue":
|
|
341
|
+
if (this._volumePrimitive1) {
|
|
342
|
+
this._viewer.scene.primitives.remove(this._volumePrimitive1);
|
|
343
|
+
this._volumePrimitive1 = null;
|
|
344
|
+
}
|
|
345
|
+
if (this._options[key]) {
|
|
346
|
+
this.setjdVolumeVisible();
|
|
347
|
+
}
|
|
348
|
+
break;
|
|
349
|
+
case "enableLatSection":
|
|
350
|
+
case "latSectionValue":
|
|
351
|
+
if (this._volumePrimitive2) {
|
|
352
|
+
this._viewer.scene.primitives.remove(this._volumePrimitive2);
|
|
353
|
+
this._volumePrimitive2 = null;
|
|
354
|
+
}
|
|
355
|
+
if (this._options[key]) {
|
|
356
|
+
this.setwdVolumeVisible();
|
|
357
|
+
}
|
|
358
|
+
break;
|
|
359
|
+
case "enableHeightSection":
|
|
360
|
+
case "heightSectionValue":
|
|
361
|
+
this.setgdVolumeVisible();
|
|
362
|
+
break;
|
|
363
|
+
case "bodyDissectionAxis":
|
|
364
|
+
this._volumePrimitiveVoxels && this._volumePrimitiveVoxels.showAxis(this._options[key])
|
|
365
|
+
break;
|
|
366
|
+
case "bodyDissectionAlpha":
|
|
367
|
+
if (this._volumePrimitiveVoxels) this._volumePrimitiveVoxels.alpha = this._options[key];
|
|
368
|
+
break;
|
|
369
|
+
case "bodyDissectionXClipping":
|
|
370
|
+
if (this._volumePrimitiveVoxels) {
|
|
371
|
+
var minX = this._volumePrimitiveVoxels._minX;
|
|
372
|
+
var maxX = this._volumePrimitiveVoxels._maxX;
|
|
373
|
+
var lon = minX + (maxX - minX) * this._options[key];
|
|
374
|
+
this._volumePrimitiveVoxels.xClipping(lon);
|
|
375
|
+
}
|
|
376
|
+
break;
|
|
377
|
+
case "bodyDissectionYClipping":
|
|
378
|
+
if (this._volumePrimitiveVoxels) {
|
|
379
|
+
var minY = this._volumePrimitiveVoxels._minY;
|
|
380
|
+
var maxY = this._volumePrimitiveVoxels._maxY;
|
|
381
|
+
var lat = minY + (maxY - minY) * this._options[key];
|
|
382
|
+
this._volumePrimitiveVoxels.yClipping(lat);
|
|
383
|
+
}
|
|
384
|
+
break;
|
|
385
|
+
case "bodyDissectionZClipping":
|
|
386
|
+
if (this._volumePrimitiveVoxels) {
|
|
387
|
+
this._volumePrimitiveVoxels.zIndexClipping((this._options[key] - 1) || 0);
|
|
388
|
+
}
|
|
389
|
+
break;
|
|
118
390
|
case "destroy":
|
|
119
391
|
this.destroy();
|
|
120
392
|
break;
|
|
@@ -122,6 +394,55 @@ class WindySlicingViewModel {
|
|
|
122
394
|
break;
|
|
123
395
|
}
|
|
124
396
|
}
|
|
397
|
+
//经度剖面
|
|
398
|
+
setjdVolumeVisible() {
|
|
399
|
+
let that = this;
|
|
400
|
+
let line = JSON.parse(JSON.stringify(that.volumelines?.volumeLine1));
|
|
401
|
+
line.forEach(item => {
|
|
402
|
+
item.x = item.x - Number(that._options["longSectionValue"]);
|
|
403
|
+
});
|
|
404
|
+
let zValues = this._options?.enableLayerings?.slice(0, this._options?.altitudeControl);
|
|
405
|
+
this._volumePrimitive1 = this.getSlicingParams({ showAxis: false, zValues: zValues });
|
|
406
|
+
if (!this._volumePrimitive1 || !this._volumePrimitive1.readyPromise) return;
|
|
407
|
+
this._volumePrimitive1.readyPromise.then(() => {
|
|
408
|
+
that._volumePrimitive1.showSection(line);
|
|
409
|
+
})
|
|
410
|
+
}
|
|
411
|
+
//维度剖面
|
|
412
|
+
setwdVolumeVisible() {
|
|
413
|
+
let that = this;
|
|
414
|
+
let line = JSON.parse(JSON.stringify(that.volumelines?.volumeLine2));
|
|
415
|
+
line.forEach(item => {
|
|
416
|
+
item.y = item.y - Number(that._options["latSectionValue"]);
|
|
417
|
+
});
|
|
418
|
+
let zValues = this._options?.enableLayerings?.slice(0, this._options?.altitudeControl);
|
|
419
|
+
this._volumePrimitive2 = this.getSlicingParams({ showAxis: false, zValues: zValues });
|
|
420
|
+
if (!this._volumePrimitive2 || !this._volumePrimitive2.readyPromise) return;
|
|
421
|
+
this._volumePrimitive2.readyPromise.then(() => {
|
|
422
|
+
that._volumePrimitive2.showSection(line);
|
|
423
|
+
})
|
|
424
|
+
}
|
|
425
|
+
// 高度剖面
|
|
426
|
+
setgdVolumeVisible() {
|
|
427
|
+
let zshowMax = this._options?.enableLayerings?.slice(0, this._options?.altitudeControl);
|
|
428
|
+
let zVisibles = [];
|
|
429
|
+
if (this._options["enableHeightSection"]) {
|
|
430
|
+
for (let i = 0; i < zshowMax.length; i++) {
|
|
431
|
+
if (i == this._options["heightSectionValue"] - 1) {
|
|
432
|
+
zVisibles.push(true);
|
|
433
|
+
} else {
|
|
434
|
+
zVisibles.push(false);
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
if (this._windySlicingLayerconfig.unit == "hpa") zVisibles = zVisibles.reverse();
|
|
438
|
+
if (this._volumePrimitive) this._volumePrimitive.updateVisibles(zVisibles);
|
|
439
|
+
} else {
|
|
440
|
+
for (let i = 0; i < zshowMax.length; i++) {
|
|
441
|
+
zVisibles.push(false);
|
|
442
|
+
}
|
|
443
|
+
this._volumePrimitive && this._volumePrimitive.updateVisibles(zVisibles);
|
|
444
|
+
}
|
|
445
|
+
}
|
|
125
446
|
// 分层显隐
|
|
126
447
|
setEnableLayeringVisible() {
|
|
127
448
|
let zValues = this._windySlicingLayerconfig?.zValues;
|
|
@@ -147,31 +468,33 @@ class WindySlicingViewModel {
|
|
|
147
468
|
/**
|
|
148
469
|
* 获取或设置气象剖切图层配置
|
|
149
470
|
* @param {string} [guid] 可选图层guid
|
|
471
|
+
* @param {Object} [item] 操作图层对象
|
|
150
472
|
* @returns {Object|null} 图层配置对象或null
|
|
151
473
|
*/
|
|
152
|
-
getWindySlicingLayer(guid) {
|
|
474
|
+
getWindySlicingLayer(guid, item) {
|
|
153
475
|
// 参数校验:确保guid为有效字符串
|
|
154
476
|
const isValidGuid = typeof guid === 'string' && guid.trim() !== '';
|
|
155
477
|
|
|
156
478
|
// 获取图层配置逻辑
|
|
157
479
|
this._windySlicingLayerconfig = isValidGuid
|
|
158
|
-
? this._layerManager.
|
|
159
|
-
: this._layerManager._layerListData?.find(
|
|
160
|
-
element => element?.addType === 'kqgisweatherserver'
|
|
161
|
-
) || null;
|
|
480
|
+
? this._layerManager._windyViewModel.getWindyLayerDataByGuid(guid) || null : item ? item : null;
|
|
162
481
|
|
|
482
|
+
if (!isValidGuid && !item) {
|
|
483
|
+
this._windySlicingLayerconfig = null;
|
|
484
|
+
return;
|
|
485
|
+
}
|
|
163
486
|
// 可选:添加调试信息或错误处理
|
|
164
487
|
if (!this._windySlicingLayerconfig) {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
this._windySlicingLayerconfig.unit = "m";
|
|
171
|
-
if (this._windySlicingLayerconfig.groups.includes("AIR_PRESSURE")) {
|
|
172
|
-
this._windySlicingLayerconfig.unit = "hpa";
|
|
488
|
+
(0,message/* default */.Z)({
|
|
489
|
+
message: this._sceneView._language["errorTips"],
|
|
490
|
+
type: "warning"
|
|
491
|
+
});
|
|
492
|
+
return;
|
|
173
493
|
}
|
|
494
|
+
this._windySlicingLayerconfig.colors = this._windySlicingLayerconfig?.params?.colorTable ?? [];
|
|
495
|
+
this._windySlicingLayerconfig.ranges = this._windySlicingLayerconfig?.params?.rangeTable ?? [];
|
|
174
496
|
this._windySlicingLayerconfig.zValues = this._windySlicingLayerconfig?.zValues ?? this._windySlicingLayerconfig?.params?.zValues ?? [];
|
|
497
|
+
this._windySlicingLayerconfig.unit = this._windySlicingLayerconfig?.params?.unit ?? 'm';
|
|
175
498
|
this.callbackParams && this.callbackParams("slicingLayerConfig", this._windySlicingLayerconfig)
|
|
176
499
|
return this._windySlicingLayerconfig;
|
|
177
500
|
}
|
|
@@ -181,6 +504,10 @@ class WindySlicingViewModel {
|
|
|
181
504
|
this._viewer.scene.primitives.remove(this._volumePrimitive);
|
|
182
505
|
this._volumePrimitive = null;
|
|
183
506
|
}
|
|
507
|
+
if (this._volumePrimitiveVoxels) {
|
|
508
|
+
this._volumePrimitiveVoxels.destroy();
|
|
509
|
+
this._volumePrimitiveVoxels = null;
|
|
510
|
+
}
|
|
184
511
|
if (this._volumePrimitive1) {
|
|
185
512
|
this._viewer.scene.primitives.remove(this._volumePrimitive1);
|
|
186
513
|
this._volumePrimitive1 = null;
|
|
@@ -316,8 +643,7 @@ class WindySlicingViewModel {
|
|
|
316
643
|
});
|
|
317
644
|
}
|
|
318
645
|
// 重构剖切参数
|
|
319
|
-
getSlicingParams(
|
|
320
|
-
this._currentVolumePosition = position;
|
|
646
|
+
getSlicingParams(params) {
|
|
321
647
|
if (!this._windySlicingLayerconfig) return;
|
|
322
648
|
let colors = this._windySlicingLayerconfig?.colors ?? [];
|
|
323
649
|
let ranges = this._windySlicingLayerconfig?.ranges ?? [];
|
|
@@ -331,11 +657,21 @@ class WindySlicingViewModel {
|
|
|
331
657
|
// 高度偏移
|
|
332
658
|
offset: 10000,
|
|
333
659
|
// 高度放大比例
|
|
334
|
-
scale: this.
|
|
660
|
+
scale: this._options["layerScale"],
|
|
335
661
|
unit: this._windySlicingLayerconfig.unit,
|
|
336
662
|
attrRange: [ranges[0], ranges[ranges.length - 1]],
|
|
337
663
|
varName: this._windySlicingLayerconfig?.params?.varNames,
|
|
338
664
|
};
|
|
665
|
+
let varNames = this._windySlicingLayerconfig?.params?.varNames?.split?.(",") ?? [];
|
|
666
|
+
if (varNames && varNames.length > 1) {
|
|
667
|
+
Object.assign(this._currentVolumeOption, {
|
|
668
|
+
url: (0,util_.urlAppend)(this._currentVolumeOption.url, "isRequestCompound=true&pixelInterval=2")
|
|
669
|
+
});
|
|
670
|
+
} else {
|
|
671
|
+
Object.assign(this._currentVolumeOption, {
|
|
672
|
+
url: (0,util_.urlAppend)(this._currentVolumeOption.url, "pixelInterval=2")
|
|
673
|
+
});
|
|
674
|
+
}
|
|
339
675
|
Object.assign(this._currentVolumeOption, params || {})
|
|
340
676
|
return new Cesium.Kq3dGridVolumeProvider(this._currentVolumeOption);
|
|
341
677
|
}
|
|
@@ -344,7 +680,7 @@ class WindySlicingViewModel {
|
|
|
344
680
|
* @param {Object} polyline 绘制的线坐标数据
|
|
345
681
|
*/
|
|
346
682
|
windySlicingPolylineSlicing(polyline) {
|
|
347
|
-
this._volumePrimitive = this.getSlicingParams(
|
|
683
|
+
this._volumePrimitive = this.getSlicingParams()
|
|
348
684
|
let that = this;
|
|
349
685
|
if (!this._volumePrimitive || !this._volumePrimitive.readyPromise) return;
|
|
350
686
|
this._volumePrimitive.readyPromise.then(() => {
|
|
@@ -377,7 +713,8 @@ class WindySlicingViewModel {
|
|
|
377
713
|
* @param {Object} rect 矩形四至
|
|
378
714
|
*/
|
|
379
715
|
windySlicingRectangleSlicing(rect) {
|
|
380
|
-
this.
|
|
716
|
+
this._currentVolumePosition = rect;
|
|
717
|
+
this._volumePrimitive = this.getSlicingParams();
|
|
381
718
|
let that = this;
|
|
382
719
|
if (!this._volumePrimitive || !this._volumePrimitive.readyPromise) return;
|
|
383
720
|
this._volumePrimitive.readyPromise.then(() => {
|
|
@@ -405,7 +742,7 @@ class WindySlicingViewModel {
|
|
|
405
742
|
}
|
|
406
743
|
options.zValues = zValues;
|
|
407
744
|
options.showAxis = true;
|
|
408
|
-
this._volumePrimitive = this.getSlicingParams(
|
|
745
|
+
this._volumePrimitive = this.getSlicingParams(options);
|
|
409
746
|
let that = this;
|
|
410
747
|
if (!this._volumePrimitive || !this._volumePrimitive.readyPromise) return;
|
|
411
748
|
this._volumePrimitive.readyPromise.then(() => {
|
|
@@ -418,16 +755,17 @@ class WindySlicingViewModel {
|
|
|
418
755
|
let options1 = JSON.parse(JSON.stringify(options));
|
|
419
756
|
this.volumelines = this.createXYVolume(this.getRectangle(rect));
|
|
420
757
|
options1.showAxis = false;
|
|
421
|
-
this._volumePrimitive1 = this.getSlicingParams(
|
|
758
|
+
this._volumePrimitive1 = this.getSlicingParams(options1);
|
|
422
759
|
if (!this._volumePrimitive1 || !this._volumePrimitive1.readyPromise) return;
|
|
423
760
|
this._volumePrimitive1.readyPromise.then(() => {
|
|
424
|
-
that._volumePrimitive1
|
|
761
|
+
that._volumePrimitive1?.showSection(that.volumelines?.volumeLine1);
|
|
425
762
|
})
|
|
426
|
-
this._volumePrimitive2 = this.getSlicingParams(
|
|
763
|
+
this._volumePrimitive2 = this.getSlicingParams(options1);
|
|
427
764
|
if (!this._volumePrimitive2 || !this._volumePrimitive2.readyPromise) return;
|
|
428
765
|
this._volumePrimitive2.readyPromise.then(() => {
|
|
429
|
-
that._volumePrimitive2
|
|
766
|
+
that._volumePrimitive2?.showSection(that.volumelines?.volumeLine2);
|
|
430
767
|
})
|
|
768
|
+
this.callbackParams && this.callbackParams("windySlicingSurfaceSection", zValues)
|
|
431
769
|
this.setViewEntity(rect);
|
|
432
770
|
}
|
|
433
771
|
getRectangle(rect) {
|
|
@@ -519,7 +857,88 @@ class WindySlicingViewModel {
|
|
|
519
857
|
};
|
|
520
858
|
return centerPointLatLon;
|
|
521
859
|
}
|
|
522
|
-
|
|
860
|
+
// 等值面
|
|
861
|
+
gridVolumeIsoProvider() {
|
|
862
|
+
if (!Cesium.Kq3dGridVolumeIsoProviderExt) {
|
|
863
|
+
console.log("Kq3dGridVolumeIsoProviderExt class cannot be empty");
|
|
864
|
+
return;
|
|
865
|
+
}
|
|
866
|
+
if (this._currentVolumeOption && this._currentVolumePosition) {
|
|
867
|
+
let options = Object.assign({}, this._currentVolumeOption, {
|
|
868
|
+
image: null,
|
|
869
|
+
offset: 0,
|
|
870
|
+
showAxis: false,
|
|
871
|
+
scale: this._options["layerScale"] || 20,
|
|
872
|
+
});
|
|
873
|
+
this._volumePrimitiveVoxels = new Cesium.Kq3dGridVolumeIsoProviderExt(options);
|
|
874
|
+
let that = this;
|
|
875
|
+
if (!this._volumePrimitiveVoxels || !this._volumePrimitiveVoxels.readyPromise) return;
|
|
876
|
+
this._volumePrimitiveVoxels.readyPromise.then(() => {
|
|
877
|
+
let attrRange = that.generateAttrRange(that._windySlicingLayerconfig.ranges, that._windySlicingLayerconfig.colors);
|
|
878
|
+
that._volumePrimitiveVoxels.showSurfaces(that._currentVolumePosition, attrRange);
|
|
879
|
+
})
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
// 生成attrRange的核心函数
|
|
883
|
+
generateAttrRange(rangeTable, colorTable) {
|
|
884
|
+
const minValue = Math.min(...rangeTable);
|
|
885
|
+
const maxValue = Math.max(...rangeTable);
|
|
886
|
+
const numColors = colorTable.length;
|
|
887
|
+
const step = 0.1;
|
|
888
|
+
// 计算区间大小
|
|
889
|
+
const intervalSize = (maxValue - minValue) / numColors;
|
|
890
|
+
// 生成所有数值点
|
|
891
|
+
const attrRange = [];
|
|
892
|
+
let currentValue = minValue;
|
|
893
|
+
// 四舍五入到小数点后一位,避免浮点精度问题
|
|
894
|
+
while (currentValue <= maxValue) {
|
|
895
|
+
// 计算当前值所属的区间索引
|
|
896
|
+
const intervalIndex = Math.min(
|
|
897
|
+
Math.floor((currentValue - minValue) / intervalSize),
|
|
898
|
+
numColors - 1
|
|
899
|
+
);
|
|
900
|
+
// 获取对应颜色
|
|
901
|
+
const color = colorTable[intervalIndex];
|
|
902
|
+
// 添加到结果数组
|
|
903
|
+
attrRange.push({
|
|
904
|
+
value: parseFloat(currentValue.toFixed(1)),
|
|
905
|
+
color: Cesium.Color.fromCssColorString(color),
|
|
906
|
+
interval: intervalIndex
|
|
907
|
+
});
|
|
908
|
+
// 增加步长
|
|
909
|
+
currentValue += step;
|
|
910
|
+
// 处理浮点精度问题
|
|
911
|
+
currentValue = parseFloat(currentValue.toFixed(1));
|
|
912
|
+
}
|
|
913
|
+
return attrRange;
|
|
914
|
+
}
|
|
915
|
+
// 风速体
|
|
916
|
+
gridVoxelsSingleProvider() {
|
|
917
|
+
if (!Cesium.Kq3dGridVoxelsSingleProviderExt) {
|
|
918
|
+
console.log("Kq3dGridVoxelsSingleProviderExt class cannot be empty");
|
|
919
|
+
return;
|
|
920
|
+
}
|
|
921
|
+
if (this._currentVolumeOption && this._currentVolumePosition) {
|
|
922
|
+
let options = Object.assign({}, this._currentVolumeOption, {
|
|
923
|
+
// 高度偏移
|
|
924
|
+
offset: 0,
|
|
925
|
+
showAxis: false,
|
|
926
|
+
scale: this._options["layerScale"] || 20,
|
|
927
|
+
filterValues: [30000, -30000],
|
|
928
|
+
filterRange: [20, 60],
|
|
929
|
+
zValues: this._windySlicingLayerconfig.zValues
|
|
930
|
+
});
|
|
931
|
+
if (this._windySlicingLayerconfig.unit != 'hpa') {
|
|
932
|
+
options.isReverse = true;
|
|
933
|
+
}
|
|
934
|
+
this._volumePrimitiveVoxels = new Cesium.Kq3dGridVoxelsSingleProviderExt(options);
|
|
935
|
+
let that = this;
|
|
936
|
+
if (!this._volumePrimitiveVoxels || !this._volumePrimitiveVoxels.readyPromise) return;
|
|
937
|
+
this._volumePrimitiveVoxels.readyPromise.then(() => {
|
|
938
|
+
that._volumePrimitiveVoxels.showVoxels(that._currentVolumePosition);
|
|
939
|
+
})
|
|
940
|
+
}
|
|
941
|
+
}
|
|
523
942
|
// 体剖切
|
|
524
943
|
windyVoxelsSingleSlicing() {
|
|
525
944
|
if (!Cesium.Kq3dGridVoxelsSingleProviderExt) {
|
|
@@ -527,40 +946,46 @@ class WindySlicingViewModel {
|
|
|
527
946
|
return;
|
|
528
947
|
}
|
|
529
948
|
if (this._currentVolumeOption && this._currentVolumePosition) {
|
|
530
|
-
|
|
949
|
+
let options = Object.assign({}, this._currentVolumeOption, {
|
|
950
|
+
showAxis: true,
|
|
951
|
+
scale: this._options["layerScale"]
|
|
952
|
+
});
|
|
953
|
+
this._volumePrimitiveVoxels = new Cesium.Kq3dGridVoxelsSingleProviderExt(options);
|
|
531
954
|
let that = this;
|
|
532
|
-
if (!this.
|
|
533
|
-
this.
|
|
534
|
-
that.
|
|
955
|
+
if (!this._volumePrimitiveVoxels || !this._volumePrimitiveVoxels.readyPromise) return;
|
|
956
|
+
this._volumePrimitiveVoxels.readyPromise.then(() => {
|
|
957
|
+
that._volumePrimitiveVoxels.showVoxels(that._currentVolumePosition);
|
|
535
958
|
})
|
|
959
|
+
this.callbackParams && this.callbackParams("bodyDissectionZClipping", this._options.enableLayerings)
|
|
536
960
|
}
|
|
537
961
|
}
|
|
538
962
|
// 设置entity视角缩放
|
|
539
963
|
setViewEntity(rect) {
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
)
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
964
|
+
// let that = this;
|
|
965
|
+
// var rectangle = new Cesium.Rectangle(
|
|
966
|
+
// Cesium.Math.toRadians(rect.minX),
|
|
967
|
+
// Cesium.Math.toRadians(rect.minY),
|
|
968
|
+
// Cesium.Math.toRadians(rect.maxX),
|
|
969
|
+
// Cesium.Math.toRadians(rect.maxY),
|
|
970
|
+
// );
|
|
971
|
+
// let entity = this._viewer.entities.add({
|
|
972
|
+
// name: 'Blue translucent, rotated, and extruded ellipse with outline',
|
|
973
|
+
// rectangle: {
|
|
974
|
+
// coordinates: rectangle,
|
|
975
|
+
// material: Cesium.Color.RED.withAlpha(0)
|
|
976
|
+
// }
|
|
977
|
+
// });
|
|
978
|
+
// that._viewer.flyTo(entity, {
|
|
979
|
+
// duration: 1,
|
|
980
|
+
// offset: {
|
|
981
|
+
// heading: Cesium.Math.toRadians(-30),
|
|
982
|
+
// pitch: Cesium.Math.toRadians(-30),
|
|
983
|
+
// range: 1100000
|
|
984
|
+
// },
|
|
985
|
+
// });
|
|
986
|
+
// setTimeout(() => {
|
|
987
|
+
// that._viewer.entities.remove(entity);
|
|
988
|
+
// }, 1000);
|
|
564
989
|
}
|
|
565
990
|
// 根据颜色表生成图片
|
|
566
991
|
generateImage(colors) {
|
|
@@ -591,7 +1016,7 @@ class WindySlicingViewModel {
|
|
|
591
1016
|
this.removeInputAction();
|
|
592
1017
|
this._isDrawPolyline = false;
|
|
593
1018
|
this._windySlicingDrawManager.stopDraw();
|
|
594
|
-
this._windySlicingDrawManager.
|
|
1019
|
+
this._windySlicingDrawManager.clearDrawGroup("windySlicingDraw");
|
|
595
1020
|
this._currentVolumePosition = null;
|
|
596
1021
|
this._currentVolumeOption = null;
|
|
597
1022
|
this.volumelines = null;
|
|
@@ -600,158 +1025,11 @@ class WindySlicingViewModel {
|
|
|
600
1025
|
destroy() {
|
|
601
1026
|
this.clear();
|
|
602
1027
|
if (this._options) this._options = {};
|
|
603
|
-
if (this._windySlicingRemoveEventListener) {
|
|
604
|
-
//移除监听事件
|
|
605
|
-
this._windySlicingRemoveEventListener && this._windySlicingRemoveEventListener();
|
|
606
|
-
this._windySlicingRemoveEventListener = null;
|
|
607
|
-
}
|
|
608
1028
|
this._viewer.scene.globe.showGroundAtmosphere = true;
|
|
609
1029
|
this._viewer.scene.screenSpaceCameraController.maximumZoomDistance = Number.POSITIVE_INFINITY;
|
|
610
1030
|
}
|
|
611
1031
|
}
|
|
612
1032
|
|
|
613
|
-
|
|
614
|
-
/***/ }),
|
|
615
|
-
|
|
616
|
-
/***/ 348:
|
|
617
|
-
/***/ (function(module) {
|
|
618
|
-
|
|
619
|
-
module.exports = require("@kq_npm/client_icons_vue");
|
|
620
|
-
|
|
621
|
-
/***/ }),
|
|
622
|
-
|
|
623
|
-
/***/ 7080:
|
|
624
|
-
/***/ (function(module) {
|
|
625
|
-
|
|
626
|
-
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
627
|
-
|
|
628
|
-
/***/ }),
|
|
629
|
-
|
|
630
|
-
/***/ 3536:
|
|
631
|
-
/***/ (function(module) {
|
|
632
|
-
|
|
633
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__3536__;
|
|
634
|
-
|
|
635
|
-
/***/ }),
|
|
636
|
-
|
|
637
|
-
/***/ 7135:
|
|
638
|
-
/***/ (function(module) {
|
|
639
|
-
|
|
640
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
|
|
641
|
-
|
|
642
|
-
/***/ }),
|
|
643
|
-
|
|
644
|
-
/***/ 3458:
|
|
645
|
-
/***/ (function(module) {
|
|
646
|
-
|
|
647
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__3458__;
|
|
648
|
-
|
|
649
|
-
/***/ }),
|
|
650
|
-
|
|
651
|
-
/***/ 7997:
|
|
652
|
-
/***/ (function(module) {
|
|
653
|
-
|
|
654
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
|
|
655
|
-
|
|
656
|
-
/***/ }),
|
|
657
|
-
|
|
658
|
-
/***/ 1895:
|
|
659
|
-
/***/ (function(module) {
|
|
660
|
-
|
|
661
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
662
|
-
|
|
663
|
-
/***/ })
|
|
664
|
-
|
|
665
|
-
/******/ });
|
|
666
|
-
/************************************************************************/
|
|
667
|
-
/******/ // The module cache
|
|
668
|
-
/******/ var __webpack_module_cache__ = {};
|
|
669
|
-
/******/
|
|
670
|
-
/******/ // The require function
|
|
671
|
-
/******/ function __webpack_require__(moduleId) {
|
|
672
|
-
/******/ // Check if module is in cache
|
|
673
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
674
|
-
/******/ if (cachedModule !== undefined) {
|
|
675
|
-
/******/ return cachedModule.exports;
|
|
676
|
-
/******/ }
|
|
677
|
-
/******/ // Create a new module (and put it into the cache)
|
|
678
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
679
|
-
/******/ // no module.id needed
|
|
680
|
-
/******/ // no module.loaded needed
|
|
681
|
-
/******/ exports: {}
|
|
682
|
-
/******/ };
|
|
683
|
-
/******/
|
|
684
|
-
/******/ // Execute the module function
|
|
685
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
686
|
-
/******/
|
|
687
|
-
/******/ // Return the exports of the module
|
|
688
|
-
/******/ return module.exports;
|
|
689
|
-
/******/ }
|
|
690
|
-
/******/
|
|
691
|
-
/************************************************************************/
|
|
692
|
-
/******/ /* webpack/runtime/compat get default export */
|
|
693
|
-
/******/ !function() {
|
|
694
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
695
|
-
/******/ __webpack_require__.n = function(module) {
|
|
696
|
-
/******/ var getter = module && module.__esModule ?
|
|
697
|
-
/******/ function() { return module['default']; } :
|
|
698
|
-
/******/ function() { return module; };
|
|
699
|
-
/******/ __webpack_require__.d(getter, { a: getter });
|
|
700
|
-
/******/ return getter;
|
|
701
|
-
/******/ };
|
|
702
|
-
/******/ }();
|
|
703
|
-
/******/
|
|
704
|
-
/******/ /* webpack/runtime/define property getters */
|
|
705
|
-
/******/ !function() {
|
|
706
|
-
/******/ // define getter functions for harmony exports
|
|
707
|
-
/******/ __webpack_require__.d = function(exports, definition) {
|
|
708
|
-
/******/ for(var key in definition) {
|
|
709
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
710
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
711
|
-
/******/ }
|
|
712
|
-
/******/ }
|
|
713
|
-
/******/ };
|
|
714
|
-
/******/ }();
|
|
715
|
-
/******/
|
|
716
|
-
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
717
|
-
/******/ !function() {
|
|
718
|
-
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
719
|
-
/******/ }();
|
|
720
|
-
/******/
|
|
721
|
-
/******/ /* webpack/runtime/make namespace object */
|
|
722
|
-
/******/ !function() {
|
|
723
|
-
/******/ // define __esModule on exports
|
|
724
|
-
/******/ __webpack_require__.r = function(exports) {
|
|
725
|
-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
726
|
-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
727
|
-
/******/ }
|
|
728
|
-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
729
|
-
/******/ };
|
|
730
|
-
/******/ }();
|
|
731
|
-
/******/
|
|
732
|
-
/************************************************************************/
|
|
733
|
-
var __webpack_exports__ = {};
|
|
734
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
735
|
-
!function() {
|
|
736
|
-
// ESM COMPAT FLAG
|
|
737
|
-
__webpack_require__.r(__webpack_exports__);
|
|
738
|
-
|
|
739
|
-
// EXPORTS
|
|
740
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
741
|
-
"WindySlicingViewModel": function() { return /* reexport */ WindySlicingViewModel/* default */.Z; },
|
|
742
|
-
"default": function() { return /* reexport */ WindySlicing; }
|
|
743
|
-
});
|
|
744
|
-
|
|
745
|
-
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
746
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
|
|
747
|
-
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
748
|
-
var gis_utils_ = __webpack_require__(7135);
|
|
749
|
-
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
750
|
-
var client_icons_vue_ = __webpack_require__(348);
|
|
751
|
-
// EXTERNAL MODULE: ./src/webgl/windyslicing/WindySlicingViewModel.js
|
|
752
|
-
var WindySlicingViewModel = __webpack_require__(2059);
|
|
753
|
-
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
754
|
-
var util_ = __webpack_require__(3458);
|
|
755
1033
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
756
1034
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
757
1035
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_types/global-event"
|
|
@@ -855,9 +1133,13 @@ let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive
|
|
|
855
1133
|
latSectionValueMax: 10,
|
|
856
1134
|
enableHeightSection: props.settingParams?.enableHeightSection ?? true, // 高度剖面
|
|
857
1135
|
heightSectionValueMax: 10, //高度剖面最大值
|
|
858
|
-
heightSectionValue: props.settingParams?.heightSectionValue ?? 50, //
|
|
1136
|
+
heightSectionValue: props.settingParams?.heightSectionValue ?? 50, // 高度剖面高度
|
|
859
1137
|
bodyDissectionAxis: props.settingParams?.bodyDissectionAxis ?? true, // 体剖切刻度线
|
|
860
|
-
bodyDissectionAlpha: props.settingParams?.bodyDissectionAlpha ?? 1 //体剖切透明度
|
|
1138
|
+
bodyDissectionAlpha: props.settingParams?.bodyDissectionAlpha ?? 1, //体剖切透明度
|
|
1139
|
+
bodyDissectionXClipping: props.settingParams?.bodyDissectionXClipping ?? 0, //体剖切透明度
|
|
1140
|
+
bodyDissectionYClipping: props.settingParams?.bodyDissectionYClipping ?? 0, //体剖切透明度
|
|
1141
|
+
bodyDissectionZClipping: props.settingParams?.bodyDissectionZClipping ?? 1, //体剖切透明度
|
|
1142
|
+
bodyDissectionZClippingMax: props.settingParams?.bodyDissectionZClippingMax ?? 10 //体剖切透明度
|
|
861
1143
|
});
|
|
862
1144
|
// 创建深度复制
|
|
863
1145
|
let formItemDef = JSON.parse(JSON.stringify(formItem));
|
|
@@ -903,7 +1185,7 @@ headerTempTitle.value = language.value.windySlicingAnalysisTitle;
|
|
|
903
1185
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
904
1186
|
gis_utils_.utils.getWebMap(props.mapTarget, scenceView => {
|
|
905
1187
|
if (scenceView) {
|
|
906
|
-
viewModel = new WindySlicingViewModel
|
|
1188
|
+
viewModel = new WindySlicingViewModel(scenceView, formItem, callbackParams);
|
|
907
1189
|
}
|
|
908
1190
|
});
|
|
909
1191
|
setTimeout(() => {
|
|
@@ -933,8 +1215,12 @@ const handleWindyTypeChange = data => {
|
|
|
933
1215
|
showWindySlicing.value = true;
|
|
934
1216
|
viewModel && viewModel.getWindySlicingLayer(data?.guid ?? "");
|
|
935
1217
|
};
|
|
1218
|
+
const changeWindyLayer = data => {
|
|
1219
|
+
clear();
|
|
1220
|
+
Object.assign(formItem, formItemDef);
|
|
1221
|
+
viewModel && viewModel.getWindySlicingLayer(null, data);
|
|
1222
|
+
};
|
|
936
1223
|
function callbackParams(key, val) {
|
|
937
|
-
console.log(val);
|
|
938
1224
|
switch (key) {
|
|
939
1225
|
case "showSlicingSetting":
|
|
940
1226
|
showSlicingSetting.value = val;
|
|
@@ -949,9 +1235,27 @@ function callbackParams(key, val) {
|
|
|
949
1235
|
viewModel._options["enableLayerings"] = val.zValues;
|
|
950
1236
|
formItem.altitudeControl = val.zValues.length;
|
|
951
1237
|
formItem.maxAltitudeControl = val.zValues.length;
|
|
1238
|
+
Object.assign(viewModel._options, formItem);
|
|
952
1239
|
}
|
|
953
1240
|
unit.value = val.unit;
|
|
954
1241
|
break;
|
|
1242
|
+
case "windySlicingSurfaceSection":
|
|
1243
|
+
changeParams(val);
|
|
1244
|
+
break;
|
|
1245
|
+
case "bodyDissectionZClipping":
|
|
1246
|
+
formItem.bodyDissectionAxis = true;
|
|
1247
|
+
formItem.bodyDissectionAlpha = 1;
|
|
1248
|
+
formItem.bodyDissectionXClipping = 0;
|
|
1249
|
+
formItem.bodyDissectionYClipping = 0;
|
|
1250
|
+
formItem.bodyDissectionZClipping = 1;
|
|
1251
|
+
if (unit.value == "hpa") {
|
|
1252
|
+
formItem.bodyDissectionZClipping = 1;
|
|
1253
|
+
} else {
|
|
1254
|
+
formItem.bodyDissectionZClipping = val.length;
|
|
1255
|
+
}
|
|
1256
|
+
formItem.bodyDissectionZClippingMax = val.length;
|
|
1257
|
+
Object.assign(viewModel._options, formItem);
|
|
1258
|
+
break;
|
|
955
1259
|
default:
|
|
956
1260
|
break;
|
|
957
1261
|
}
|
|
@@ -964,11 +1268,12 @@ function changeMode(mode) {
|
|
|
964
1268
|
formItem.mode = mode;
|
|
965
1269
|
viewModel._options.mode = formItem.mode;
|
|
966
1270
|
viewModel && viewModel.paramsChanged("mode");
|
|
967
|
-
if(mode == "delete"){
|
|
1271
|
+
if (mode == "delete") {
|
|
968
1272
|
Object.assign(formItem, formItemDef);
|
|
969
1273
|
}
|
|
970
1274
|
}
|
|
971
1275
|
}
|
|
1276
|
+
// 参数切换事件
|
|
972
1277
|
function paramsChanged(key) {
|
|
973
1278
|
if (!viewModel) return;
|
|
974
1279
|
viewModel._options[key] = formItem[key];
|
|
@@ -976,34 +1281,75 @@ function paramsChanged(key) {
|
|
|
976
1281
|
let defaultValues = null;
|
|
977
1282
|
switch (key) {
|
|
978
1283
|
case "slicingType":
|
|
1284
|
+
resetParams();
|
|
979
1285
|
const VALID_SLICING_TYPES = { 1: "1", 3: "3" };
|
|
980
1286
|
const newStyleType = VALID_SLICING_TYPES[formItem.slicingType];
|
|
981
1287
|
if (newStyleType) {
|
|
982
1288
|
viewModel._options.styleType = formItem.styleType = newStyleType;
|
|
983
1289
|
}
|
|
984
1290
|
break;
|
|
1291
|
+
case "styleType":
|
|
1292
|
+
resetParams();
|
|
1293
|
+
if (formItem.styleType == "2") {
|
|
1294
|
+
changeParams(enableLayerings.value);
|
|
1295
|
+
}
|
|
1296
|
+
break;
|
|
985
1297
|
case "altitudeControl":
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
defaultValues = gdzValues;
|
|
989
|
-
if(!viewModel?.volumelines) return;
|
|
990
|
-
let jdValue = Math.abs(viewModel?.volumelines.line1[0].longitude - viewModel?.volumelines.line1[1].longitude);
|
|
991
|
-
jdValue = jdValue.toFixed(3);
|
|
992
|
-
formItem.longSectionValueStep = jdValue / 100;
|
|
993
|
-
formItem.longSectionValueMin = -(jdValue / 2);
|
|
994
|
-
formItem.longSectionValueMax = jdValue / 2;
|
|
995
|
-
formItem.longSectionValue = 0;
|
|
996
|
-
let wdValue = Math.abs(viewModel?.volumelines.line4[0].latitude - viewModel?.volumelines.line4[1].latitude);
|
|
997
|
-
wdValue = wdValue.toFixed(3);
|
|
998
|
-
formItem.latSectionValueStep = wdValue / 100;
|
|
999
|
-
formItem.latSectionValueMin = -(wdValue / 2);
|
|
1000
|
-
formItem.latSectionValueMax = wdValue / 2;
|
|
1001
|
-
formItem.latSectionValue = 0;
|
|
1298
|
+
defaultValues = enableLayerings.value.slice(0, formItem.altitudeControl);
|
|
1299
|
+
changeParams(defaultValues);
|
|
1002
1300
|
break;
|
|
1003
1301
|
default:
|
|
1004
1302
|
break;
|
|
1005
1303
|
}
|
|
1006
|
-
viewModel.paramsChanged?.(key,defaultValues); // 使用可选链调用方法
|
|
1304
|
+
viewModel.paramsChanged?.(key, defaultValues); // 使用可选链调用方法
|
|
1305
|
+
}
|
|
1306
|
+
// 重置界面参数
|
|
1307
|
+
function resetParams() {
|
|
1308
|
+
// 面分层重置参数
|
|
1309
|
+
formItem.showAxis = true;
|
|
1310
|
+
formItem.enableLayering = true;
|
|
1311
|
+
formItem.enableLayerings = enableLayerings?.value ?? [];
|
|
1312
|
+
viewModel._options["enableLayerings"] = enableLayerings?.value ?? [];
|
|
1313
|
+
formItem.altitudeControl = enableLayerings?.value?.length ?? 0;
|
|
1314
|
+
formItem.maxAltitudeControl = enableLayerings?.value?.length ?? 0;
|
|
1315
|
+
// 面剖重置参数
|
|
1316
|
+
formItem.enableHeightSection = true;
|
|
1317
|
+
formItem.enableLatSection = true;
|
|
1318
|
+
formItem.enableLongSection = true;
|
|
1319
|
+
// 三维体重置参数
|
|
1320
|
+
formItem.bodyDissectionAxis = true;
|
|
1321
|
+
formItem.bodyDissectionAlpha = 1;
|
|
1322
|
+
formItem.bodyDissectionXClipping = 0;
|
|
1323
|
+
formItem.bodyDissectionYClipping = 0;
|
|
1324
|
+
formItem.bodyDissectionZClipping = 1;
|
|
1325
|
+
formItem.bodyDissectionZClippingMax = 10;
|
|
1326
|
+
Object.assign(viewModel._options, formItem);
|
|
1327
|
+
}
|
|
1328
|
+
function changeParams(gdzValues) {
|
|
1329
|
+
formItem.heightSectionValueMax = gdzValues.length;
|
|
1330
|
+
if (unit.value != "hpa") {
|
|
1331
|
+
formItem.heightSectionValue = 1;
|
|
1332
|
+
} else {
|
|
1333
|
+
formItem.heightSectionValue = gdzValues.length;
|
|
1334
|
+
}
|
|
1335
|
+
if (!viewModel?.volumelines) return;
|
|
1336
|
+
let jdValue = Math.abs(viewModel?.volumelines.line1[0].longitude - viewModel?.volumelines.line1[1].longitude);
|
|
1337
|
+
jdValue = jdValue.toFixed(3);
|
|
1338
|
+
|
|
1339
|
+
formItem.longSectionValueStep = jdValue / 100;
|
|
1340
|
+
formItem.longSectionValueMin = -(jdValue / 2);
|
|
1341
|
+
formItem.longSectionValueMax = jdValue / 2;
|
|
1342
|
+
formItem.longSectionValue = 0;
|
|
1343
|
+
|
|
1344
|
+
let wdValue = Math.abs(viewModel?.volumelines.line4[0].latitude - viewModel?.volumelines.line4[1].latitude);
|
|
1345
|
+
wdValue = wdValue.toFixed(3);
|
|
1346
|
+
|
|
1347
|
+
formItem.latSectionValueStep = wdValue / 100;
|
|
1348
|
+
formItem.latSectionValueMin = -(wdValue / 2);
|
|
1349
|
+
formItem.latSectionValueMax = wdValue / 2;
|
|
1350
|
+
formItem.latSectionValue = 0;
|
|
1351
|
+
|
|
1352
|
+
Object.assign(viewModel._options, formItem);
|
|
1007
1353
|
}
|
|
1008
1354
|
function clear() {
|
|
1009
1355
|
showSlicingSetting.value = false;
|
|
@@ -1020,9 +1366,8 @@ function formatTooltip(val) {
|
|
|
1020
1366
|
});
|
|
1021
1367
|
|
|
1022
1368
|
__expose({
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
clear
|
|
1369
|
+
clear,
|
|
1370
|
+
changeWindyLayer
|
|
1026
1371
|
});
|
|
1027
1372
|
|
|
1028
1373
|
return (_ctx, _cache) => {
|
|
@@ -1182,6 +1527,22 @@ return (_ctx, _cache) => {
|
|
|
1182
1527
|
_: 1 /* STABLE */
|
|
1183
1528
|
}, 512 /* NEED_PATCH */), [
|
|
1184
1529
|
[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slicingType == 3]
|
|
1530
|
+
]),
|
|
1531
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio_button, { label: "4" }, {
|
|
1532
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
1533
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).windSpeedBody), 1 /* TEXT */)
|
|
1534
|
+
]),
|
|
1535
|
+
_: 1 /* STABLE */
|
|
1536
|
+
}, 512 /* NEED_PATCH */), [
|
|
1537
|
+
[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slicingType == 3]
|
|
1538
|
+
]),
|
|
1539
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio_button, { label: "5" }, {
|
|
1540
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
1541
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).isosurface), 1 /* TEXT */)
|
|
1542
|
+
]),
|
|
1543
|
+
_: 1 /* STABLE */
|
|
1544
|
+
}, 512 /* NEED_PATCH */), [
|
|
1545
|
+
[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slicingType == 3]
|
|
1185
1546
|
])
|
|
1186
1547
|
]),
|
|
1187
1548
|
_: 1 /* STABLE */
|
|
@@ -1374,7 +1735,8 @@ return (_ctx, _cache) => {
|
|
|
1374
1735
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
1375
1736
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_switch, {
|
|
1376
1737
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableLongSection,
|
|
1377
|
-
"onUpdate:modelValue": _cache[22] || (_cache[22] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableLongSection) = $event))
|
|
1738
|
+
"onUpdate:modelValue": _cache[22] || (_cache[22] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableLongSection) = $event)),
|
|
1739
|
+
onChange: _cache[23] || (_cache[23] = $event => (paramsChanged('enableLongSection')))
|
|
1378
1740
|
}, null, 8 /* PROPS */, ["modelValue"])
|
|
1379
1741
|
]),
|
|
1380
1742
|
_: 1 /* STABLE */
|
|
@@ -1394,12 +1756,12 @@ return (_ctx, _cache) => {
|
|
|
1394
1756
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
1395
1757
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
1396
1758
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValue,
|
|
1397
|
-
"onUpdate:modelValue": _cache[
|
|
1759
|
+
"onUpdate:modelValue": _cache[24] || (_cache[24] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValue) = $event)),
|
|
1398
1760
|
"show-tooltip": false,
|
|
1399
1761
|
step: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValueStep,
|
|
1400
1762
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValueMin,
|
|
1401
1763
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValueMax,
|
|
1402
|
-
onChange: _cache[
|
|
1764
|
+
onChange: _cache[25] || (_cache[25] = $event => (paramsChanged('longSectionValue')))
|
|
1403
1765
|
}, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])
|
|
1404
1766
|
]),
|
|
1405
1767
|
_: 1 /* STABLE */
|
|
@@ -1408,12 +1770,12 @@ return (_ctx, _cache) => {
|
|
|
1408
1770
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
1409
1771
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input_number, {
|
|
1410
1772
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValue,
|
|
1411
|
-
"onUpdate:modelValue": _cache[
|
|
1773
|
+
"onUpdate:modelValue": _cache[26] || (_cache[26] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValue) = $event)),
|
|
1412
1774
|
step: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValueStep,
|
|
1413
1775
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValueMin,
|
|
1414
1776
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).longSectionValueMax,
|
|
1415
1777
|
"controls-position": "right",
|
|
1416
|
-
onChange: _cache[
|
|
1778
|
+
onChange: _cache[27] || (_cache[27] = $event => (paramsChanged('longSectionValue')))
|
|
1417
1779
|
}, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])
|
|
1418
1780
|
]),
|
|
1419
1781
|
_: 1 /* STABLE */
|
|
@@ -1435,7 +1797,8 @@ return (_ctx, _cache) => {
|
|
|
1435
1797
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
1436
1798
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_switch, {
|
|
1437
1799
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableLatSection,
|
|
1438
|
-
"onUpdate:modelValue": _cache[
|
|
1800
|
+
"onUpdate:modelValue": _cache[28] || (_cache[28] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableLatSection) = $event)),
|
|
1801
|
+
onChange: _cache[29] || (_cache[29] = $event => (paramsChanged('enableLatSection')))
|
|
1439
1802
|
}, null, 8 /* PROPS */, ["modelValue"])
|
|
1440
1803
|
]),
|
|
1441
1804
|
_: 1 /* STABLE */
|
|
@@ -1455,12 +1818,12 @@ return (_ctx, _cache) => {
|
|
|
1455
1818
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
1456
1819
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
1457
1820
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValue,
|
|
1458
|
-
"onUpdate:modelValue": _cache[
|
|
1821
|
+
"onUpdate:modelValue": _cache[30] || (_cache[30] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValue) = $event)),
|
|
1459
1822
|
"show-tooltip": false,
|
|
1460
1823
|
step: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValueStep,
|
|
1461
1824
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValueMin,
|
|
1462
1825
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValueMax,
|
|
1463
|
-
onChange: _cache[
|
|
1826
|
+
onChange: _cache[31] || (_cache[31] = $event => (paramsChanged('latSectionValue')))
|
|
1464
1827
|
}, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])
|
|
1465
1828
|
]),
|
|
1466
1829
|
_: 1 /* STABLE */
|
|
@@ -1469,12 +1832,12 @@ return (_ctx, _cache) => {
|
|
|
1469
1832
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
1470
1833
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input_number, {
|
|
1471
1834
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValue,
|
|
1472
|
-
"onUpdate:modelValue": _cache[
|
|
1835
|
+
"onUpdate:modelValue": _cache[32] || (_cache[32] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValue) = $event)),
|
|
1473
1836
|
step: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValueStep,
|
|
1474
1837
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValueMin,
|
|
1475
1838
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).latSectionValueMax,
|
|
1476
1839
|
"controls-position": "right",
|
|
1477
|
-
onChange: _cache[
|
|
1840
|
+
onChange: _cache[33] || (_cache[33] = $event => (paramsChanged('latSectionValue')))
|
|
1478
1841
|
}, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])
|
|
1479
1842
|
]),
|
|
1480
1843
|
_: 1 /* STABLE */
|
|
@@ -1496,7 +1859,8 @@ return (_ctx, _cache) => {
|
|
|
1496
1859
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
1497
1860
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_switch, {
|
|
1498
1861
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableHeightSection,
|
|
1499
|
-
"onUpdate:modelValue": _cache[
|
|
1862
|
+
"onUpdate:modelValue": _cache[34] || (_cache[34] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableHeightSection) = $event)),
|
|
1863
|
+
onChange: _cache[35] || (_cache[35] = $event => (paramsChanged('enableHeightSection')))
|
|
1500
1864
|
}, null, 8 /* PROPS */, ["modelValue"])
|
|
1501
1865
|
]),
|
|
1502
1866
|
_: 1 /* STABLE */
|
|
@@ -1516,12 +1880,12 @@ return (_ctx, _cache) => {
|
|
|
1516
1880
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
1517
1881
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
1518
1882
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heightSectionValue,
|
|
1519
|
-
"onUpdate:modelValue": _cache[
|
|
1883
|
+
"onUpdate:modelValue": _cache[36] || (_cache[36] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heightSectionValue) = $event)),
|
|
1520
1884
|
"show-tooltip": false,
|
|
1521
1885
|
step: 1,
|
|
1522
1886
|
min: 0,
|
|
1523
1887
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heightSectionValueMax,
|
|
1524
|
-
onChange: _cache[
|
|
1888
|
+
onChange: _cache[37] || (_cache[37] = $event => (paramsChanged('heightSectionValue')))
|
|
1525
1889
|
}, null, 8 /* PROPS */, ["modelValue", "max"])
|
|
1526
1890
|
]),
|
|
1527
1891
|
_: 1 /* STABLE */
|
|
@@ -1530,12 +1894,12 @@ return (_ctx, _cache) => {
|
|
|
1530
1894
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
1531
1895
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input_number, {
|
|
1532
1896
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heightSectionValue,
|
|
1533
|
-
"onUpdate:modelValue": _cache[
|
|
1897
|
+
"onUpdate:modelValue": _cache[38] || (_cache[38] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heightSectionValue) = $event)),
|
|
1534
1898
|
step: 1,
|
|
1535
1899
|
min: 0,
|
|
1536
1900
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).heightSectionValueMax,
|
|
1537
1901
|
"controls-position": "right",
|
|
1538
|
-
onChange: _cache[
|
|
1902
|
+
onChange: _cache[39] || (_cache[39] = $event => (paramsChanged('heightSectionValue')))
|
|
1539
1903
|
}, null, 8 /* PROPS */, ["modelValue", "max"])
|
|
1540
1904
|
]),
|
|
1541
1905
|
_: 1 /* STABLE */
|
|
@@ -1552,7 +1916,7 @@ return (_ctx, _cache) => {
|
|
|
1552
1916
|
], 64 /* STABLE_FRAGMENT */))
|
|
1553
1917
|
: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true),
|
|
1554
1918
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" 体剖切设置 "),
|
|
1555
|
-
((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).
|
|
1919
|
+
((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).styleType === '3')
|
|
1556
1920
|
? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, { key: 2 }, [
|
|
1557
1921
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, { class: "rowclass" }, {
|
|
1558
1922
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
@@ -1562,8 +1926,8 @@ return (_ctx, _cache) => {
|
|
|
1562
1926
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
1563
1927
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_switch, {
|
|
1564
1928
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAxis,
|
|
1565
|
-
"onUpdate:modelValue": _cache[
|
|
1566
|
-
onChange: _cache[
|
|
1929
|
+
"onUpdate:modelValue": _cache[40] || (_cache[40] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAxis) = $event)),
|
|
1930
|
+
onChange: _cache[41] || (_cache[41] = $event => (paramsChanged('bodyDissectionAxis')))
|
|
1567
1931
|
}, null, 8 /* PROPS */, ["modelValue"])
|
|
1568
1932
|
]),
|
|
1569
1933
|
_: 1 /* STABLE */
|
|
@@ -1583,11 +1947,11 @@ return (_ctx, _cache) => {
|
|
|
1583
1947
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
1584
1948
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
1585
1949
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAlpha,
|
|
1586
|
-
"onUpdate:modelValue": _cache[
|
|
1950
|
+
"onUpdate:modelValue": _cache[42] || (_cache[42] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAlpha) = $event)),
|
|
1587
1951
|
step: 0.01,
|
|
1588
1952
|
min: 0,
|
|
1589
1953
|
max: 1,
|
|
1590
|
-
onChange: _cache[
|
|
1954
|
+
onChange: _cache[43] || (_cache[43] = $event => (paramsChanged('bodyDissectionAlpha')))
|
|
1591
1955
|
}, null, 8 /* PROPS */, ["modelValue", "step"])
|
|
1592
1956
|
]),
|
|
1593
1957
|
_: 1 /* STABLE */
|
|
@@ -1596,12 +1960,12 @@ return (_ctx, _cache) => {
|
|
|
1596
1960
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
1597
1961
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input_number, {
|
|
1598
1962
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAlpha,
|
|
1599
|
-
"onUpdate:modelValue": _cache[
|
|
1963
|
+
"onUpdate:modelValue": _cache[44] || (_cache[44] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionAlpha) = $event)),
|
|
1600
1964
|
min: 0,
|
|
1601
1965
|
max: 1,
|
|
1602
1966
|
step: 0.01,
|
|
1603
1967
|
"controls-position": "right",
|
|
1604
|
-
onChange: _cache[
|
|
1968
|
+
onChange: _cache[45] || (_cache[45] = $event => (paramsChanged('bodyDissectionAlpha')))
|
|
1605
1969
|
}, null, 8 /* PROPS */, ["modelValue", "step"])
|
|
1606
1970
|
]),
|
|
1607
1971
|
_: 1 /* STABLE */
|
|
@@ -1626,27 +1990,27 @@ return (_ctx, _cache) => {
|
|
|
1626
1990
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, { span: 16 }, {
|
|
1627
1991
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
1628
1992
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
1629
|
-
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).
|
|
1630
|
-
"onUpdate:modelValue": _cache[
|
|
1631
|
-
step: 1,
|
|
1993
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionXClipping,
|
|
1994
|
+
"onUpdate:modelValue": _cache[46] || (_cache[46] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionXClipping) = $event)),
|
|
1995
|
+
step: 0.1,
|
|
1632
1996
|
min: 0,
|
|
1633
|
-
max:
|
|
1634
|
-
onChange: _cache[
|
|
1635
|
-
}, null, 8 /* PROPS */, ["modelValue"])
|
|
1997
|
+
max: 1,
|
|
1998
|
+
onChange: _cache[47] || (_cache[47] = $event => (paramsChanged('bodyDissectionXClipping')))
|
|
1999
|
+
}, null, 8 /* PROPS */, ["modelValue", "step"])
|
|
1636
2000
|
]),
|
|
1637
2001
|
_: 1 /* STABLE */
|
|
1638
2002
|
}),
|
|
1639
2003
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, { span: 8 }, {
|
|
1640
2004
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
1641
2005
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input_number, {
|
|
1642
|
-
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).
|
|
1643
|
-
"onUpdate:modelValue": _cache[
|
|
2006
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionXClipping,
|
|
2007
|
+
"onUpdate:modelValue": _cache[48] || (_cache[48] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionXClipping) = $event)),
|
|
1644
2008
|
min: 0,
|
|
1645
|
-
max:
|
|
1646
|
-
step: 1,
|
|
2009
|
+
max: 1,
|
|
2010
|
+
step: 0.1,
|
|
1647
2011
|
"controls-position": "right",
|
|
1648
|
-
onChange: _cache[
|
|
1649
|
-
}, null, 8 /* PROPS */, ["modelValue"])
|
|
2012
|
+
onChange: _cache[49] || (_cache[49] = $event => (paramsChanged('bodyDissectionXClipping')))
|
|
2013
|
+
}, null, 8 /* PROPS */, ["modelValue", "step"])
|
|
1650
2014
|
]),
|
|
1651
2015
|
_: 1 /* STABLE */
|
|
1652
2016
|
})
|
|
@@ -1670,27 +2034,27 @@ return (_ctx, _cache) => {
|
|
|
1670
2034
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, { span: 16 }, {
|
|
1671
2035
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
1672
2036
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
1673
|
-
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).
|
|
1674
|
-
"onUpdate:modelValue": _cache[
|
|
1675
|
-
step: 1,
|
|
2037
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionYClipping,
|
|
2038
|
+
"onUpdate:modelValue": _cache[50] || (_cache[50] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionYClipping) = $event)),
|
|
2039
|
+
step: 0.1,
|
|
1676
2040
|
min: 0,
|
|
1677
|
-
max:
|
|
1678
|
-
onChange: _cache[
|
|
1679
|
-
}, null, 8 /* PROPS */, ["modelValue"])
|
|
2041
|
+
max: 1,
|
|
2042
|
+
onChange: _cache[51] || (_cache[51] = $event => (paramsChanged('bodyDissectionYClipping')))
|
|
2043
|
+
}, null, 8 /* PROPS */, ["modelValue", "step"])
|
|
1680
2044
|
]),
|
|
1681
2045
|
_: 1 /* STABLE */
|
|
1682
2046
|
}),
|
|
1683
2047
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, { span: 8 }, {
|
|
1684
2048
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
1685
2049
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input_number, {
|
|
1686
|
-
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).
|
|
1687
|
-
"onUpdate:modelValue": _cache[
|
|
2050
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionYClipping,
|
|
2051
|
+
"onUpdate:modelValue": _cache[52] || (_cache[52] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionYClipping) = $event)),
|
|
1688
2052
|
min: 0,
|
|
1689
|
-
max:
|
|
1690
|
-
step: 1,
|
|
2053
|
+
max: 1,
|
|
2054
|
+
step: 0.1,
|
|
1691
2055
|
"controls-position": "right",
|
|
1692
|
-
onChange: _cache[
|
|
1693
|
-
}, null, 8 /* PROPS */, ["modelValue"])
|
|
2056
|
+
onChange: _cache[53] || (_cache[53] = $event => (paramsChanged('bodyDissectionYClipping')))
|
|
2057
|
+
}, null, 8 /* PROPS */, ["modelValue", "step"])
|
|
1694
2058
|
]),
|
|
1695
2059
|
_: 1 /* STABLE */
|
|
1696
2060
|
})
|
|
@@ -1714,27 +2078,27 @@ return (_ctx, _cache) => {
|
|
|
1714
2078
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, { span: 16 }, {
|
|
1715
2079
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
1716
2080
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
1717
|
-
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).
|
|
1718
|
-
"onUpdate:modelValue": _cache[
|
|
2081
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionZClipping,
|
|
2082
|
+
"onUpdate:modelValue": _cache[54] || (_cache[54] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionZClipping) = $event)),
|
|
1719
2083
|
step: 1,
|
|
1720
|
-
min:
|
|
1721
|
-
max:
|
|
1722
|
-
onChange: _cache[
|
|
1723
|
-
}, null, 8 /* PROPS */, ["modelValue"])
|
|
2084
|
+
min: 1,
|
|
2085
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionZClippingMax,
|
|
2086
|
+
onChange: _cache[55] || (_cache[55] = $event => (paramsChanged('bodyDissectionZClipping')))
|
|
2087
|
+
}, null, 8 /* PROPS */, ["modelValue", "max"])
|
|
1724
2088
|
]),
|
|
1725
2089
|
_: 1 /* STABLE */
|
|
1726
2090
|
}),
|
|
1727
2091
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, { span: 8 }, {
|
|
1728
2092
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [
|
|
1729
2093
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_input_number, {
|
|
1730
|
-
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).
|
|
1731
|
-
"onUpdate:modelValue": _cache[
|
|
1732
|
-
min:
|
|
1733
|
-
max:
|
|
2094
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionZClipping,
|
|
2095
|
+
"onUpdate:modelValue": _cache[56] || (_cache[56] = $event => (((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionZClipping) = $event)),
|
|
2096
|
+
min: 1,
|
|
2097
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).bodyDissectionZClippingMax,
|
|
1734
2098
|
step: 1,
|
|
1735
2099
|
"controls-position": "right",
|
|
1736
|
-
onChange: _cache[
|
|
1737
|
-
}, null, 8 /* PROPS */, ["modelValue"])
|
|
2100
|
+
onChange: _cache[57] || (_cache[57] = $event => (paramsChanged('bodyDissectionZClipping')))
|
|
2101
|
+
}, null, 8 /* PROPS */, ["modelValue", "max"])
|
|
1738
2102
|
]),
|
|
1739
2103
|
_: 1 /* STABLE */
|
|
1740
2104
|
})
|