@kq_npm/client3d_webgl_vue 4.5.30 → 4.5.32

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.
Files changed (55) hide show
  1. package/adddata/index.js +227 -496
  2. package/aspectanalysis/index.js +71 -182
  3. package/baseterraingallery/index.js +40 -102
  4. package/boxclip/index.js +197 -423
  5. package/clientPrint/index.js +7324 -17727
  6. package/comparemap/index.js +165 -216
  7. package/compass/index.js +20 -47
  8. package/excavatefillanalysis/index.js +101 -206
  9. package/fixedzoomin/index.js +20 -43
  10. package/fixedzoomout/index.js +18 -42
  11. package/flight/index.js +206 -353
  12. package/floodanalysis/index.js +145 -328
  13. package/geologicalbodyanalysis/index.js +114 -241
  14. package/gpuspatialquery/index.js +146 -340
  15. package/hawkeye/index.js +78 -80
  16. package/headertemp/index.js +8 -19
  17. package/heatmap3d/index.js +304 -645
  18. package/index.js +6896 -17544
  19. package/isolineanalysis/index.js +451 -1183
  20. package/light/index.js +308 -486
  21. package/limitheightanalysis/index.js +107 -204
  22. package/measure/index.js +145 -331
  23. package/modelFlat/index.js +114 -183
  24. package/modelexcavate/index.js +78 -172
  25. package/modelfilter/index.js +127 -252
  26. package/modelprofileanalysis/index.js +154 -297
  27. package/modelselect/index.js +90 -128
  28. package/package.json +1 -1
  29. package/particleeffect/index.js +170 -381
  30. package/planeclip/index.js +146 -281
  31. package/resetview/index.js +12 -31
  32. package/roller/index.js +252 -353
  33. package/scaneffect/index.js +178 -518
  34. package/sceneadvancedtoimage/index.js +152 -337
  35. package/sceneapp/index.js +7324 -17727
  36. package/sceneset/index.js +299 -838
  37. package/scenetohdimage/index.js +105 -276
  38. package/sceneview/index.js +7324 -17727
  39. package/screenshot/index.js +204 -281
  40. package/shadowanalysis/index.js +175 -386
  41. package/sightlineanalysis/index.js +135 -245
  42. package/skylineanalysis/index.js +108 -289
  43. package/slopeanalysis/index.js +174 -378
  44. package/slopeaspectanalysis/index.js +206 -466
  45. package/statusbar/index.js +37 -39
  46. package/terrainoperation/index.js +124 -218
  47. package/terrainprofileanalysis/index.js +66 -118
  48. package/typhoontrac/index.js +208 -330
  49. package/underground/index.js +16 -40
  50. package/videofusion/index.js +214 -470
  51. package/videoproject/index.js +220 -472
  52. package/viewshedanalysis/index.js +93 -230
  53. package/weathereffect/index.js +111 -295
  54. package/windyslicing/index.js +545 -727
  55. package/wireframesketch/index.js +49 -106
@@ -19,18 +19,16 @@ return /******/ (function() { // webpackBootstrap
19
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
20
  /* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7997);
21
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.
22
+ /*
23
+ * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
24
+ * All rights reserved.
25
25
  */
26
26
 
27
27
 
28
-
29
28
  element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
30
29
  _init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
31
30
  Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
32
31
  };
33
-
34
32
  /* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
35
33
 
36
34
  /***/ }),
@@ -42,6 +40,27 @@ module.exports = require("@kq_npm/client_icons_vue");
42
40
 
43
41
  /***/ }),
44
42
 
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
+
45
64
  /***/ 9389:
