@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
@@ -20,23 +20,19 @@ return /******/ (function() { // webpackBootstrap
20
20
  /* harmony export */ });
21
21
  /* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
22
22
 
23
-
24
23
  /*
25
24
  * Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
26
25
  * All rights reserved.
27
26
  */
28
27
  class UndergroundViewModel {
29
- // 三维viewer对象
30
28
  // 地下模式三维管理对象
31
29
  constructor(viewer) {
32
30
  (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
33
-
31
+ // 三维viewer对象
34
32
  (0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_undergroundManager", null);
35
-
36
33
  this._viewer = viewer;
37
34
  this._undergroundManager = new Cesium.Kq3dUndergroundManager(this._viewer.scene);
38
35
  }
39
-
40
36
  open() {
41
37
  // this._viewer.scene.skyAtmosphere.show = false;
42
38
  // 关闭碰撞检测
@@ -47,13 +43,10 @@ class UndergroundViewModel {
47
43
  // 开启地下模式
48
44
  this._undergroundManager.undergroundEnabled = true; // true;
49
45
  // 开启地形透明
50
-
51
46
  this._undergroundManager.transparentEnabled = true; // true;
52
47
  // 设置地形透明度,透明度在0-1之间
53
-
54
48
  this._undergroundManager.transparent = 0.5;
55
49
  }
56
-
57
50
  close() {
58
51
  // this._viewer.scene.skyAtmosphere.show = true;
59
52
  // 开启碰撞检测
@@ -63,17 +56,13 @@ class UndergroundViewModel {
63
56
  // 关闭地下模式
64
57
  this._undergroundManager.undergroundEnabled = false; // false;
65
58
  // 关闭地形透明
66
-
67
59
  this._undergroundManager.transparentEnabled = false; // false;
68
60
  // 设置地形透明度,透明度在0-1之间
69
-
70
61
  this._undergroundManager.transparent = 0;
71
62
  }
72
-
73
63
  destroy() {
74
64
  this.close();
75
65
  }
76
-
77
66
  }
78
67
 
79
68
  /***/ }),
@@ -130,7 +119,6 @@ function _defineProperty(obj, key, value) {
130
119
  } else {
131
120
  obj[key] = value;
132
121
  }
133
-
134
122
  return obj;
135
123
  }
136
124
 
@@ -247,7 +235,6 @@ const __default__ = {
247
235
  position: [String, Object]
248
236
  },
249
237
  emits: ["undergroundChange"],
250
-
251
238
  setup(__props, {
252
239
  expose: __expose,
253
240
  emit
@@ -255,15 +242,19 @@ const __default__ = {
255
242
  const props = __props;
256
243
  const {
257
244
  proxy
258
- } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)(); //获取组件传参
259
- //语言
245
+ } = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
260
246
 
247
+ //获取组件传参
248
+
249
+ //语言
261
250
  let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
262
251
  let isUndergroundMode = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
263
- let viewModel = null; // 组件容器Ref
252
+ let viewModel = null;
264
253
 
265
- let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 国际化
254
+ // 组件容器Ref
255
+ let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
266
256
 
257
+ // 国际化
267
258
  let {
268
259
  locale,
269
260
  messages
@@ -281,32 +272,26 @@ const __default__ = {
281
272
  viewModel = new UndergroundViewModel/* default */.Z(scenceView._viewer);
282
273
  }
283
274
  });
284
- }); // 地下模式点击事件
285
-
275
+ });
276
+ // 地下模式点击事件
286
277
  function undergroundChange() {
287
278
  if (isUndergroundMode.value) {
288
279
  viewModel.open();
289
280
  } else {
290
281
  viewModel.close();
291
282
  }
292
-
293
283
  emit("undergroundChange", isUndergroundMode.value);
294
- } // 销毁
295
-
296
-
284
+ }
285
+ // 销毁
297
286
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
298
287
  viewModel && viewModel.destroy();
299
288
  });
300
-
301
289
  __expose({
302
290
  undergroundChange
303
291
  });
304
-
305
292
  return (_ctx, _cache) => {
306
293
  const _component_kq_switch = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-switch");
307
-
308
294
  const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
309
-
310
295
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
311
296
  class: "kq3d-underground",
312
297
  ref_key: "boxRef",
@@ -324,18 +309,11 @@ const __default__ = {
324
309
  style: {
325
310
  "margin-right": "'5px'"
326
311
  }
327
- }, null, 8
328
- /* PROPS */
329
- , ["modelValue", "active-text"])])]),
330
- _: 1
331
- /* STABLE */
332
-
333
- })], 512
334
- /* NEED_PATCH */
335
- );
312
+ }, null, 8 /* PROPS */, ["modelValue", "active-text"])])]),
313
+ _: 1 /* STABLE */
314
+ })], 512 /* NEED_PATCH */);
336
315
  };
337
316
  }
338
-
339
317
  }));
340
318
  ;// CONCATENATED MODULE: ./src/webgl/underground/Underground.vue?vue&type=script&setup=true&lang=js
341
319
 
@@ -357,13 +335,11 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
357
335
 
358
336
 
359
337
 
360
-
361
338
  Underground.install = (Vue, opts) => {
362
339
  init_js_default()(Vue, opts);
363
340
  Vue.component(Underground.name, Underground);
364
341
  };
365
342
 
366
-
367
343
  }();
368
344
  /******/ return __webpack_exports__;
369
345
  /******/ })()