@kq_npm/client3d_webgl_vue 4.5.55 → 4.5.57

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 (82) hide show
  1. package/adddata/index.js +189 -21
  2. package/airspacegridoccupancyquery/index.js +1977 -0
  3. package/airspacegridoccupancyquery/style/airspacegridoccupancyquery.css +1 -0
  4. package/airspacegridoccupancyquery/style/index.js +3 -0
  5. package/airspaceprofileanalysis/index.js +1870 -0
  6. package/airspaceprofileanalysis/style/airspaceprofileanalysis.css +1 -0
  7. package/airspaceprofileanalysis/style/index.js +3 -0
  8. package/aspectanalysis/index.js +25 -7
  9. package/baseterraingallery/index.js +16 -4
  10. package/boxclip/index.js +58 -16
  11. package/buildpointmodel/index.js +3207 -230
  12. package/buildpointmodel/style/buildpointmodel.css +1 -1
  13. package/buildpolygonmodel/index.js +205 -81
  14. package/buildpolylinemodel/index.js +346 -70
  15. package/clientPrint/index.js +32440 -2337
  16. package/comparemap/index.js +132 -60
  17. package/compass/index.js +16 -6
  18. package/excavatefillanalysis/index.js +51 -7
  19. package/fixedzoomin/index.js +24 -7
  20. package/fixedzoomout/index.js +25 -7
  21. package/flight/index.js +113 -26
  22. package/floodanalysis/index.js +79 -14
  23. package/geologicalbodyanalysis/index.js +41 -5
  24. package/gpuspatialquery/index.js +127 -19
  25. package/gridoccupancyquery/index.js +627 -0
  26. package/gridoccupancyquery/style/gridoccupancyquery.css +1 -0
  27. package/gridoccupancyquery/style/index.js +3 -0
  28. package/hawkeye/index.js +20 -2
  29. package/headertemp/index.js +7 -2
  30. package/heatmap3d/index.js +282 -158
  31. package/index.js +32440 -2337
  32. package/isolineanalysis/index.js +113 -38
  33. package/light/index.js +80 -22
  34. package/limitheightanalysis/index.js +30 -10
  35. package/lowaltitudefeature/index.js +5027 -0
  36. package/lowaltitudefeature/style/index.js +3 -0
  37. package/lowaltitudefeature/style/lowaltitudefeature.css +1 -0
  38. package/measure/index.js +60 -19
  39. package/modelFlat/index.js +48 -8
  40. package/modeledit/index.js +38 -4
  41. package/modelexcavate/index.js +48 -7
  42. package/modelfilter/index.js +51 -8
  43. package/modelmaterialedit/index.js +127 -25
  44. package/modelprofileanalysis/index.js +51 -14
  45. package/modelselect/index.js +34 -3
  46. package/modelstyleedit/index.js +39 -3
  47. package/modeltransform/index.js +79 -14
  48. package/package.json +1 -1
  49. package/particleeffect/index.js +83 -17
  50. package/planeclip/index.js +66 -17
  51. package/pointcloudrender/index.js +134 -15
  52. package/radarscananalysis/index.js +35 -3
  53. package/resetview/index.js +14 -6
  54. package/roller/index.js +55 -18
  55. package/scaneffect/index.js +98 -29
  56. package/sceneadvancedtoimage/index.js +32 -6
  57. package/sceneapp/index.js +32440 -2337
  58. package/sceneset/index.js +141 -71
  59. package/scenetohdimage/index.js +23 -3
  60. package/sceneview/index.js +32440 -2337
  61. package/sceneview/style/sceneview.css +1 -1
  62. package/screenshot/index.js +44 -11
  63. package/shadowanalysis/index.js +79 -19
  64. package/sightlineanalysis/index.js +66 -15
  65. package/skylineanalysis/index.js +20 -4
  66. package/slopeanalysis/index.js +75 -16
  67. package/slopeaspectanalysis/index.js +128 -26
  68. package/statusbar/index.js +80 -67
  69. package/style.css +1 -1
  70. package/terrainoperation/index.js +39 -7
  71. package/terrainprofileanalysis/index.js +43 -5
  72. package/toolbarapp/index.js +32440 -2337
  73. package/toolboxapp/index.js +32440 -2337
  74. package/typhoontrac/index.js +134 -16
  75. package/underground/index.js +8 -2
  76. package/videofusion/index.js +164 -79
  77. package/videoproject/index.js +77 -23
  78. package/viewshedanalysis/index.js +61 -14
  79. package/weathereffect/index.js +73 -18
  80. package/webgl.es.js +866 -16
  81. package/windyslicing/index.js +258 -54
  82. package/wireframesketch/index.js +25 -8
@@ -66,6 +66,10 @@ var _message = _interopRequireDefault(__webpack_require__(71323));
66
66
 
67
67
  class WireframeSketchViewModel {
68
68
  // 草图模式显示
69
+ /**
70
+ * @description 构造函数,初始化线框模式管理对象
71
+ * @param {Object} scenceView 场景视图对象,包含 _viewer 属性
72
+ */
69
73
  constructor(scenceView) {
70
74
  this._viewer = null;
71
75
  // 三维viewer对象
@@ -77,9 +81,15 @@ class WireframeSketchViewModel {
77
81
  viewer: this._viewer
78
82
  }); //声明线框模式类
79
83
  }