46
65
  /***/ (function(module) {
47
66
 
@@ -101,7 +120,6 @@ function _defineProperty(obj, key, value) {
101
120
  } else {
102
121
  obj[key] = value;
103
122
  }
104
-
105
123
  return obj;
106
124
  }
107
125
 
@@ -193,11 +211,19 @@ var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
193
211
  var gis_utils_ = __webpack_require__(7135);
194
212
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
195
213
  var defineProperty = __webpack_require__(8270);
214
+ // EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
215
+ var es_array_push_js_ = __webpack_require__(2118);
216
+ // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
217
+ var esnext_iterator_constructor_js_ = __webpack_require__(8470);
218
+ // EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
219
+ var esnext_iterator_for_each_js_ = __webpack_require__(1058);
196
220
  // EXTERNAL MODULE: ./src/common/_ui/message/index.js
197
221
  var message = __webpack_require__(1349);
198
222
  ;// CONCATENATED MODULE: ./src/webgl/modelprofileanalysis/ModelProfileAnalysisViewModel.js
199
223
 
200
224
 
225
+
226
+
201
227
  /*
202
228
  * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
203
229
  * All rights reserved.
@@ -209,24 +235,19 @@ let activeShapePoints = [];
209
235
  let activeCartographicPoints = [];
210
236
 
211
237
  class ModelProfileAnalysisViewModel {
212
- //剖面分析三维对象
213
- //显示结果的DOM元素
214
- //显示结果的DOM元素显隐
215
- //全局参数对象
216
238
  constructor(scenceView, viewModel, chart) {
217
239
  (0,defineProperty/* default */.Z)(this, "_profileAnalysis", null);
218
-
240
+ //剖面分析三维对象
219
241
  (0,defineProperty/* default */.Z)(this, "_ProfileAnalysisChart", null);
220
-
242
+ //显示结果的DOM元素
221
243
  (0,defineProperty/* default */.Z)(this, "_ProfileAnalysisChartVis", null);
222
-
244
+ //显示结果的DOM元素显隐
223
245
  (0,defineProperty/* default */.Z)(this, "_language", null);
224
-
246
+ //全局参数对象
225
247
  (0,defineProperty/* default */.Z)(this, "_globaOptions", {
226
248
  width: 360,
227
249
  height: 360
228
250
  });
229
-
230
251
  this._language = scenceView._language;
