@kq_npm/client3d_webgl_vue 4.5.28-beta → 4.5.30
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 +518 -262
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +201 -123
- package/baseterraingallery/index.js +123 -94
- package/baseterraingallery/style/baseterraingallery.css +1 -1
- package/boxclip/index.js +442 -249
- package/clientPrint/index.js +27093 -14116
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +243 -213
- package/compass/index.js +68 -74
- package/excavatefillanalysis/index.js +225 -143
- package/fixedzoomin/index.js +82 -72
- package/fixedzoomout/index.js +80 -71
- package/flight/index.js +371 -257
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +347 -199
- package/geologicalbodyanalysis/index.js +260 -166
- package/gpuspatialquery/index.js +359 -198
- package/hawkeye/index.js +100 -131
- package/headertemp/index.js +25 -14
- package/heatmap3d/index.js +678 -366
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +20321 -7165
- package/isolineanalysis/index.js +1202 -504
- package/light/index.js +494 -349
- package/limitheightanalysis/index.js +223 -159
- package/measure/index.js +353 -198
- package/modelFlat/index.js +204 -167
- package/modelexcavate/index.js +191 -130
- package/modelfilter/index.js +271 -179
- package/modelprofileanalysis/index.js +316 -206
- package/modelselect/index.js +147 -142
- package/package.json +1 -1
- package/particleeffect/index.js +403 -225
- package/planeclip/index.js +300 -198
- package/resetview/index.js +52 -66
- package/roller/index.js +372 -304
- package/scaneffect/index.js +537 -230
- package/sceneadvancedtoimage/index.js +358 -205
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -1
- package/sceneapp/index.js +27093 -14116
- package/sceneset/index.js +864 -350
- package/scenetohdimage/index.js +297 -159
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +27093 -14116
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +301 -257
- package/shadowanalysis/index.js +405 -217
- package/sightlineanalysis/index.js +271 -183
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +308 -160
- package/slopeanalysis/index.js +397 -227
- package/slopeaspectanalysis/index.js +485 -259
- package/statusbar/index.js +65 -88
- package/style.css +1 -1
- package/terrainoperation/index.js +237 -176
- package/terrainprofileanalysis/index.js +138 -120
- package/typhoontrac/index.js +970 -234
- package/typhoontrac/style/typhoontrac.css +1 -1
- package/underground/index.js +61 -70
- package/videofusion/index.js +488 -265
- package/videoproject/index.js +490 -271
- package/viewshedanalysis/index.js +255 -151
- package/weathereffect/index.js +317 -166
- package/windyslicing/index.js +1947 -0
- package/windyslicing/style/index.js +3 -0
- package/windyslicing/style/windyslicing.css +1 -0
- package/wireframesketch/index.js +142 -110
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
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"));
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
5
|
-
define(["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js", "@kq_npm/client_common_vue/_utils/util"], factory);
|
|
6
|
-
else
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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"], factory);
|
|
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/init.js"), require("@kq_npm/client_common_vue/_utils/util"));
|
|
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/init.js"], root["@kq_npm/client_common_vue/_utils/util"]);
|
|
10
10
|
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__7997__, __WEBPACK_EXTERNAL_MODULE__3458__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
@@ -25,10 +25,12 @@ return /******/ (function() { // webpackBootstrap
|
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
|
|
28
|
+
|
|
28
29
|
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
29
30
|
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
30
31
|
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
31
32
|
};
|
|
33
|
+
|
|
32
34
|
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
33
35
|
|
|
34
36
|
/***/ }),
|
|
@@ -40,27 +42,6 @@ module.exports = require("@kq_npm/client_icons_vue");
|
|
|
40
42
|
|
|
41
43
|
/***/ }),
|
|
42
44
|
|
|
43
|
-
/***/ 2118:
|
|
44
|
-
/***/ (function(module) {
|
|
45
|
-
|
|
46
|
-
module.exports = require("core-js/modules/es.array.push.js");
|
|
47
|
-
|
|
48
|
-
/***/ }),
|
|
49
|
-
|
|
50
|
-
/***/ 8470:
|
|
51
|
-
/***/ (function(module) {
|
|
52
|
-
|
|
53
|
-
module.exports = require("core-js/modules/esnext.iterator.constructor.js");
|
|
54
|
-
|
|
55
|
-
/***/ }),
|
|
56
|
-
|
|
57
|
-
/***/ 1058:
|
|
58
|
-
/***/ (function(module) {
|
|
59
|
-
|
|
60
|
-
module.exports = require("core-js/modules/esnext.iterator.for-each.js");
|
|
61
|
-
|
|
62
|
-
/***/ }),
|
|
63
|
-
|
|
64
45
|
/***/ 9389:
|
|
65
46
|
/***/ (function(module) {
|
|
66
47
|
|
|
@@ -103,59 +84,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
|
103
84
|
|
|
104
85
|
/***/ }),
|
|
105
86
|
|
|
106
|
-
/***/
|
|
87
|
+
/***/ 8270:
|
|
107
88
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
108
89
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
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.");
|
|
90
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
91
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
92
|
+
/* harmony export */ });
|
|
93
|
+
function _defineProperty(obj, key, value) {
|
|
94
|
+
if (key in obj) {
|
|
95
|
+
Object.defineProperty(obj, key, {
|
|
96
|
+
value: value,
|
|
97
|
+
enumerable: true,
|
|
98
|
+
configurable: true,
|
|
99
|
+
writable: true
|
|
100
|
+
});
|
|
101
|
+
} else {
|
|
102
|
+
obj[key] = value;
|
|
135
103
|
}
|
|
136
|
-
return ("string" === r ? String : Number)(t);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
140
104
|
|
|
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;
|
|
105
|
+
return obj;
|
|
156
106
|
}
|
|
157
107
|
|
|
158
|
-
|
|
159
108
|
/***/ })
|
|
160
109
|
|
|
161
110
|
/******/ });
|
|
@@ -242,21 +191,13 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
242
191
|
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
|
|
243
192
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
244
193
|
var gis_utils_ = __webpack_require__(7135);
|
|
245
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
246
|
-
var defineProperty = __webpack_require__(
|
|
247
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
248
|
-
var es_array_push_js_ = __webpack_require__(2118);
|
|
249
|
-
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
250
|
-
var esnext_iterator_constructor_js_ = __webpack_require__(8470);
|
|
251
|
-
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
|
|
252
|
-
var esnext_iterator_for_each_js_ = __webpack_require__(1058);
|
|
194
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
195
|
+
var defineProperty = __webpack_require__(8270);
|
|
253
196
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
254
197
|
var message = __webpack_require__(1349);
|
|
255
198
|
;// CONCATENATED MODULE: ./src/webgl/modelprofileanalysis/ModelProfileAnalysisViewModel.js
|
|
256
199
|
|
|
257
200
|
|
|
258
|
-
|
|
259
|
-
|
|
260
201
|
/*
|
|
261
202
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
262
203
|
* All rights reserved.
|
|
@@ -268,19 +209,24 @@ let activeShapePoints = [];
|
|
|
268
209
|
let activeCartographicPoints = [];
|
|
269
210
|
|
|
270
211
|
class ModelProfileAnalysisViewModel {
|
|
212
|
+
//剖面分析三维对象
|
|
213
|
+
//显示结果的DOM元素
|
|
214
|
+
//显示结果的DOM元素显隐
|
|
215
|
+
//全局参数对象
|
|
271
216
|
constructor(scenceView, viewModel, chart) {
|
|
272
217
|
(0,defineProperty/* default */.Z)(this, "_profileAnalysis", null);
|
|
273
|
-
|
|
218
|
+
|
|
274
219
|
(0,defineProperty/* default */.Z)(this, "_ProfileAnalysisChart", null);
|
|
275
|
-
|
|
220
|
+
|
|
276
221
|
(0,defineProperty/* default */.Z)(this, "_ProfileAnalysisChartVis", null);
|
|
277
|
-
|
|
222
|
+
|
|
278
223
|
(0,defineProperty/* default */.Z)(this, "_language", null);
|
|
279
|
-
|
|
224
|
+
|
|
280
225
|
(0,defineProperty/* default */.Z)(this, "_globaOptions", {
|
|
281
226
|
width: 360,
|
|
282
227
|
height: 360
|
|
283
228
|
});
|
|
229
|
+
|
|
284
230
|
this._language = scenceView._language;
|
|
285
231
|
this._globaOptions.viewModel = {
|
|
286
232
|
angle: viewModel.perspectiveAngle || 90,
|
|
@@ -293,8 +239,8 @@ class ModelProfileAnalysisViewModel {
|
|
|
293
239
|
this._globaOptions.viewer.scene.postProcessStages._fxaa.enabled = true;
|
|
294
240
|
this._globaOptions.viewer.scene.globe.depthTestAgainstTerrain = true;
|
|
295
241
|
this._ProfileAnalysisChart = chart;
|
|
296
|
-
this._ProfileAnalysisChartVis = chart || {};
|
|
297
|
-
|
|
242
|
+
this._ProfileAnalysisChartVis = chart || {}; // 实例化单线剖面分析对象
|
|
243
|
+
|
|
298
244
|
this._profileAnalysis = new window.Cesium.Kq3dProfileAnalysis({
|
|
299
245
|
viewer: this._globaOptions.viewer,
|
|
300
246
|
width: this._globaOptions.width,
|
|
@@ -310,39 +256,45 @@ class ModelProfileAnalysisViewModel {
|
|
|
310
256
|
color: window.Cesium.Color.fromBytes(0, 255, 255, 200)
|
|
311
257
|
}
|
|
312
258
|
});
|
|
313
|
-
this._globaOptions._handler = new window.Cesium.ScreenSpaceEventHandler(this._globaOptions.viewer.canvas);
|
|
314
|
-
|
|
259
|
+
this._globaOptions._handler = new window.Cesium.ScreenSpaceEventHandler(this._globaOptions.viewer.canvas); //创建剖面分析结果显示窗口
|
|
260
|
+
|
|
315
261
|
this._globaOptions.canvas = document.createElement("canvas");
|
|
316
262
|
this._globaOptions.canvas.id = "pro";
|
|
317
263
|
this._globaOptions.ctx = this._globaOptions.canvas.getContext("2d");
|
|
264
|
+
|
|
318
265
|
this._ProfileAnalysisChart.appendChild(this._globaOptions.canvas);
|
|
319
|
-
}
|
|
320
|
-
|
|
266
|
+
} //开始分析
|
|
267
|
+
|
|
268
|
+
|
|
321
269
|
start() {
|
|
322
270
|
// 判断是否添加了模型
|
|
323
271
|
var flag = false;
|
|
324
272
|
var models = this._globaOptions.viewer.scene.primitives._primitives;
|
|
273
|
+
|
|
325
274
|
for (let i = 0; i < models.length; i++) {
|
|
326
275
|
if (models[i] instanceof Cesium.Cesium3DTileset && models[i]._url) {
|
|
327
276
|
flag = true;
|
|
328
277
|
}
|
|
329
278
|
}
|
|
279
|
+
|
|
330
280
|
if (flag) {
|
|
331
281
|
//清空绘制结果
|
|
332
282
|
this.remove();
|
|
333
283
|
let that = this;
|
|
284
|
+
|
|
334
285
|
this._globaOptions._handler.removeInputAction(window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
286
|
+
|
|
335
287
|
this._globaOptions._handler.setInputAction(function (event) {
|
|
336
288
|
var earthPosition = that._globaOptions.viewer.scene.pickPosition(event.position);
|
|
289
|
+
|
|
337
290
|
if (window.Cesium.defined(earthPosition)) {
|
|
338
291
|
//绘制点
|
|
339
292
|
floatingPoint = that.createPoint(earthPosition);
|
|
340
293
|
drawPoints.push(floatingPoint);
|
|
341
294
|
activeShapePoints.push(earthPosition);
|
|
342
295
|
let earthPositionCarto = window.Cesium.Cartographic.fromCartesian(earthPosition);
|
|
343
|
-
activeCartographicPoints.push(earthPositionCarto);
|
|
296
|
+
activeCartographicPoints.push(earthPositionCarto); //单线分析结果显示
|
|
344
297
|
|
|
345
|
-
//单线分析结果显示
|
|
346
298
|
if (activeShapePoints.length == 2) {
|
|
347
299
|
var newPositions = [];
|
|
348
300
|
activeShapePoints.forEach(position => {
|
|
@@ -367,8 +319,9 @@ class ModelProfileAnalysisViewModel {
|
|
|
367
319
|
type: "warning"
|
|
368
320
|
});
|
|
369
321
|
}
|
|
370
|
-
}
|
|
371
|
-
|
|
322
|
+
} //绘制点
|
|
323
|
+
|
|
324
|
+
|
|
372
325
|
createPoint(worldPosition) {
|
|
373
326
|
var point = this._globaOptions.viewer.entities.add({
|
|
374
327
|
position: worldPosition,
|
|
@@ -377,9 +330,11 @@ class ModelProfileAnalysisViewModel {
|
|
|
377
330
|
pixelSize: 5
|
|
378
331
|
}
|
|
379
332
|
});
|
|
333
|
+
|
|
380
334
|
return point;
|
|
381
|
-
}
|
|
382
|
-
|
|
335
|
+
} //更新单线剖面分析结果
|
|
336
|
+
|
|
337
|
+
|
|
383
338
|
updatePorfileAnalysis() {
|
|
384
339
|
if (this._profileAnalysis) {
|
|
385
340
|
this._profileAnalysis.frustumH = this._globaOptions.viewModel.frustumH;
|
|
@@ -387,25 +342,31 @@ class ModelProfileAnalysisViewModel {
|
|
|
387
342
|
this._profileAnalysis.extendWidth = this._globaOptions.viewModel.extendWidth;
|
|
388
343
|
this._profileAnalysis.cameraHeight = this._globaOptions.viewModel.cameraHeight;
|
|
389
344
|
this._profileAnalysis.isPerspective = this._globaOptions.viewModel.isPerspective;
|
|
345
|
+
|
|
390
346
|
if (this._globaOptions._handler) {
|
|
391
347
|
let buffer = this._profileAnalysis.updateBuffer();
|
|
348
|
+
|
|
392
349
|
this._ProfileAnalysisChartVis.value = true;
|
|
393
350
|
setTimeout(() => {
|
|
394
351
|
this.getPorfileAnalysisTexture(buffer);
|
|
352
|
+
|
|
395
353
|
this._globaOptions._handler.removeInputAction(window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
396
354
|
}, 500);
|
|
397
355
|
}
|
|
398
356
|
}
|
|
399
|
-
}
|
|
400
|
-
|
|
357
|
+
} //获取单线剖面分析纹理
|
|
358
|
+
|
|
359
|
+
|
|
401
360
|
getPorfileAnalysisTexture(buffer) {
|
|
402
361
|
if (buffer) {
|
|
403
362
|
this._globaOptions.canvas.height = this._globaOptions.height;
|
|
404
363
|
this._globaOptions.canvas.width = this._globaOptions.width;
|
|
405
|
-
let imgData = this._globaOptions.ctx.createImageData(this._globaOptions.width, this._globaOptions.height);
|
|
406
364
|
|
|
407
|
-
// flipY
|
|
365
|
+
let imgData = this._globaOptions.ctx.createImageData(this._globaOptions.width, this._globaOptions.height); // flipY
|
|
366
|
+
|
|
367
|
+
|
|
408
368
|
var line = this._globaOptions.width * 4;
|
|
369
|
+
|
|
409
370
|
for (let h = 0; h < this._globaOptions.height; h++) {
|
|
410
371
|
for (let w = 0; w < this._globaOptions.width; w++) {
|
|
411
372
|
for (let n = 0; n < 4; n++) {
|
|
@@ -413,21 +374,29 @@ class ModelProfileAnalysisViewModel {
|
|
|
413
374
|
}
|
|
414
375
|
}
|
|
415
376
|
}
|
|
416
|
-
this._globaOptions.ctx.putImageData(imgData, 0, 0);
|
|
417
377
|
|
|
418
|
-
//=====================
|
|
378
|
+
this._globaOptions.ctx.putImageData(imgData, 0, 0); //=====================
|
|
379
|
+
|
|
380
|
+
|
|
419
381
|
this._globaOptions.ctx.setLineDash([20, 5]);
|
|
382
|
+
|
|
420
383
|
this._globaOptions.ctx.lineWidth = 1;
|
|
421
384
|
this._globaOptions.ctx.strokeStyle = "#ff2";
|
|
422
385
|
let fTop = (1.0 - this._profileAnalysis._frustumH / this._profileAnalysis._maxH) * 360;
|
|
423
386
|
let fLeft = (1.0 - this._profileAnalysis._frustumW / this._profileAnalysis._maxW) / 2 * 360;
|
|
387
|
+
|
|
424
388
|
this._globaOptions.ctx.moveTo(fLeft, 360); // bottom
|
|
389
|
+
|
|
390
|
+
|
|
425
391
|
this._globaOptions.ctx.lineTo(fLeft, fTop);
|
|
392
|
+
|
|
426
393
|
this._globaOptions.ctx.lineTo(360 - fLeft, fTop);
|
|
394
|
+
|
|
427
395
|
this._globaOptions.ctx.lineTo(360 - fLeft, 360);
|
|
428
|
-
this._globaOptions.ctx.stroke();
|
|
429
396
|
|
|
430
|
-
//=====================
|
|
397
|
+
this._globaOptions.ctx.stroke(); //=====================
|
|
398
|
+
|
|
399
|
+
|
|
431
400
|
let str = String(this._profileAnalysis._frustumW.toFixed(2));
|
|
432
401
|
let str1 = this._language.profileLength + " : " + str + "m";
|
|
433
402
|
str = String(this._profileAnalysis._maxW.toFixed(2));
|
|
@@ -440,61 +409,78 @@ class ModelProfileAnalysisViewModel {
|
|
|
440
409
|
this._globaOptions.ctx.textAlign = "left";
|
|
441
410
|
this._globaOptions.ctx.textBaseline = "bottom";
|
|
442
411
|
this._globaOptions.ctx.fillStyle = "#ccc";
|
|
412
|
+
|
|
443
413
|
this._globaOptions.ctx.fillText(str1, 10, 20);
|
|
414
|
+
|
|
444
415
|
this._globaOptions.ctx.fillText(str2, 10, 40);
|
|
416
|
+
|
|
445
417
|
this._globaOptions.ctx.fillText(str3, 10, 60);
|
|
418
|
+
|
|
446
419
|
this._globaOptions.ctx.fillText(str4, 10, 80);
|
|
447
420
|
}
|
|
448
|
-
}
|
|
449
|
-
|
|
421
|
+
} // 是否透视
|
|
422
|
+
|
|
423
|
+
|
|
450
424
|
setEnablePerspective(val) {
|
|
451
425
|
this._globaOptions.viewModel.isPerspective = val;
|
|
452
426
|
if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
|
|
453
|
-
}
|
|
454
|
-
|
|
427
|
+
} // 透视角度
|
|
428
|
+
|
|
429
|
+
|
|
455
430
|
setPerspectiveAngle(val) {
|
|
456
431
|
this._globaOptions.viewModel.angle = val;
|
|
457
432
|
if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
|
|
458
|
-
}
|
|
459
|
-
|
|
433
|
+
} // 目标区域宽度
|
|
434
|
+
|
|
435
|
+
|
|
460
436
|
setTargetAreaWidth(val) {
|
|
461
437
|
this._globaOptions.viewModel.extendWidth = val;
|
|
462
438
|
if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
|
|
463
|
-
}
|
|
464
|
-
|
|
439
|
+
} // 目标区域高度
|
|
440
|
+
|
|
441
|
+
|
|
465
442
|
setTargetAreaHeight(val) {
|
|
466
443
|
this._globaOptions.viewModel.frustumH = val;
|
|
467
444
|
if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
|
|
468
|
-
}
|
|
469
|
-
|
|
445
|
+
} // 相机高度
|
|
446
|
+
|
|
447
|
+
|
|
470
448
|
setCameraHeight(val) {
|
|
471
449
|
this._globaOptions.viewModel.cameraHeight = val;
|
|
472
450
|
if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
|
|
473
|
-
}
|
|
474
|
-
|
|
451
|
+
} // 切换语言
|
|
452
|
+
|
|
453
|
+
|
|
475
454
|
changeLanguage(lang) {
|
|
476
455
|
this._language = lang;
|
|
477
456
|
if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
|
|
478
|
-
}
|
|
479
|
-
|
|
457
|
+
} // 清理剖面分析
|
|
458
|
+
|
|
459
|
+
|
|
480
460
|
remove() {
|
|
481
461
|
this._ProfileAnalysisChartVis.value = false;
|
|
482
462
|
this._profileAnalysis && this._profileAnalysis.clearPrimitives();
|
|
483
|
-
}
|
|
484
|
-
|
|
463
|
+
} //清除全部结果
|
|
464
|
+
|
|
465
|
+
|
|
485
466
|
clear() {
|
|
486
467
|
this.remove();
|
|
468
|
+
|
|
487
469
|
this._globaOptions._handler.removeInputAction(window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
488
|
-
}
|
|
489
|
-
|
|
470
|
+
} // 销毁
|
|
471
|
+
|
|
472
|
+
|
|
490
473
|
destroy() {
|
|
491
474
|
this.remove();
|
|
475
|
+
|
|
492
476
|
this._globaOptions._handler.removeInputAction(window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
477
|
+
|
|
493
478
|
this._globaOptions._handler = null;
|
|
494
479
|
this._ProfileAnalysisChartVis.value = false;
|
|
495
480
|
this._profileAnalysis && this._profileAnalysis.destroy();
|
|
496
481
|
this._profileAnalysis = null;
|
|
497
482
|
}
|
|
483
|
+
|
|
498
484
|
}
|
|
499
485
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
500
486
|
var client_icons_vue_ = __webpack_require__(348);
|
|
@@ -502,7 +488,7 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
502
488
|
var util_ = __webpack_require__(3458);
|
|
503
489
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
504
490
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
505
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/modelprofileanalysis/ModelProfileAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
491
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/modelprofileanalysis/ModelProfileAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
506
492
|
|
|
507
493
|
const _hoisted_1 = {
|
|
508
494
|
class: "kq3d-model-profile-analysis-box"
|
|
@@ -537,6 +523,7 @@ const __default__ = {
|
|
|
537
523
|
type: Boolean,
|
|
538
524
|
default: true
|
|
539
525
|
},
|
|
526
|
+
|
|
540
527
|
/**
|
|
541
528
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
542
529
|
*/
|
|
@@ -566,6 +553,7 @@ const __default__ = {
|
|
|
566
553
|
default: true
|
|
567
554
|
}
|
|
568
555
|
},
|
|
556
|
+
|
|
569
557
|
setup(__props, {
|
|
570
558
|
expose: __expose
|
|
571
559
|
}) {
|
|
@@ -573,14 +561,12 @@ const __default__ = {
|
|
|
573
561
|
const {
|
|
574
562
|
proxy
|
|
575
563
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
576
|
-
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
|
|
577
|
-
// 设置
|
|
578
|
-
|
|
564
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]); // 设置
|
|
579
565
|
// 分析类
|
|
580
|
-
|
|
581
|
-
// chart显示
|
|
582
|
-
|
|
583
|
-
// 获取组件传参
|
|
566
|
+
|
|
567
|
+
let viewModel = null; // chart显示
|
|
568
|
+
|
|
569
|
+
let resultCahrtVis = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(true); // 获取组件传参
|
|
584
570
|
|
|
585
571
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
586
572
|
collapseValue: props.settingParams && props.settingParams.collapseValue || ((props.settingParams && props.settingParams.collapseValue) == '' ? "" : "setting"),
|
|
@@ -610,16 +596,14 @@ const __default__ = {
|
|
|
610
596
|
maxCameraHeight: props.settingParams && props.settingParams.maxCameraHeight || 500,
|
|
611
597
|
// 相机高度范围最大值
|
|
612
598
|
enablePerspective: props.settingParams && props.settingParams.isLabel !== undefined || true // 是否透视
|
|
613
|
-
});
|
|
614
599
|
|
|
615
|
-
// 组件容器Ref
|
|
616
|
-
|
|
600
|
+
}); // 组件容器Ref
|
|
601
|
+
|
|
602
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
617
603
|
|
|
618
|
-
// 生成组件默认header
|
|
619
604
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
620
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
605
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
621
606
|
|
|
622
|
-
// 国际化
|
|
623
607
|
let {
|
|
624
608
|
locale,
|
|
625
609
|
messages
|
|
@@ -654,56 +638,64 @@ const __default__ = {
|
|
|
654
638
|
cameraHeight: formItem.cameraHeight,
|
|
655
639
|
// 相机高度
|
|
656
640
|
enablePerspective: formItem.enablePerspective // 是否透视
|
|
641
|
+
|
|
657
642
|
}, document.getElementById("resultCahrt"));
|
|
658
643
|
viewModel._ProfileAnalysisChartVis = resultCahrtVis;
|
|
659
644
|
resultCahrtVis.value = false;
|
|
660
645
|
}
|
|
661
646
|
});
|
|
662
647
|
});
|
|
663
|
-
|
|
664
648
|
/**
|
|
665
649
|
* @description 监听header生成
|
|
666
650
|
*/
|
|
651
|
+
|
|
667
652
|
const watchCreateHeaderTemp = () => {
|
|
668
653
|
if (props.showHeaderTemp) {
|
|
669
654
|
// 生成headerTemp
|
|
670
655
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
671
656
|
}
|
|
672
|
-
};
|
|
657
|
+
}; // 开始分析
|
|
658
|
+
|
|
673
659
|
|
|
674
|
-
// 开始分析
|
|
675
660
|
function startAnalysis() {
|
|
676
661
|
viewModel && viewModel.start();
|
|
677
|
-
}
|
|
678
|
-
|
|
662
|
+
} // 清除结果
|
|
663
|
+
|
|
664
|
+
|
|
679
665
|
function clearResult() {
|
|
680
666
|
viewModel && viewModel.clear();
|
|
681
|
-
}
|
|
682
|
-
|
|
667
|
+
} // 是否透视
|
|
668
|
+
|
|
669
|
+
|
|
683
670
|
function onChangeEnablePerspective() {
|
|
684
671
|
viewModel && viewModel.setEnablePerspective(formItem.enablePerspective);
|
|
685
|
-
}
|
|
686
|
-
|
|
672
|
+
} // 透视角度
|
|
673
|
+
|
|
674
|
+
|
|
687
675
|
function onChangePerspectiveAngle() {
|
|
688
676
|
viewModel && viewModel.setPerspectiveAngle(formItem.perspectiveAngle);
|
|
689
|
-
}
|
|
690
|
-
|
|
677
|
+
} // 目标区域宽度
|
|
678
|
+
|
|
679
|
+
|
|
691
680
|
function onChangeTargetAreaWidth() {
|
|
692
681
|
viewModel && viewModel.setTargetAreaWidth(formItem.targetAreaWidth);
|
|
693
|
-
}
|
|
694
|
-
|
|
682
|
+
} // 目标区域高度
|
|
683
|
+
|
|
684
|
+
|
|
695
685
|
function onChangeTargetAreaHeight() {
|
|
696
686
|
viewModel && viewModel.setTargetAreaHeight(formItem.targetAreaHeight);
|
|
697
|
-
}
|
|
698
|
-
|
|
687
|
+
} // 相机高度
|
|
688
|
+
|
|
689
|
+
|
|
699
690
|
function onChangeCameraHeight() {
|
|
700
691
|
viewModel && viewModel.setCameraHeight(formItem.cameraHeight);
|
|
701
|
-
}
|
|
692
|
+
} // 销毁
|
|
693
|
+
|
|
702
694
|
|
|
703
|
-
// 销毁
|
|
704
695
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
705
696
|
viewModel && viewModel.destroy();
|
|
706
697
|
});
|
|
698
|
+
|
|
707
699
|
__expose({
|
|
708
700
|
startAnalysis,
|
|
709
701
|
clearResult,
|
|
@@ -713,17 +705,28 @@ const __default__ = {
|
|
|
713
705
|
onChangeTargetAreaHeight,
|
|
714
706
|
onChangeCameraHeight
|
|
715
707
|
});
|
|
708
|
+
|
|
716
709
|
return (_ctx, _cache) => {
|
|
717
710
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
711
|
+
|
|
718
712
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
713
|
+
|
|
719
714
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
715
|
+
|
|
720
716
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
717
|
+
|
|
721
718
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
719
|
+
|
|
722
720
|
const _component_kq_checkbox = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-checkbox");
|
|
721
|
+
|
|
723
722
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
723
|
+
|
|
724
724
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
725
|
+
|
|
725
726
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
727
|
+
|
|
726
728
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
729
|
+
|
|
727
730
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
728
731
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-model-profile-analysis", {
|
|
729
732
|
'kq-box-shadow': __props.showShadow
|
|
@@ -734,11 +737,17 @@ const __default__ = {
|
|
|
734
737
|
key: 0,
|
|
735
738
|
ref_key: "headerTempRef",
|
|
736
739
|
ref: headerTempRef
|
|
737
|
-
}, null, 512
|
|
740
|
+
}, null, 512
|
|
741
|
+
/* NEED_PATCH */
|
|
742
|
+
)) : (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, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
738
743
|
class: "kq3d-model-profile-analysis-tip"
|
|
739
744
|
}, {
|
|
740
|
-
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).profileTips), 1
|
|
741
|
-
|
|
745
|
+
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).profileTips), 1
|
|
746
|
+
/* TEXT */
|
|
747
|
+
)]),
|
|
748
|
+
_: 1
|
|
749
|
+
/* STABLE */
|
|
750
|
+
|
|
742
751
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
743
752
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue
|
|
744
753
|
}, {
|
|
@@ -769,8 +778,12 @@ const __default__ = {
|
|
|
769
778
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minPerspectiveAngle,
|
|
770
779
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxPerspectiveAngle,
|
|
771
780
|
onInput: onChangePerspectiveAngle
|
|
772
|
-
}, null, 8
|
|
773
|
-
|
|
781
|
+
}, null, 8
|
|
782
|
+
/* PROPS */
|
|
783
|
+
, ["modelValue", "min", "max"])]),
|
|
784
|
+
_: 1
|
|
785
|
+
/* STABLE */
|
|
786
|
+
|
|
774
787
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
775
788
|
span: 8
|
|
776
789
|
}, {
|
|
@@ -781,14 +794,26 @@ const __default__ = {
|
|
|
781
794
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxPerspectiveAngle,
|
|
782
795
|
step: 1,
|
|
783
796
|
"controls-position": "right"
|
|
784
|
-
}, null, 8
|
|
785
|
-
|
|
797
|
+
}, null, 8
|
|
798
|
+
/* PROPS */
|
|
799
|
+
, ["modelValue", "min", "max"])]),
|
|
800
|
+
_: 1
|
|
801
|
+
/* STABLE */
|
|
802
|
+
|
|
786
803
|
})]),
|
|
787
|
-
_: 1
|
|
804
|
+
_: 1
|
|
805
|
+
/* STABLE */
|
|
806
|
+
|
|
788
807
|
})]),
|
|
789
|
-
_: 1
|
|
790
|
-
|
|
791
|
-
|
|
808
|
+
_: 1
|
|
809
|
+
/* STABLE */
|
|
810
|
+
|
|
811
|
+
}, 8
|
|
812
|
+
/* PROPS */
|
|
813
|
+
, ["label"])]),
|
|
814
|
+
_: 1
|
|
815
|
+
/* STABLE */
|
|
816
|
+
|
|
792
817
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
793
818
|
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_form_item, {
|
|
794
819
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).targetAreaWidth
|
|
@@ -808,8 +833,12 @@ const __default__ = {
|
|
|
808
833
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minTargetAreaWidth,
|
|
809
834
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxTargetAreaWidth,
|
|
810
835
|
onInput: onChangeTargetAreaWidth
|
|
811
|
-
}, null, 8
|
|
812
|
-
|
|
836
|
+
}, null, 8
|
|
837
|
+
/* PROPS */
|
|
838
|
+
, ["modelValue", "min", "max"])]),
|
|
839
|
+
_: 1
|
|
840
|
+
/* STABLE */
|
|
841
|
+
|
|
813
842
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
814
843
|
span: 8
|
|
815
844
|
}, {
|
|
@@ -820,14 +849,26 @@ const __default__ = {
|
|
|
820
849
|
step: 1,
|
|
821
850
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxTargetAreaWidth,
|
|
822
851
|
"controls-position": "right"
|
|
823
|
-
}, null, 8
|
|
824
|
-
|
|
852
|
+
}, null, 8
|
|
853
|
+
/* PROPS */
|
|
854
|
+
, ["modelValue", "min", "max"])]),
|
|
855
|
+
_: 1
|
|
856
|
+
/* STABLE */
|
|
857
|
+
|
|
825
858
|
})]),
|
|
826
|
-
_: 1
|
|
859
|
+
_: 1
|
|
860
|
+
/* STABLE */
|
|
861
|
+
|
|
827
862
|
})]),
|
|
828
|
-
_: 1
|
|
829
|
-
|
|
830
|
-
|
|
863
|
+
_: 1
|
|
864
|
+
/* STABLE */
|
|
865
|
+
|
|
866
|
+
}, 8
|
|
867
|
+
/* PROPS */
|
|
868
|
+
, ["label"])]),
|
|
869
|
+
_: 1
|
|
870
|
+
/* STABLE */
|
|
871
|
+
|
|
831
872
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
832
873
|
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_form_item, {
|
|
833
874
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).targetAreaHeight
|
|
@@ -847,8 +888,12 @@ const __default__ = {
|
|
|
847
888
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minTargetAreaHeight,
|
|
848
889
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxTargetAreaHeight,
|
|
849
890
|
onInput: onChangeTargetAreaHeight
|
|
850
|
-
}, null, 8
|
|
851
|
-
|
|
891
|
+
}, null, 8
|
|
892
|
+
/* PROPS */
|
|
893
|
+
, ["modelValue", "min", "max"])]),
|
|
894
|
+
_: 1
|
|
895
|
+
/* STABLE */
|
|
896
|
+
|
|
852
897
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
853
898
|
span: 8
|
|
854
899
|
}, {
|
|
@@ -859,14 +904,26 @@ const __default__ = {
|
|
|
859
904
|
step: 1,
|
|
860
905
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxTargetAreaHeight,
|
|
861
906
|
"controls-position": "right"
|
|
862
|
-
}, null, 8
|
|
863
|
-
|
|
907
|
+
}, null, 8
|
|
908
|
+
/* PROPS */
|
|
909
|
+
, ["modelValue", "min", "max"])]),
|
|
910
|
+
_: 1
|
|
911
|
+
/* STABLE */
|
|
912
|
+
|
|
864
913
|
})]),
|
|
865
|
-
_: 1
|
|
914
|
+
_: 1
|
|
915
|
+
/* STABLE */
|
|
916
|
+
|
|
866
917
|
})]),
|
|
867
|
-
_: 1
|
|
868
|
-
|
|
869
|
-
|
|
918
|
+
_: 1
|
|
919
|
+
/* STABLE */
|
|
920
|
+
|
|
921
|
+
}, 8
|
|
922
|
+
/* PROPS */
|
|
923
|
+
, ["label"])]),
|
|
924
|
+
_: 1
|
|
925
|
+
/* STABLE */
|
|
926
|
+
|
|
870
927
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
871
928
|
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_form_item, {
|
|
872
929
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).cameraHeight
|
|
@@ -886,8 +943,12 @@ const __default__ = {
|
|
|
886
943
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minCameraHeight,
|
|
887
944
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxCameraHeight,
|
|
888
945
|
onInput: onChangeCameraHeight
|
|
889
|
-
}, null, 8
|
|
890
|
-
|
|
946
|
+
}, null, 8
|
|
947
|
+
/* PROPS */
|
|
948
|
+
, ["modelValue", "min", "max"])]),
|
|
949
|
+
_: 1
|
|
950
|
+
/* STABLE */
|
|
951
|
+
|
|
891
952
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
892
953
|
span: 8
|
|
893
954
|
}, {
|
|
@@ -898,46 +959,93 @@ const __default__ = {
|
|
|
898
959
|
step: 1,
|
|
899
960
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxCameraHeight,
|
|
900
961
|
"controls-position": "right"
|
|
901
|
-
}, null, 8
|
|
902
|
-
|
|
962
|
+
}, null, 8
|
|
963
|
+
/* PROPS */
|
|
964
|
+
, ["modelValue", "min", "max"])]),
|
|
965
|
+
_: 1
|
|
966
|
+
/* STABLE */
|
|
967
|
+
|
|
903
968
|
})]),
|
|
904
|
-
_: 1
|
|
969
|
+
_: 1
|
|
970
|
+
/* STABLE */
|
|
971
|
+
|
|
905
972
|
})]),
|
|
906
|
-
_: 1
|
|
907
|
-
|
|
908
|
-
|
|
973
|
+
_: 1
|
|
974
|
+
/* STABLE */
|
|
975
|
+
|
|
976
|
+
}, 8
|
|
977
|
+
/* PROPS */
|
|
978
|
+
, ["label"])]),
|
|
979
|
+
_: 1
|
|
980
|
+
/* STABLE */
|
|
981
|
+
|
|
909
982
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
910
983
|
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_checkbox, {
|
|
911
984
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enablePerspective,
|
|
912
985
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enablePerspective = $event),
|
|
913
986
|
onChange: onChangeEnablePerspective
|
|
914
987
|
}, {
|
|
915
|
-
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).enablePerspective), 1
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
988
|
+
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).enablePerspective), 1
|
|
989
|
+
/* TEXT */
|
|
990
|
+
)]),
|
|
991
|
+
_: 1
|
|
992
|
+
/* STABLE */
|
|
993
|
+
|
|
994
|
+
}, 8
|
|
995
|
+
/* PROPS */
|
|
996
|
+
, ["modelValue"])]),
|
|
997
|
+
_: 1
|
|
998
|
+
/* STABLE */
|
|
999
|
+
|
|
919
1000
|
})]),
|
|
920
|
-
_: 1
|
|
1001
|
+
_: 1
|
|
1002
|
+
/* STABLE */
|
|
1003
|
+
|
|
921
1004
|
})]),
|
|
922
|
-
_: 1
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
1005
|
+
_: 1
|
|
1006
|
+
/* STABLE */
|
|
1007
|
+
|
|
1008
|
+
}, 8
|
|
1009
|
+
/* PROPS */
|
|
1010
|
+
, ["title"])]),
|
|
1011
|
+
_: 1
|
|
1012
|
+
/* STABLE */
|
|
1013
|
+
|
|
1014
|
+
}, 8
|
|
1015
|
+
/* PROPS */
|
|
1016
|
+
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
926
1017
|
onClick: _cache[9] || (_cache[9] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
927
1018
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
|
|
928
1019
|
type: "primary"
|
|
929
1020
|
}, {
|
|
930
|
-
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).startAnalysis), 1
|
|
931
|
-
|
|
932
|
-
|
|
1021
|
+
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).startAnalysis), 1
|
|
1022
|
+
/* TEXT */
|
|
1023
|
+
)]),
|
|
1024
|
+
_: 1
|
|
1025
|
+
/* STABLE */
|
|
1026
|
+
|
|
1027
|
+
}, 8
|
|
1028
|
+
/* PROPS */
|
|
1029
|
+
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
933
1030
|
onClick: _cache[10] || (_cache[10] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
|
|
934
1031
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
|
|
935
1032
|
}, {
|
|
936
|
-
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).clearResult), 1
|
|
937
|
-
|
|
938
|
-
|
|
1033
|
+
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).clearResult), 1
|
|
1034
|
+
/* TEXT */
|
|
1035
|
+
)]),
|
|
1036
|
+
_: 1
|
|
1037
|
+
/* STABLE */
|
|
1038
|
+
|
|
1039
|
+
}, 8
|
|
1040
|
+
/* PROPS */
|
|
1041
|
+
, ["title"])]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_4, null, 512
|
|
1042
|
+
/* NEED_PATCH */
|
|
1043
|
+
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(resultCahrtVis)]])])])], 2
|
|
1044
|
+
/* CLASS */
|
|
1045
|
+
);
|
|
939
1046
|
};
|
|
940
1047
|
}
|
|
1048
|
+
|
|
941
1049
|
}));
|
|
942
1050
|
;// CONCATENATED MODULE: ./src/webgl/modelprofileanalysis/ModelProfileAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
943
1051
|
|
|
@@ -959,11 +1067,13 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
|
959
1067
|
|
|
960
1068
|
|
|
961
1069
|
|
|
1070
|
+
|
|
962
1071
|
ModelProfileAnalysis.install = (Vue, opts) => {
|
|
963
1072
|
init_js_default()(Vue, opts);
|
|
964
1073
|
Vue.component(ModelProfileAnalysis.name, ModelProfileAnalysis);
|
|
965
1074
|
};
|
|
966
1075
|
|
|
1076
|
+
|
|
967
1077
|
}();
|
|
968
1078
|
/******/ return __webpack_exports__;
|
|
969
1079
|
/******/ })()
|