84
+
85
+ /**
86
+ * @description 根据渲染模式切换线框/草图/纹理显示
87
+ * @param {String} key 渲染模式标识:1-线框渲染,2-草图渲染,3-纹理渲染
88
+ */
80
89
  changeFrameRender(key) {
81
90
  switch (key) {
82
91
  case "1":
92
+ // 线框渲染模式:设置线框类型并移除已有的草图效果
83
93
  this._wireFrame.type = 1;
84
94
  if (this._sketch) {
85
95
  this._viewer.effects.remove(this._sketch);
@@ -87,6 +97,7 @@ class WireframeSketchViewModel {
87
97
  }
88
98
  break;
89
99
  case "2":
100
+ // 草图渲染模式:关闭线框并创建草图效果
90
101
  this._wireFrame.type = 0;
91
102
  if (!this._sketch) {
92
103
  this._sketch = new window.Cesium.Kq3dSketch({
@@ -96,6 +107,7 @@ class WireframeSketchViewModel {
96
107
  }
97
108
  break;
98
109
  case "3":
110
+ // 纹理渲染模式:关闭线框并移除已有的草图效果
99
111
  this._wireFrame.type = 0;
100
112
  if (this._sketch) {
101
113
  this._viewer.effects.remove(this._sketch); // 移除草图模式
@@ -243,9 +255,9 @@ var _default = exports.A = /*@__PURE__*/Object.assign(__default__, {
243
255
  lang,
244
256
  locale
245
257
  } = (0, _useGlobalConfig.useLocale)();
246
- let viewModel = null;
247
- let ref_box = (0, _vue.ref)();
248
- let checkbox_data = (0, _vue.ref)(["2"]);
258
+ let viewModel = null; // 视图模型对象
259
+ let ref_box = (0, _vue.ref)(); // 内容容器Ref
260
+ let checkbox_data = (0, _vue.ref)(["2"]); // 当前选中的渲染模式复选框值
249
261
 
250
262
  // 获取组件传参
251
263
  const props = __props;
@@ -253,8 +265,9 @@ var _default = exports.A = /*@__PURE__*/Object.assign(__default__, {
253
265
  let boxRef = (0, _vue.ref)(null);
254
266
 
255
267
  // 生成组件默认header
256
- let headerTemp = (0, _vue.ref)();
257
- let headerTempRef = (0, _vue.ref)();
268
+ let headerTemp = (0, _vue.ref)(); // 动态生成的Header组件
269
+ let headerTempRef = (0, _vue.ref)(); // Header组件Ref
270
+
258
271
  (0, _vue.onMounted)(() => {
259
272
  (0, _util.updatePosition)(boxRef.value, props);
260
273
  (0, _vue.watch)(() => props.position, (newVal, oldVal) => {
@@ -284,6 +297,10 @@ var _default = exports.A = /*@__PURE__*/Object.assign(__default__, {
284
297
  headerTemp.value = (0, _util.createHeaderTemp)(boxRef.value, (0, _vue.toRefs)(props), headerTempRef, 'webgl.wireFrameSketch');
285
298
  }
286
299
  };
300
+ /**
301
+ * @description 切换渲染模式
302
+ * @param {String} val 渲染模式标识:1-线框渲染,2-草图渲染,3-纹理渲染
303
+ */
287
304
  function onChangeFrameRender(val) {
288
305
  checkbox_data.value = [];
289
306
  checkbox_data.value.push(val);
@@ -410,11 +427,11 @@ Object.defineProperty(exports, "__esModule", ({
410
427
  value: true
411
428
  }));
412
429
  exports.kq_npm_client_leaflet_vue = exports.kq_npm_client_common_vue = exports.kq_npm_client3d_webgl_vue = void 0;
413
- let kq_npm_client_common_vue = exports.kq_npm_client_common_vue = window.kq_npm_client_common_vue = window.kq_npm_client_common_vue || {};
430
+ const kq_npm_client_common_vue = exports.kq_npm_client_common_vue = window.kq_npm_client_common_vue = window.kq_npm_client_common_vue || {};
414
431
  __webpack_require__.g.kq_npm_client_common_vue = kq_npm_client_common_vue;
415
- let kq_npm_client_leaflet_vue = exports.kq_npm_client_leaflet_vue = window.kq_npm_client_leaflet_vue = window.kq_npm_client_leaflet_vue || {};
432
+ const kq_npm_client_leaflet_vue = exports.kq_npm_client_leaflet_vue = window.kq_npm_client_leaflet_vue = window.kq_npm_client_leaflet_vue || {};
416
433
  __webpack_require__.g.kq_npm_client_leaflet_vue = kq_npm_client_leaflet_vue;
417
- let kq_npm_client3d_webgl_vue = exports.kq_npm_client3d_webgl_vue = window.kq_npm_client3d_webgl_vue = window.kq_npm_client3d_webgl_vue || {};
434
+ const kq_npm_client3d_webgl_vue = exports.kq_npm_client3d_webgl_vue = window.kq_npm_client3d_webgl_vue = window.kq_npm_client3d_webgl_vue || {};
418
435
  __webpack_require__.g.kq_npm_client3d_webgl_vue = kq_npm_client3d_webgl_vue;
419
436
 
420
437
  /***/ })