231
252
  this._globaOptions.viewModel = {
232
253
  angle: viewModel.perspectiveAngle || 90,
@@ -239,8 +260,8 @@ class ModelProfileAnalysisViewModel {
239
260
  this._globaOptions.viewer.scene.postProcessStages._fxaa.enabled = true;
240
261
  this._globaOptions.viewer.scene.globe.depthTestAgainstTerrain = true;
241
262
  this._ProfileAnalysisChart = chart;
242
- this._ProfileAnalysisChartVis = chart || {}; // 实例化单线剖面分析对象
243
-
263
+ this._ProfileAnalysisChartVis = chart || {};
264
+ // 实例化单线剖面分析对象
244
265
  this._profileAnalysis = new window.Cesium.Kq3dProfileAnalysis({
245
266
  viewer: this._globaOptions.viewer,
246
267
  width: this._globaOptions.width,
@@ -256,45 +277,39 @@ class ModelProfileAnalysisViewModel {
256
277
  color: window.Cesium.Color.fromBytes(0, 255, 255, 200)
257
278
  }
258
279
  });
259
- this._globaOptions._handler = new window.Cesium.ScreenSpaceEventHandler(this._globaOptions.viewer.canvas); //创建剖面分析结果显示窗口
260
-
280
+ this._globaOptions._handler = new window.Cesium.ScreenSpaceEventHandler(this._globaOptions.viewer.canvas);
281
+ //创建剖面分析结果显示窗口
261
282
  this._globaOptions.canvas = document.createElement("canvas");
262
283
  this._globaOptions.canvas.id = "pro";
263
284
  this._globaOptions.ctx = this._globaOptions.canvas.getContext("2d");
264
-
265
285
  this._ProfileAnalysisChart.appendChild(this._globaOptions.canvas);
266
- } //开始分析
267
-
268
-
286
+ }
287
+ //开始分析
269
288
  start() {
270
289
  // 判断是否添加了模型
271
290
  var flag = false;
272
291
  var models = this._globaOptions.viewer.scene.primitives._primitives;
273
-
274
292
  for (let i = 0; i < models.length; i++) {
275
293
  if (models[i] instanceof Cesium.Cesium3DTileset && models[i]._url) {
276
294
  flag = true;
277
295
  }
278
296
  }
279
-
280
297
  if (flag) {
281
298
  //清空绘制结果
282
299
  this.remove();
283
300
  let that = this;
284
-
285
301
  this._globaOptions._handler.removeInputAction(window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
286
-
287
302
  this._globaOptions._handler.setInputAction(function (event) {
288
303
  var earthPosition = that._globaOptions.viewer.scene.pickPosition(event.position);
289
-
290
304
  if (window.Cesium.defined(earthPosition)) {
291
305
  //绘制点
292
306
  floatingPoint = that.createPoint(earthPosition);
293
307
  drawPoints.push(floatingPoint);
294
308
  activeShapePoints.push(earthPosition);
295
309
  let earthPositionCarto = window.Cesium.Cartographic.fromCartesian(earthPosition);
296
- activeCartographicPoints.push(earthPositionCarto); //单线分析结果显示
310
+ activeCartographicPoints.push(earthPositionCarto);
297
311
 
312
+ //单线分析结果显示
298
313
  if (activeShapePoints.length == 2) {
299
314
  var newPositions = [];
300
315
  activeShapePoints.forEach(position => {
@@ -319,9 +334,8 @@ class ModelProfileAnalysisViewModel {
319
334
  type: "warning"
320
335
  });
321
336
  }
322
- } //绘制点
323
-
324
-
337
+ }
338
+ //绘制点
325
339
  createPoint(worldPosition) {
326
340
  var point = this._globaOptions.viewer.entities.add({
327
341
  position: worldPosition,
@@ -330,11 +344,9 @@ class ModelProfileAnalysisViewModel {
330
344
  pixelSize: 5
331
345
  }
332
346
  });
333
-
334
347
  return point;
335
- } //更新单线剖面分析结果
336
-
337
-
348
+ }
349
+ //更新单线剖面分析结果
338
350
  updatePorfileAnalysis() {
339
351
  if (this._profileAnalysis) {
340
352
  this._profileAnalysis.frustumH = this._globaOptions.viewModel.frustumH;
@@ -342,31 +354,25 @@ class ModelProfileAnalysisViewModel {
342
354
  this._profileAnalysis.extendWidth = this._globaOptions.viewModel.extendWidth;
343
355
  this._profileAnalysis.cameraHeight = this._globaOptions.viewModel.cameraHeight;
344
356
  this._profileAnalysis.isPerspective = this._globaOptions.viewModel.isPerspective;
345
-
346
357
  if (this._globaOptions._handler) {
347
358
  let buffer = this._profileAnalysis.updateBuffer();
348
-
349
359
  this._ProfileAnalysisChartVis.value = true;
350
360
  setTimeout(() => {
351
361
  this.getPorfileAnalysisTexture(buffer);
352
-
353
362
  this._globaOptions._handler.removeInputAction(window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
354
363
  }, 500);
355
364
  }
356
365
  }
357
- } //获取单线剖面分析纹理
358
-
359
-
366
+ }
367
+ //获取单线剖面分析纹理
360
368
  getPorfileAnalysisTexture(buffer) {
361
369
  if (buffer) {
362
370
  this._globaOptions.canvas.height = this._globaOptions.height;
363
371
  this._globaOptions.canvas.width = this._globaOptions.width;
372
+ let imgData = this._globaOptions.ctx.createImageData(this._globaOptions.width, this._globaOptions.height);
364
373
 
365
- let imgData = this._globaOptions.ctx.createImageData(this._globaOptions.width, this._globaOptions.height); // flipY
366
-
367
-
374
+ // flipY
368
375
  var line = this._globaOptions.width * 4;
369
-
370
376
  for (let h = 0; h < this._globaOptions.height; h++) {
371
377
  for (let w = 0; w < this._globaOptions.width; w++) {
372
378
  for (let n = 0; n < 4; n++) {
@@ -374,29 +380,21 @@ class ModelProfileAnalysisViewModel {
374
380
  }
375
381
  }
376
382
  }
383
+ this._globaOptions.ctx.putImageData(imgData, 0, 0);
377
384
 
378
- this._globaOptions.ctx.putImageData(imgData, 0, 0); //=====================
379
-
380
-
385
+ //=====================
381
386
  this._globaOptions.ctx.setLineDash([20, 5]);
382
-
383
387
  this._globaOptions.ctx.lineWidth = 1;
384
388
  this._globaOptions.ctx.strokeStyle = "#ff2";
385
389
  let fTop = (1.0 - this._profileAnalysis._frustumH / this._profileAnalysis._maxH) * 360;
386
390
  let fLeft = (1.0 - this._profileAnalysis._frustumW / this._profileAnalysis._maxW) / 2 * 360;
387
-
388
391
  this._globaOptions.ctx.moveTo(fLeft, 360); // bottom
389
-
390
-
391
392
  this._globaOptions.ctx.lineTo(fLeft, fTop);
392
-
393
393
  this._globaOptions.ctx.lineTo(360 - fLeft, fTop);
394
-
395
394
  this._globaOptions.ctx.lineTo(360 - fLeft, 360);
395
+ this._globaOptions.ctx.stroke();
396
396
 
397
- this._globaOptions.ctx.stroke(); //=====================
398
-
399
-
397
+ //=====================
400
398
  let str = String(this._profileAnalysis._frustumW.toFixed(2));
401
399
  let str1 = this._language.profileLength + " : " + str + "m";
402
400
  str = String(this._profileAnalysis._maxW.toFixed(2));
@@ -409,78 +407,61 @@ class ModelProfileAnalysisViewModel {
409
407
  this._globaOptions.ctx.textAlign = "left";
410
408
  this._globaOptions.ctx.textBaseline = "bottom";
411
409
  this._globaOptions.ctx.fillStyle = "#ccc";
412
-
413
410
  this._globaOptions.ctx.fillText(str1, 10, 20);
414
-
415
411
  this._globaOptions.ctx.fillText(str2, 10, 40);
416
-
417
412
  this._globaOptions.ctx.fillText(str3, 10, 60);
418
-
419
413
  this._globaOptions.ctx.fillText(str4, 10, 80);
420
414
  }
421
- } // 是否透视
422
-
423
-
415
+ }
416
+ // 是否透视
424
417
  setEnablePerspective(val) {
425
418
  this._globaOptions.viewModel.isPerspective = val;
426
419
  if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
427
- } // 透视角度
428
-
429
-
420
+ }
421
+ // 透视角度
430
422
  setPerspectiveAngle(val) {
431
423
  this._globaOptions.viewModel.angle = val;
432
424
  if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
433
- } // 目标区域宽度
434
-
435
-
425
+ }
426
+ // 目标区域宽度
436
427
  setTargetAreaWidth(val) {
437
428
  this._globaOptions.viewModel.extendWidth = val;
438
429
  if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
439
- } // 目标区域高度
440
-
441
-
430
+ }
431
+ // 目标区域高度
442
432
  setTargetAreaHeight(val) {
443
433
  this._globaOptions.viewModel.frustumH = val;
444
434
  if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
445
- } // 相机高度
446
-
447
-
435
+ }
436
+ // 相机高度
448
437
  setCameraHeight(val) {
449
438
  this._globaOptions.viewModel.cameraHeight = val;
450
439
  if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
451
- } // 切换语言
452
-
453
-
440
+ }
441
+ // 切换语言
454
442
  changeLanguage(lang) {
455
443
  this._language = lang;
456
444
  if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
457
- } // 清理剖面分析
458
-
459
-
445
+ }
446
+ // 清理剖面分析
460
447
  remove() {
461
448
  this._ProfileAnalysisChartVis.value = false;
462
449
  this._profileAnalysis && this._profileAnalysis.clearPrimitives();
463
- } //清除全部结果
464
-
465
-
450
+ }
451
+ //清除全部结果
466
452
  clear() {
467
453
  this.remove();
468
-
469
454
  this._globaOptions._handler.removeInputAction(window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
470
- } // 销毁
471
-
472
-
455
+ }
456
+ // 销毁
473
457
  destroy() {
474
458
  this.remove();
475
-
476
459
  this._globaOptions._handler.removeInputAction(window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
477
-
478
460
  this._globaOptions._handler = null;
479
461
  this._ProfileAnalysisChartVis.value = false;
480
462
  this._profileAnalysis && this._profileAnalysis.destroy();
481
463
  this._profileAnalysis = null;
482
464
  }
483
-
484
465
  }
