@kq_npm/client3d_webgl_vue 4.5.2 → 4.5.4-beta
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 +355 -538
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +172 -239
- package/baseterraingallery/index.js +124 -145
- package/boxclip/index.js +300 -481
- package/clientPrint/index.js +335 -898
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +226 -246
- package/compass/index.js +96 -84
- package/excavatefillanalysis/index.js +193 -263
- package/fixedzoomin/index.js +91 -76
- package/fixedzoomout/index.js +91 -76
- package/flight/index.js +311 -415
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +255 -393
- package/geologicalbodyanalysis/index.js +215 -298
- package/gpuspatialquery/index.js +260 -402
- package/hawkeye/index.js +141 -103
- package/headertemp/index.js +25 -34
- package/heatmap3d/index.js +451 -763
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +20826 -17774
- package/isolineanalysis/index.js +566 -1243
- package/light/index.js +353 -488
- package/limitheightanalysis/index.js +251 -312
- package/measure/index.js +350 -504
- package/modelFlat/index.js +214 -234
- package/modelexcavate/index.js +206 -262
- package/modelfilter/index.js +229 -308
- package/modelprofileanalysis/index.js +356 -465
- package/modelselect/index.js +192 -184
- package/package.json +1 -1
- package/particleeffect/index.js +259 -430
- package/planeclip/index.js +249 -339
- package/resetview/index.js +89 -69
- package/roller/index.js +307 -363
- package/scaneffect/index.js +285 -582
- package/sceneadvancedtoimage/index.js +1055 -0
- package/sceneadvancedtoimage/style/index.js +3 -0
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
- package/sceneapp/index.js +11149 -0
- package/sceneset/index.js +393 -885
- package/scenetohdimage/index.js +214 -346
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +22780 -19540
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +275 -312
- package/shadowanalysis/index.js +269 -448
- package/sightlineanalysis/index.js +231 -312
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +213 -351
- package/slopeanalysis/index.js +282 -444
- package/slopeaspectanalysis/index.js +315 -534
- package/statusbar/index.js +194 -164
- package/style.css +1 -1
- package/terrainoperation/index.js +230 -280
- package/terrainprofileanalysis/index.js +174 -182
- package/underground/index.js +98 -82
- package/videofusion/index.js +319 -532
- package/videoproject/index.js +325 -534
- package/viewshedanalysis/index.js +178 -275
- package/weathereffect/index.js +199 -343
- package/wireframesketch/index.js +146 -150
|
@@ -7,101 +7,155 @@
|
|
|
7
7
|
var a = typeof exports === 'object' ? 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")) : 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"]);
|
|
8
8
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
9
|
}
|
|
10
|
-
})(this, function(
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__154__, __WEBPACK_EXTERNAL_MODULE__64__, __WEBPACK_EXTERNAL_MODULE__455__, __WEBPACK_EXTERNAL_MODULE__2975__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 3275:
|
|
16
16
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17
17
|
|
|
18
|
+
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6363);
|
|
19
|
+
/* 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__);
|
|
20
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(455);
|
|
21
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
|
|
22
|
+
/*
|
|
23
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
24
|
+
* All rights reserved.
|
|
25
|
+
*/
|
|
18
26
|
|
|
19
|
-
// EXPORTS
|
|
20
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
21
|
-
"Z": function() { return /* binding */ message; }
|
|
22
|
-
});
|
|
23
27
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
|
|
28
|
+
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
29
|
+
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
30
|
+
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
31
|
+
};
|
|
32
|
+
/* harmony default export */ __webpack_exports__.A = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
30
33
|
|
|
34
|
+
/***/ }),
|
|
31
35
|
|
|
36
|
+
/***/ 5698:
|
|
37
|
+
/***/ (function(module) {
|
|
32
38
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
39
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
40
|
+
|
|
41
|
+
/***/ }),
|
|
42
|
+
|
|
43
|
+
/***/ 2652:
|
|
44
|
+
/***/ (function(module) {
|
|
37
45
|
|
|
38
|
-
|
|
46
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
39
47
|
|
|
40
48
|
/***/ }),
|
|
41
49
|
|
|
42
|
-
/***/
|
|
50
|
+
/***/ 3658:
|
|
43
51
|
/***/ (function(module) {
|
|
44
52
|
|
|
45
|
-
module.exports = require("
|
|
53
|
+
module.exports = require("core-js/modules/esnext.iterator.constructor.js");
|
|
46
54
|
|
|
47
55
|
/***/ }),
|
|
48
56
|
|
|
49
|
-
/***/
|
|
57
|
+
/***/ 4669:
|
|
58
|
+
/***/ (function(module) {
|
|
59
|
+
|
|
60
|
+
module.exports = require("core-js/modules/esnext.iterator.for-each.js");
|
|
61
|
+
|
|
62
|
+
/***/ }),
|
|
63
|
+
|
|
64
|
+
/***/ 6363:
|
|
65
|
+
/***/ (function(module) {
|
|
66
|
+
|
|
67
|
+
module.exports = require("element-plus/dist/index.full.js");
|
|
68
|
+
|
|
69
|
+
/***/ }),
|
|
70
|
+
|
|
71
|
+
/***/ 3579:
|
|
50
72
|
/***/ (function(module) {
|
|
51
73
|
|
|
52
74
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
53
75
|
|
|
54
76
|
/***/ }),
|
|
55
77
|
|
|
56
|
-
/***/
|
|
78
|
+
/***/ 64:
|
|
57
79
|
/***/ (function(module) {
|
|
58
80
|
|
|
59
|
-
module.exports =
|
|
81
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
|
|
60
82
|
|
|
61
83
|
/***/ }),
|
|
62
84
|
|
|
63
|
-
/***/
|
|
85
|
+
/***/ 2975:
|
|
64
86
|
/***/ (function(module) {
|
|
65
87
|
|
|
66
|
-
module.exports =
|
|
88
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
|
|
67
89
|
|
|
68
90
|
/***/ }),
|
|
69
91
|
|
|
70
|
-
/***/
|
|
92
|
+
/***/ 455:
|
|
71
93
|
/***/ (function(module) {
|
|
72
94
|
|
|
73
|
-
module.exports =
|
|
95
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
|
|
74
96
|
|
|
75
97
|
/***/ }),
|
|
76
98
|
|
|
77
|
-
/***/
|
|
99
|
+
/***/ 154:
|
|
78
100
|
/***/ (function(module) {
|
|
79
101
|
|
|
80
|
-
module.exports =
|
|
102
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
|
|
81
103
|
|
|
82
104
|
/***/ }),
|
|
83
105
|
|
|
84
|
-
/***/
|
|
106
|
+
/***/ 6913:
|
|
85
107
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
86
108
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
function
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
109
|
+
|
|
110
|
+
// EXPORTS
|
|
111
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
112
|
+
A: function() { return /* binding */ _defineProperty; }
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
116
|
+
function _typeof(o) {
|
|
117
|
+
"@babel/helpers - typeof";
|
|
118
|
+
|
|
119
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
120
|
+
return typeof o;
|
|
121
|
+
} : function (o) {
|
|
122
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
123
|
+
}, _typeof(o);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
127
|
+
|
|
128
|
+
function toPrimitive(t, r) {
|
|
129
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
130
|
+
var e = t[Symbol.toPrimitive];
|
|
131
|
+
if (void 0 !== e) {
|
|
132
|
+
var i = e.call(t, r || "default");
|
|
133
|
+
if ("object" != _typeof(i)) return i;
|
|
134
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
100
135
|
}
|
|
136
|
+
return ("string" === r ? String : Number)(t);
|
|
137
|
+
}
|
|
101
138
|
|
|
102
|
-
|
|
139
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
function toPropertyKey(t) {
|
|
143
|
+
var i = toPrimitive(t, "string");
|
|
144
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
148
|
+
|
|
149
|
+
function _defineProperty(e, r, t) {
|
|
150
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
151
|
+
value: t,
|
|
152
|
+
enumerable: !0,
|
|
153
|
+
configurable: !0,
|
|
154
|
+
writable: !0
|
|
155
|
+
}) : e[r] = t, e;
|
|
103
156
|
}
|
|
104
157
|
|
|
158
|
+
|
|
105
159
|
/***/ })
|
|
106
160
|
|
|
107
161
|
/******/ });
|
|
@@ -173,58 +227,61 @@ function _defineProperty(obj, key, value) {
|
|
|
173
227
|
/******/
|
|
174
228
|
/************************************************************************/
|
|
175
229
|
var __webpack_exports__ = {};
|
|
176
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
177
|
-
!function() {
|
|
178
230
|
// ESM COMPAT FLAG
|
|
179
231
|
__webpack_require__.r(__webpack_exports__);
|
|
180
232
|
|
|
181
233
|
// EXPORTS
|
|
182
234
|
__webpack_require__.d(__webpack_exports__, {
|
|
183
|
-
|
|
235
|
+
TerrainOperationViewModel: function() { return /* reexport */ TerrainOperationViewModel; },
|
|
184
236
|
"default": function() { return /* reexport */ TerrainOperation; }
|
|
185
237
|
});
|
|
186
238
|
|
|
187
239
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
188
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
240
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
189
241
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
190
|
-
var gis_utils_ = __webpack_require__(
|
|
191
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
192
|
-
var defineProperty = __webpack_require__(
|
|
193
|
-
// EXTERNAL MODULE:
|
|
194
|
-
var
|
|
242
|
+
var gis_utils_ = __webpack_require__(64);
|
|
243
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
244
|
+
var defineProperty = __webpack_require__(6913);
|
|
245
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
246
|
+
var es_array_push_js_ = __webpack_require__(2652);
|
|
247
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
248
|
+
var esnext_iterator_constructor_js_ = __webpack_require__(3658);
|
|
249
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
|
|
250
|
+
var esnext_iterator_for_each_js_ = __webpack_require__(4669);
|
|
251
|
+
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
252
|
+
var message = __webpack_require__(3275);
|
|
195
253
|
;// CONCATENATED MODULE: ./src/webgl/terrainoperation/TerrainOperationViewModel.js
|
|
196
254
|
|
|
197
|
-
//地形淹没分析逻辑类
|
|
198
255
|
|
|
199
|
-
class TerrainOperationViewModel {
|
|
200
|
-
//地形开挖三维对象
|
|
201
|
-
//地形修改三维对象
|
|
202
|
-
//绘制管理对象
|
|
203
|
-
//全局参数
|
|
204
|
-
//绘制的坐标点集合
|
|
205
|
-
//地形操作类型
|
|
206
|
-
//开挖深度
|
|
207
|
-
//平整高度
|
|
208
|
-
//绘制完成监听事件
|
|
209
|
-
constructor(scenceView, viewModel) {
|
|
210
|
-
(0,defineProperty/* default */.Z)(this, "_terrainexcavationext", null);
|
|
211
256
|
|
|
212
|
-
(0,defineProperty/* default */.Z)(this, "_terrainmodification", null);
|
|
213
257
|
|
|
214
|
-
|
|
258
|
+
/*
|
|
259
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
260
|
+
* All rights reserved.
|
|
261
|
+
*/
|
|
215
262
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
(0,defineProperty/* default */.Z)(this, "_positions", []);
|
|
219
|
-
|
|
220
|
-
(0,defineProperty/* default */.Z)(this, "_terrainStyle", null);
|
|
221
|
-
|
|
222
|
-
(0,defineProperty/* default */.Z)(this, "_height", 0);
|
|
223
|
-
|
|
224
|
-
(0,defineProperty/* default */.Z)(this, "_smoothHeight", 2000);
|
|
225
|
-
|
|
226
|
-
(0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
|
|
263
|
+
//地形淹没分析逻辑类
|
|
227
264
|
|
|
265
|
+
class TerrainOperationViewModel {
|
|
266
|
+
//绘制完成监听事件
|
|
267
|
+
constructor(scenceView, viewModel) {
|
|
268
|
+
(0,defineProperty/* default */.A)(this, "_terrainexcavationext", null);
|
|
269
|
+
//地形开挖三维对象
|
|
270
|
+
(0,defineProperty/* default */.A)(this, "_terrainmodification", null);
|
|
271
|
+
//地形修改三维对象
|
|
272
|
+
(0,defineProperty/* default */.A)(this, "_drawManager", null);
|
|
273
|
+
//绘制管理对象
|
|
274
|
+
(0,defineProperty/* default */.A)(this, "_globaOptions", {});
|
|
275
|
+
//全局参数
|
|
276
|
+
(0,defineProperty/* default */.A)(this, "_positions", []);
|
|
277
|
+
//绘制的坐标点集合
|
|
278
|
+
(0,defineProperty/* default */.A)(this, "_terrainStyle", null);
|
|
279
|
+
//地形操作类型
|
|
280
|
+
(0,defineProperty/* default */.A)(this, "_height", 0);
|
|
281
|
+
//开挖深度
|
|
282
|
+
(0,defineProperty/* default */.A)(this, "_smoothHeight", 2000);
|
|
283
|
+
//平整高度
|
|
284
|
+
(0,defineProperty/* default */.A)(this, "_removeEventListener", null);
|
|
228
285
|
this._globaOptions.viewer = scenceView._viewer;
|
|
229
286
|
this._globaOptions.viewer.scene.logarithmicDepthBuffer = false;
|
|
230
287
|
this._globaOptions.viewer.scene.globe.depthTestAgainstTerrain = true;
|
|
@@ -236,10 +293,8 @@ class TerrainOperationViewModel {
|
|
|
236
293
|
this._removeEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
237
294
|
if (shape) {
|
|
238
295
|
that._globaOptions.positions = shape._controlPoints;
|
|
239
|
-
|
|
240
296
|
if (that._terrainStyle === 1) {
|
|
241
297
|
that._positions.push(shape._controlPoints);
|
|
242
|
-
|
|
243
298
|
if (that._terrainexcavationext) {
|
|
244
299
|
that.setTerrainExcavationAddPolygon();
|
|
245
300
|
} else {
|
|
@@ -254,16 +309,13 @@ class TerrainOperationViewModel {
|
|
|
254
309
|
this.createTerrainModification();
|
|
255
310
|
}
|
|
256
311
|
}
|
|
257
|
-
|
|
258
312
|
that._drawManager.clear();
|
|
259
313
|
}
|
|
260
314
|
});
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
|
|
315
|
+
}
|
|
316
|
+
// 创建地形分析类
|
|
264
317
|
createTerrainExcavation(callback) {
|
|
265
318
|
var that = this;
|
|
266
|
-
|
|
267
319
|
this._globaOptions.viewer.terrainProvider.readyPromise.then(function () {
|
|
268
320
|
setTimeout(() => {
|
|
269
321
|
// 地形开挖
|
|
@@ -273,25 +325,21 @@ class TerrainOperationViewModel {
|
|
|
273
325
|
if (callback) callback();
|
|
274
326
|
}, 500);
|
|
275
327
|
});
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
|
|
328
|
+
}
|
|
329
|
+
// 创建地形修改分析类
|
|
279
330
|
createTerrainModification(callback) {
|
|
280
331
|
var that = this;
|
|
281
|
-
|
|
282
332
|
this._globaOptions.viewer.terrainProvider.readyPromise.then(function () {
|
|
283
333
|
setTimeout(() => {
|
|
284
334
|
let heights = [];
|
|
285
335
|
let positions = [];
|
|
286
|
-
|
|
287
336
|
that._globaOptions.positions.forEach((item, index) => {
|
|
288
337
|
console.log(index);
|
|
289
338
|
let cag = window.Cesium.Cartographic.fromCartesian(item);
|
|
290
339
|
positions.push(cag);
|
|
291
340
|
heights.push(cag.height);
|
|
292
|
-
});
|
|
293
|
-
|
|
294
|
-
|
|
341
|
+
});
|
|
342
|
+
// 地形平整
|
|
295
343
|
if (!that._terrainmodification) {
|
|
296
344
|
that._terrainmodification = new window.Cesium.Kq3dTerrainModification({
|
|
297
345
|
viewer: that._globaOptions.viewer,
|
|
@@ -303,78 +351,68 @@ class TerrainOperationViewModel {
|
|
|
303
351
|
that._terrainmodification.heights = heights;
|
|
304
352
|
that._terrainmodification.positions = positions;
|
|
305
353
|
}
|
|
306
|
-
|
|
307
354
|
that._terrainmodification._clippingPlanesEnabled = true;
|
|
308
355
|
if (callback) callback();
|
|
309
356
|
}, 500);
|
|
310
357
|
});
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
|
|
358
|
+
}
|
|
359
|
+
// 地形开挖分析更新分析位置和高度
|
|
314
360
|
setTerrainExcavationAddPolygon() {
|
|
315
361
|
this._terrainexcavationext.addPolygon({
|
|
316
362
|
polygonArray: this._globaOptions.positions,
|
|
317
363
|
height: Number(this._height)
|
|
318
364
|
});
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
|
|
365
|
+
}
|
|
366
|
+
// 地形平整执行分析
|
|
322
367
|
setTerrainModification() {
|
|
323
368
|
let heights = [];
|
|
324
369
|
let positions = [];
|
|
325
|
-
|
|
326
370
|
this._globaOptions.positions.forEach((item, index) => {
|
|
327
371
|
console.log(index);
|
|
328
372
|
let cag = window.Cesium.Cartographic.fromCartesian(item);
|
|
329
373
|
positions.push(cag);
|
|
330
374
|
heights.push(cag.height);
|
|
331
375
|
});
|
|
332
|
-
|
|
333
376
|
this._terrainmodification.heights = heights;
|
|
334
377
|
this._terrainmodification.positions = positions;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
|
|
378
|
+
}
|
|
379
|
+
//开始分析
|
|
338
380
|
start() {
|
|
339
381
|
// 判断是否添加了地形
|
|
340
382
|
if (this._globaOptions.viewer.terrainProvider.availability) {
|
|
341
383
|
if (this._globaOptions.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
342
384
|
this.clear();
|
|
343
|
-
|
|
344
385
|
this._drawManager.startDraw("polygon", {
|
|
345
386
|
clampToGround: true
|
|
346
387
|
});
|
|
347
388
|
} else {
|
|
348
|
-
(0,message/* default */.
|
|
389
|
+
(0,message/* default */.A)({
|
|
349
390
|
message: "只支持STK类型的地形分析!",
|
|
350
391
|
type: "warning"
|
|
351
392
|
});
|
|
352
393
|
}
|
|
353
394
|
} else {
|
|
354
|
-
(0,message/* default */.
|
|
395
|
+
(0,message/* default */.A)({
|
|
355
396
|
message: "请加载地形后分析!",
|
|
356
397
|
type: "warning"
|
|
357
398
|
});
|
|
358
399
|
}
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
|
|
400
|
+
}
|
|
401
|
+
//改变分析类型
|
|
362
402
|
setTerrainStyle(val) {
|
|
363
403
|
this._terrainStyle = val;
|
|
364
404
|
this.clear();
|
|
365
|
-
}
|
|
366
|
-
|
|
405
|
+
}
|
|
367
406
|
|
|
407
|
+
// 设置开挖深度
|
|
368
408
|
setHeight(height) {
|
|
369
409
|
let that = this;
|
|
370
410
|
this._height = height;
|
|
371
|
-
|
|
372
411
|
if (this._terrainStyle === 0 && this._terrainexcavationext) {
|
|
373
412
|
this._terrainexcavationext && this._terrainexcavationext.destroy();
|
|
374
413
|
this._terrainexcavationext = new window.Cesium.Kq3dTerrainExcavationExt({
|
|
375
414
|
viewer: this._globaOptions.viewer
|
|
376
415
|
});
|
|
377
|
-
|
|
378
416
|
this._positions.forEach(item => {
|
|
379
417
|
if (that._terrainexcavationext) {
|
|
380
418
|
that._terrainexcavationext.addPolygon({
|
|
@@ -385,46 +423,39 @@ class TerrainOperationViewModel {
|
|
|
385
423
|
});
|
|
386
424
|
}
|
|
387
425
|
}
|
|
388
|
-
|
|
389
426
|
setModificationHeight(height) {
|
|
390
427
|
this._smoothHeight = Number(height);
|
|
391
428
|
if (this._terrainmodification) this._terrainmodification._height = this._smoothHeight;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
|
|
429
|
+
}
|
|
430
|
+
//清除全部结果
|
|
395
431
|
clear() {
|
|
396
|
-
this._drawManager.stopDraw();
|
|
397
|
-
|
|
398
|
-
|
|
432
|
+
this._drawManager.stopDraw();
|
|
433
|
+
// 销毁地形开挖
|
|
399
434
|
if (this._terrainexcavationext) {
|
|
400
435
|
this._terrainexcavationext.destroy();
|
|
401
|
-
|
|
402
436
|
this._terrainexcavationext = null;
|
|
403
437
|
this._positions = [];
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
|
|
438
|
+
}
|
|
439
|
+
// 销毁地形平整
|
|
407
440
|
if (this._terrainmodification) {
|
|
408
441
|
this._terrainmodification && this._terrainmodification.remove();
|
|
409
442
|
this._terrainmodification = null;
|
|
410
443
|
}
|
|
411
|
-
}
|
|
412
|
-
|
|
413
|
-
|
|
444
|
+
}
|
|
445
|
+
// 销毁
|
|
414
446
|
destroy() {
|
|
415
|
-
this.clear();
|
|
416
|
-
|
|
447
|
+
this.clear();
|
|
448
|
+
//移除监听事件
|
|
417
449
|
this._removeEventListener && this._removeEventListener();
|
|
418
450
|
this._removeEventListener = null;
|
|
419
451
|
}
|
|
420
|
-
|
|
421
452
|
}
|
|
422
453
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
423
|
-
var client_icons_vue_ = __webpack_require__(
|
|
454
|
+
var client_icons_vue_ = __webpack_require__(5698);
|
|
424
455
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
425
|
-
var util_ = __webpack_require__(
|
|
456
|
+
var util_ = __webpack_require__(2975);
|
|
426
457
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
427
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
458
|
+
var vue_i18n_cjs_js_ = __webpack_require__(3579);
|
|
428
459
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/terrainoperation/TerrainOperation.vue?vue&type=script&setup=true&lang=js
|
|
429
460
|
|
|
430
461
|
const _hoisted_1 = {
|
|
@@ -448,7 +479,7 @@ const _hoisted_4 = {
|
|
|
448
479
|
const __default__ = {
|
|
449
480
|
name: "Kq3dTerrainOperation"
|
|
450
481
|
};
|
|
451
|
-
/* harmony default export */ var TerrainOperationvue_type_script_setup_true_lang_js = (
|
|
482
|
+
/* harmony default export */ var TerrainOperationvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
452
483
|
props: {
|
|
453
484
|
// 设置参数
|
|
454
485
|
settingParams: {
|
|
@@ -464,7 +495,6 @@ const __default__ = {
|
|
|
464
495
|
type: Boolean,
|
|
465
496
|
default: true
|
|
466
497
|
},
|
|
467
|
-
|
|
468
498
|
/**
|
|
469
499
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
470
500
|
*/
|
|
@@ -494,17 +524,17 @@ const __default__ = {
|
|
|
494
524
|
default: true
|
|
495
525
|
}
|
|
496
526
|
},
|
|
497
|
-
|
|
498
527
|
setup(__props, {
|
|
499
|
-
expose
|
|
528
|
+
expose: __expose
|
|
500
529
|
}) {
|
|
501
|
-
const props = __props;
|
|
502
530
|
const {
|
|
503
531
|
proxy
|
|
504
532
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
505
533
|
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
506
|
-
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
534
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
507
535
|
|
|
536
|
+
// 获取组件传参
|
|
537
|
+
const props = __props;
|
|
508
538
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
509
539
|
terrainStyle: props.settingParams && props.settingParams.terrainStyle || 1,
|
|
510
540
|
// 地形操作类型。1:地形开挖;2:地形修改
|
|
@@ -519,15 +549,17 @@ const __default__ = {
|
|
|
519
549
|
minModificationHeight: props.settingParams && props.settingParams.minModificationHeight || 100,
|
|
520
550
|
// 地形平整高度最小值
|
|
521
551
|
maxModificationHeight: props.settingParams && props.settingParams.maxModificationHeight || 8000 // 地形平整高度最大值
|
|
522
|
-
|
|
523
552
|
});
|
|
524
|
-
let viewModel = null;
|
|
553
|
+
let viewModel = null;
|
|
525
554
|
|
|
526
|
-
|
|
555
|
+
// 组件容器Ref
|
|
556
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
527
557
|
|
|
558
|
+
// 生成组件默认header
|
|
528
559
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
529
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
560
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
530
561
|
|
|
562
|
+
// 国际化
|
|
531
563
|
let {
|
|
532
564
|
locale,
|
|
533
565
|
messages
|
|
@@ -547,13 +579,11 @@ const __default__ = {
|
|
|
547
579
|
watchCreateHeaderTemp();
|
|
548
580
|
});
|
|
549
581
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
550
|
-
|
|
551
582
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
552
583
|
if (scenceView) {
|
|
553
584
|
if (props.operationMode !== 0) {
|
|
554
585
|
formItem.terrainStyle = props.operationMode;
|
|
555
586
|
}
|
|
556
|
-
|
|
557
587
|
viewModel = new TerrainOperationViewModel(scenceView, {
|
|
558
588
|
terrainStyle: formItem.terrainStyle,
|
|
559
589
|
excavationDepth: formItem.excavationDepth,
|
|
@@ -562,47 +592,43 @@ const __default__ = {
|
|
|
562
592
|
}
|
|
563
593
|
});
|
|
564
594
|
});
|
|
595
|
+
|
|
565
596
|
/**
|
|
566
597
|
* @description 监听header生成
|
|
567
598
|
*/
|
|
568
|
-
|
|
569
599
|
const watchCreateHeaderTemp = () => {
|
|
570
600
|
if (props.showHeaderTemp) {
|
|
571
601
|
// 生成headerTemp
|
|
572
602
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
573
603
|
}
|
|
574
|
-
};
|
|
575
|
-
|
|
604
|
+
};
|
|
576
605
|
|
|
606
|
+
// 改变样式
|
|
577
607
|
function changeStyle() {
|
|
578
608
|
viewModel && viewModel.setTerrainStyle(formItem.terrainStyle);
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
|
|
609
|
+
}
|
|
610
|
+
// 调整开挖深度
|
|
582
611
|
function changeHeight() {
|
|
583
612
|
viewModel && viewModel.setHeight(formItem.excavationDepth);
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
|
|
613
|
+
}
|
|
614
|
+
// 调整平整高度
|
|
587
615
|
function changeModificationHeight() {
|
|
588
616
|
viewModel && viewModel.setModificationHeight(formItem.modificationHeight);
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
|
|
617
|
+
}
|
|
618
|
+
// 开始分析
|
|
592
619
|
function startOperation() {
|
|
593
620
|
viewModel && viewModel.start();
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
|
|
621
|
+
}
|
|
622
|
+
// 清除
|
|
597
623
|
function clear() {
|
|
598
624
|
viewModel && viewModel.clear();
|
|
599
|
-
}
|
|
600
|
-
|
|
625
|
+
}
|
|
601
626
|
|
|
627
|
+
// 销毁
|
|
602
628
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
603
629
|
viewModel && viewModel.destroy();
|
|
604
630
|
});
|
|
605
|
-
|
|
631
|
+
__expose({
|
|
606
632
|
changeStyle,
|
|
607
633
|
changeHeight,
|
|
608
634
|
changeModificationHeight,
|
|
@@ -611,17 +637,11 @@ const __default__ = {
|
|
|
611
637
|
});
|
|
612
638
|
return (_ctx, _cache) => {
|
|
613
639
|
const _component_kq_radio = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio");
|
|
614
|
-
|
|
615
640
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
616
|
-
|
|
617
641
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
618
|
-
|
|
619
642
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
620
|
-
|
|
621
643
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
622
|
-
|
|
623
644
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
624
|
-
|
|
625
645
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
626
646
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-terrain-operation-analysis", {
|
|
627
647
|
'kq-box-shadow': __props.showShadow
|
|
@@ -632,9 +652,7 @@ const __default__ = {
|
|
|
632
652
|
key: 0,
|
|
633
653
|
ref_key: "headerTempRef",
|
|
634
654
|
ref: headerTempRef
|
|
635
|
-
}, null, 512
|
|
636
|
-
/* NEED_PATCH */
|
|
637
|
-
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [__props.operationMode === 0 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
|
|
655
|
+
}, null, 512 /* NEED_PATCH */)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [__props.operationMode === 0 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
|
|
638
656
|
key: 0
|
|
639
657
|
}, {
|
|
640
658
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
|
|
@@ -643,32 +661,18 @@ const __default__ = {
|
|
|
643
661
|
label: 1,
|
|
644
662
|
onChange: changeStyle
|
|
645
663
|
}, {
|
|
646
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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).terrainExcavation), 1
|
|
647
|
-
/*
|
|
648
|
-
|
|
649
|
-
_: 1
|
|
650
|
-
/* STABLE */
|
|
651
|
-
|
|
652
|
-
}, 8
|
|
653
|
-
/* PROPS */
|
|
654
|
-
, ["modelValue"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
|
|
664
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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).terrainExcavation), 1 /* TEXT */)]),
|
|
665
|
+
_: 1 /* STABLE */
|
|
666
|
+
}, 8 /* PROPS */, ["modelValue"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
|
|
655
667
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle,
|
|
656
668
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle = $event),
|
|
657
669
|
label: 2,
|
|
658
670
|
onChange: changeStyle
|
|
659
671
|
}, {
|
|
660
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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).TerrainModification), 1
|
|
661
|
-
/*
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
/* STABLE */
|
|
665
|
-
|
|
666
|
-
}, 8
|
|
667
|
-
/* PROPS */
|
|
668
|
-
, ["modelValue"])]),
|
|
669
|
-
_: 1
|
|
670
|
-
/* STABLE */
|
|
671
|
-
|
|
672
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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).TerrainModification), 1 /* TEXT */)]),
|
|
673
|
+
_: 1 /* STABLE */
|
|
674
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
675
|
+
_: 1 /* STABLE */
|
|
672
676
|
})) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle === 1 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
|
|
673
677
|
key: 1,
|
|
674
678
|
gutter: 10
|
|
@@ -676,15 +680,9 @@ const __default__ = {
|
|
|
676
680
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
677
681
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
678
682
|
}, {
|
|
679
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).excavationDepth), 1
|
|
680
|
-
/*
|
|
681
|
-
|
|
682
|
-
_: 1
|
|
683
|
-
/* STABLE */
|
|
684
|
-
|
|
685
|
-
}, 8
|
|
686
|
-
/* PROPS */
|
|
687
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
683
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).excavationDepth), 1 /* TEXT */)]),
|
|
684
|
+
_: 1 /* STABLE */
|
|
685
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
688
686
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 11 : 8
|
|
689
687
|
}, {
|
|
690
688
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
@@ -695,15 +693,9 @@ const __default__ = {
|
|
|
695
693
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxExcavationDepth,
|
|
696
694
|
onChange: _cache[3] || (_cache[3] = $event => changeHeight()),
|
|
697
695
|
onClick: _cache[4] || (_cache[4] = $event => changeHeight())
|
|
698
|
-
}, null, 8
|
|
699
|
-
/*
|
|
700
|
-
|
|
701
|
-
_: 1
|
|
702
|
-
/* STABLE */
|
|
703
|
-
|
|
704
|
-
}, 8
|
|
705
|
-
/* PROPS */
|
|
706
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
696
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
697
|
+
_: 1 /* STABLE */
|
|
698
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
707
699
|
span: 6,
|
|
708
700
|
style: {
|
|
709
701
|
"text-align": "end"
|
|
@@ -717,16 +709,10 @@ const __default__ = {
|
|
|
717
709
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxExcavationDepth,
|
|
718
710
|
"controls-position": "right",
|
|
719
711
|
onInput: _cache[6] || (_cache[6] = $event => changeHeight())
|
|
720
|
-
}, null, 8
|
|
721
|
-
/*
|
|
722
|
-
, ["modelValue", "min", "max"])]),
|
|
723
|
-
_: 1
|
|
724
|
-
/* STABLE */
|
|
725
|
-
|
|
712
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
713
|
+
_: 1 /* STABLE */
|
|
726
714
|
})]),
|
|
727
|
-
_: 1
|
|
728
|
-
/* STABLE */
|
|
729
|
-
|
|
715
|
+
_: 1 /* STABLE */
|
|
730
716
|
})) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).terrainStyle === 2 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
|
|
731
717
|
key: 2,
|
|
732
718
|
gutter: 10
|
|
@@ -734,15 +720,9 @@ const __default__ = {
|
|
|
734
720
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
735
721
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
736
722
|
}, {
|
|
737
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).modificationHeight), 1
|
|
738
|
-
/*
|
|
739
|
-
|
|
740
|
-
_: 1
|
|
741
|
-
/* STABLE */
|
|
742
|
-
|
|
743
|
-
}, 8
|
|
744
|
-
/* PROPS */
|
|
745
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
723
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).modificationHeight), 1 /* TEXT */)]),
|
|
724
|
+
_: 1 /* STABLE */
|
|
725
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
746
726
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 11 : 8
|
|
747
727
|
}, {
|
|
748
728
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_slider, {
|
|
@@ -753,15 +733,9 @@ const __default__ = {
|
|
|
753
733
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxModificationHeight,
|
|
754
734
|
onChange: _cache[8] || (_cache[8] = $event => changeModificationHeight()),
|
|
755
735
|
onClick: _cache[9] || (_cache[9] = $event => changeModificationHeight())
|
|
756
|
-
}, null, 8
|
|
757
|
-
/*
|
|
758
|
-
|
|
759
|
-
_: 1
|
|
760
|
-
/* STABLE */
|
|
761
|
-
|
|
762
|
-
}, 8
|
|
763
|
-
/* PROPS */
|
|
764
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
736
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
737
|
+
_: 1 /* STABLE */
|
|
738
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
765
739
|
span: 6,
|
|
766
740
|
style: {
|
|
767
741
|
"text-align": "end"
|
|
@@ -775,56 +749,31 @@ const __default__ = {
|
|
|
775
749
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxModificationHeight,
|
|
776
750
|
"controls-position": "right",
|
|
777
751
|
onInput: _cache[11] || (_cache[11] = $event => changeModificationHeight())
|
|
778
|
-
}, null, 8
|
|
779
|
-
/*
|
|
780
|
-
, ["modelValue", "min", "max"])]),
|
|
781
|
-
_: 1
|
|
782
|
-
/* STABLE */
|
|
783
|
-
|
|
752
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
753
|
+
_: 1 /* STABLE */
|
|
784
754
|
})]),
|
|
785
|
-
_: 1
|
|
786
|
-
/* STABLE */
|
|
787
|
-
|
|
755
|
+
_: 1 /* STABLE */
|
|
788
756
|
})) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
789
757
|
class: "kq3d-terrain-operation-analysis-tip"
|
|
790
758
|
}, {
|
|
791
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).skylineTips), 1
|
|
792
|
-
/*
|
|
793
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <p v-if=\"formItem.terrainStyle === 2\">{{ \"(\" + language.reverseDrawPolygon + \")\" }}</p> ")]),
|
|
794
|
-
_: 1
|
|
795
|
-
/* STABLE */
|
|
796
|
-
|
|
759
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).skylineTips), 1 /* TEXT */), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <p v-if=\"formItem.terrainStyle === 2\">{{ \"(\" + language.reverseDrawPolygon + \")\" }}</p> ")]),
|
|
760
|
+
_: 1 /* STABLE */
|
|
797
761
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_4, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
798
762
|
onClick: _cache[12] || (_cache[12] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startOperation(), ["stop"])),
|
|
799
763
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startOperation,
|
|
800
764
|
type: "primary"
|
|
801
765
|
}, {
|
|
802
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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).startOperation), 1
|
|
803
|
-
/*
|
|
804
|
-
|
|
805
|
-
_: 1
|
|
806
|
-
/* STABLE */
|
|
807
|
-
|
|
808
|
-
}, 8
|
|
809
|
-
/* PROPS */
|
|
810
|
-
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
766
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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).startOperation), 1 /* TEXT */)]),
|
|
767
|
+
_: 1 /* STABLE */
|
|
768
|
+
}, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
811
769
|
onClick: _cache[13] || (_cache[13] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clear(), ["stop"])),
|
|
812
770
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
813
771
|
}, {
|
|
814
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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).clear), 1
|
|
815
|
-
/*
|
|
816
|
-
|
|
817
|
-
_: 1
|
|
818
|
-
/* STABLE */
|
|
819
|
-
|
|
820
|
-
}, 8
|
|
821
|
-
/* PROPS */
|
|
822
|
-
, ["title"])])])], 2
|
|
823
|
-
/* CLASS */
|
|
824
|
-
);
|
|
772
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(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).clear), 1 /* TEXT */)]),
|
|
773
|
+
_: 1 /* STABLE */
|
|
774
|
+
}, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
|
|
825
775
|
};
|
|
826
776
|
}
|
|
827
|
-
|
|
828
777
|
}));
|
|
829
778
|
;// CONCATENATED MODULE: ./src/webgl/terrainoperation/TerrainOperation.vue?vue&type=script&setup=true&lang=js
|
|
830
779
|
|
|
@@ -836,10 +785,13 @@ const __exports__ = TerrainOperationvue_type_script_setup_true_lang_js;
|
|
|
836
785
|
|
|
837
786
|
/* harmony default export */ var TerrainOperation = (__exports__);
|
|
838
787
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
839
|
-
var init_js_ = __webpack_require__(
|
|
788
|
+
var init_js_ = __webpack_require__(455);
|
|
840
789
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
841
790
|
;// CONCATENATED MODULE: ./src/webgl/terrainoperation/index.js
|
|
842
|
-
|
|
791
|
+
/*
|
|
792
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
793
|
+
* All rights reserved.
|
|
794
|
+
*/
|
|
843
795
|
|
|
844
796
|
|
|
845
797
|
|
|
@@ -848,8 +800,6 @@ TerrainOperation.install = (Vue, opts) => {
|
|
|
848
800
|
Vue.component(TerrainOperation.name, TerrainOperation);
|
|
849
801
|
};
|
|
850
802
|
|
|
851
|
-
|
|
852
|
-
}();
|
|
853
803
|
/******/ return __webpack_exports__;
|
|
854
804
|
/******/ })()
|
|
855
805
|
;
|