485
466
  // EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
486
467
  var client_icons_vue_ = __webpack_require__(348);
@@ -523,7 +504,6 @@ const __default__ = {
523
504
  type: Boolean,
524
505
  default: true
525
506
  },
526
-
527
507
  /**
528
508
  * 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
529
509
  */
@@ -553,7 +533,6 @@ const __default__ = {
553
533
  default: true
554
534
  }
555
535
  },
556
-
557
536
  setup(__props, {
558
537
  expose: __expose
559
538
  }) {
@@ -561,12 +540,14 @@ const __default__ = {
561
540
  const {
562
541
  proxy
563
542
  } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
564
- let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]); // 设置
565
- // 分析类
566
-
567
- let viewModel = null; // chart显示
543
+ let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
544
+ // 设置
568
545
 
569
- let resultCahrtVis = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(true); // 获取组件传参
546
+ // 分析类
547
+ let viewModel = null;
548
+ // chart显示
549
+ let resultCahrtVis = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(true);
550
+ // 获取组件传参
570
551
 
571
552
  let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
572
553
  collapseValue: props.settingParams && props.settingParams.collapseValue || ((props.settingParams && props.settingParams.collapseValue) == '' ? "" : "setting"),
@@ -596,14 +577,16 @@ const __default__ = {
596
577
  maxCameraHeight: props.settingParams && props.settingParams.maxCameraHeight || 500,
597
578
  // 相机高度范围最大值
598
579
  enablePerspective: props.settingParams && props.settingParams.isLabel !== undefined || true // 是否透视
580
+ });
599
581
 
600
- }); // 组件容器Ref
601
-
602
- let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
582
+ // 组件容器Ref
583
+ let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
603
584
 
585
+ // 生成组件默认header
604
586
  let headerTemp = (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)(); // 国际化
587
+ let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
606
588
 
589
+ // 国际化
607
590
  let {
608
591
  locale,
609
592
  messages
@@ -638,64 +621,56 @@ const __default__ = {
638
621
  cameraHeight: formItem.cameraHeight,
639
622
  // 相机高度
640
623
  enablePerspective: formItem.enablePerspective // 是否透视
641
-
642
624
  }, document.getElementById("resultCahrt"));
643
625
  viewModel._ProfileAnalysisChartVis = resultCahrtVis;
644
626
  resultCahrtVis.value = false;
645
627
  }
646
628
  });
647
629
  });
630
+
648
631
  /**
649
632
  * @description 监听header生成
650
633
  */
651
-
652
634
  const watchCreateHeaderTemp = () => {
653
635
  if (props.showHeaderTemp) {
654
636
  // 生成headerTemp
655
637
  headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
656
638
  }
657
- }; // 开始分析
658
-
639
+ };
659
640
 
641
+ // 开始分析
660
642
  function startAnalysis() {
661
643
  viewModel && viewModel.start();
662
- } // 清除结果
663
-
664
-
644
+ }
645
+ // 清除结果
665
646
  function clearResult() {
666
647
  viewModel && viewModel.clear();
667
- } // 是否透视
668
-
669
-
648
+ }
649
+ // 是否透视
670
650
  function onChangeEnablePerspective() {
671
651
  viewModel && viewModel.setEnablePerspective(formItem.enablePerspective);
672
- } // 透视角度
673
-
674
-
652
+ }
653
+ // 透视角度
675
654
  function onChangePerspectiveAngle() {
676
655
  viewModel && viewModel.setPerspectiveAngle(formItem.perspectiveAngle);
677
- } // 目标区域宽度
678
-
679
-
656
+ }
657
+ // 目标区域宽度
680
658
  function onChangeTargetAreaWidth() {
681
659
  viewModel && viewModel.setTargetAreaWidth(formItem.targetAreaWidth);
682
- } // 目标区域高度
683
-
684
-
660
+ }
661
+ // 目标区域高度
685
662
  function onChangeTargetAreaHeight() {
686
663
  viewModel && viewModel.setTargetAreaHeight(formItem.targetAreaHeight);
687
- } // 相机高度
688
-
689
-
664
+ }
665
+ // 相机高度
690
666
  function onChangeCameraHeight() {
691
667
  viewModel && viewModel.setCameraHeight(formItem.cameraHeight);
692
- } // 销毁
693
-
668
+ }
694
669
 
670
+ // 销毁
695
671
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
696
672
  viewModel && viewModel.destroy();
697
673
  });
698
-
699
674
  __expose({
700
675
  startAnalysis,
701
676
  clearResult,
@@ -705,28 +680,17 @@ const __default__ = {
705
680
  onChangeTargetAreaHeight,
706
681
  onChangeCameraHeight
707
682
  });
708
-
709
683
  return (_ctx, _cache) => {
710
684
  const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
711
-
712
685
  const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
713
-
714
686
  const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
715
-
716
687
  const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
717
-
718
688
  const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
719
-
720
689
  const _component_kq_checkbox = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-checkbox");
721
-
722
690
  const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
723
-
724
691
  const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
725
-
726
692
  const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
727
-
728
693
  const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
729
-
730
694
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
731
695
  class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-model-profile-analysis", {
732
696
  'kq-box-shadow': __props.showShadow
@@ -737,17 +701,11 @@ const __default__ = {
737
701
  key: 0,
738
702
  ref_key: "headerTempRef",
739
703
  ref: headerTempRef
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, {
704
+ }, 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, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
743
705
  class: "kq3d-model-profile-analysis-tip"
744
706
  }, {
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
-
707
+ 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 /* TEXT */)]),
708
+ _: 1 /* STABLE */
751
709
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
752
710
  "model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue
753
711
  }, {
@@ -778,12 +736,8 @@ const __default__ = {
778
736
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minPerspectiveAngle,
779
737
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxPerspectiveAngle,
780
738
  onInput: onChangePerspectiveAngle
781
- }, null, 8
782
- /* PROPS */
783
- , ["modelValue", "min", "max"])]),
784
- _: 1
785
- /* STABLE */
786
-
739
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
740
+ _: 1 /* STABLE */
787
741
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
788
742
  span: 8
789
743
  }, {
@@ -794,26 +748,14 @@ const __default__ = {
794
748
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxPerspectiveAngle,
795
749
  step: 1,
796
750
  "controls-position": "right"
797
- }, null, 8
798
- /* PROPS */
799
- , ["modelValue", "min", "max"])]),
800
- _: 1
801
- /* STABLE */
802
-
751
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
752
+ _: 1 /* STABLE */
803
753
  })]),
804
- _: 1
805
- /* STABLE */
806
-
754
+ _: 1 /* STABLE */
807
755
  })]),
808
- _: 1
809
- /* STABLE */
810
-
811
- }, 8
812
- /* PROPS */
813
- , ["label"])]),
814
- _: 1
815
- /* STABLE */
816
-
756
+ _: 1 /* STABLE */
757
+ }, 8 /* PROPS */, ["label"])]),
758
+ _: 1 /* STABLE */
817
759
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
818
760
  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, {
819
761
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).targetAreaWidth
@@ -833,12 +775,8 @@ const __default__ = {
833
775
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minTargetAreaWidth,
834
776
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxTargetAreaWidth,
835
777
  onInput: onChangeTargetAreaWidth
836
- }, null, 8
837
- /* PROPS */
838
- , ["modelValue", "min", "max"])]),
839
- _: 1
840
- /* STABLE */
841
-
778
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
779
+ _: 1 /* STABLE */
842
780
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
843
781
  span: 8
844
782
  }, {
@@ -849,26 +787,14 @@ const __default__ = {
849
787
  step: 1,
850
788
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxTargetAreaWidth,
851
789
  "controls-position": "right"
852
- }, null, 8
853
- /* PROPS */
854
- , ["modelValue", "min", "max"])]),
855
- _: 1
856
- /* STABLE */
857
-
790
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
791
+ _: 1 /* STABLE */
858
792
  })]),
859
- _: 1
860
- /* STABLE */
861
-
793
+ _: 1 /* STABLE */
862
794
  })]),
863
- _: 1
864
- /* STABLE */
865
-
866
- }, 8
867
- /* PROPS */
868
- , ["label"])]),
869
- _: 1
870
- /* STABLE */
871
-
795
+ _: 1 /* STABLE */
796
+ }, 8 /* PROPS */, ["label"])]),
797
+ _: 1 /* STABLE */
872
798
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
873
799
  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, {
874
800
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).targetAreaHeight
@@ -888,12 +814,8 @@ const __default__ = {
888
814
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minTargetAreaHeight,
889
815
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxTargetAreaHeight,
890
816
  onInput: onChangeTargetAreaHeight
891
- }, null, 8
892
- /* PROPS */
893
- , ["modelValue", "min", "max"])]),
894
- _: 1
895
- /* STABLE */
896
-
817
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
818
+ _: 1 /* STABLE */
897
819
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
898
820
  span: 8
899
821
  }, {
@@ -904,26 +826,14 @@ const __default__ = {
904
826
  step: 1,
905
827
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxTargetAreaHeight,
906
828
  "controls-position": "right"
907
- }, null, 8
908
- /* PROPS */
909
- , ["modelValue", "min", "max"])]),
910
- _: 1
911
- /* STABLE */
912
-
829
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
830
+ _: 1 /* STABLE */
913
831
  })]),
914
- _: 1
915
- /* STABLE */
916
-
832
+ _: 1 /* STABLE */
917
833
  })]),
918
- _: 1
919
- /* STABLE */
920
-
921
- }, 8
922
- /* PROPS */
923
- , ["label"])]),
924
- _: 1
925
- /* STABLE */
926
-
834
+ _: 1 /* STABLE */
835
+ }, 8 /* PROPS */, ["label"])]),
836
+ _: 1 /* STABLE */
927
837
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
928
838
  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, {
929
839
  label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).cameraHeight
@@ -943,12 +853,8 @@ const __default__ = {
943
853
  min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minCameraHeight,
944
854
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxCameraHeight,
945
855
  onInput: onChangeCameraHeight
946
- }, null, 8
947
- /* PROPS */
948
- , ["modelValue", "min", "max"])]),
949
- _: 1
950
- /* STABLE */
951
-
856
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
857
+ _: 1 /* STABLE */
952
858
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
953
859
  span: 8
954
860
  }, {
@@ -959,93 +865,46 @@ const __default__ = {
959
865
  step: 1,
960
866
  max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxCameraHeight,
961
867
  "controls-position": "right"
962
- }, null, 8
963
- /* PROPS */
964
- , ["modelValue", "min", "max"])]),
965
- _: 1
966
- /* STABLE */
967
-
868
+ }, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
869
+ _: 1 /* STABLE */
968
870
  })]),
969
- _: 1
970
- /* STABLE */
971
-
871
+ _: 1 /* STABLE */
972
872
  })]),
973
- _: 1
974
- /* STABLE */
975
-
976
- }, 8
977
- /* PROPS */
978
- , ["label"])]),
979
- _: 1
980
- /* STABLE */
981
-
873
+ _: 1 /* STABLE */
874
+ }, 8 /* PROPS */, ["label"])]),
875
+ _: 1 /* STABLE */
982
876
  }), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
983
877
  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, {
984
878
  modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enablePerspective,
985
879
  "onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enablePerspective = $event),
986
880
  onChange: onChangeEnablePerspective
987
881
  }, {
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
-
882
+ 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 /* TEXT */)]),
883
+ _: 1 /* STABLE */
884
+ }, 8 /* PROPS */, ["modelValue"])]),
885
+ _: 1 /* STABLE */
1000
886
  })]),
1001
- _: 1
1002
- /* STABLE */
1003
-
887
+ _: 1 /* STABLE */
1004
888
  })]),
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, {
889
+ _: 1 /* STABLE */
890
+ }, 8 /* PROPS */, ["title"])]),
891
+ _: 1 /* STABLE */
892
+ }, 8 /* PROPS */, ["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, {
1017
893
  onClick: _cache[9] || (_cache[9] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
1018
894
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
1019
895
  type: "primary"
1020
896
  }, {
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, {
897
+ 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 /* TEXT */)]),
898
+ _: 1 /* STABLE */
899
+ }, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
1030
900
  onClick: _cache[10] || (_cache[10] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
1031
901
  title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
1032
902
  }, {
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
- );
903
+ 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 /* TEXT */)]),
904
+ _: 1 /* STABLE */
905
+ }, 8 /* PROPS */, ["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 /* NEED_PATCH */), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(resultCahrtVis)]])])])], 2 /* CLASS */);
1046
906
  };
1047
907
  }
1048
-
1049
908
  }));
1050
909
  ;// CONCATENATED MODULE: ./src/webgl/modelprofileanalysis/ModelProfileAnalysis.vue?vue&type=script&setup=true&lang=js
1051
910
 
@@ -1067,13 +926,11 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
1067
926
 
1068
927
 
1069
928
 
1070
-
1071
929
  ModelProfileAnalysis.install = (Vue, opts) => {
1072
930
  init_js_default()(Vue, opts);
1073
931
  Vue.component(ModelProfileAnalysis.name, ModelProfileAnalysis);
1074
932
  };
1075
933
 
1076
-
1077
934
  }();
1078
935
  /******/ return __webpack_exports__;
1079
936
  /******/ })()