@kq_npm/client3d_webgl_vue 4.5.10 → 4.5.12-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adddata/index.js +61 -56
- package/aspectanalysis/index.js +35 -32
- package/baseterraingallery/index.js +32 -29
- package/boxclip/index.js +44 -41
- package/clientPrint/index.js +2305 -8834
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +29 -26
- package/compass/index.js +26 -23
- package/excavatefillanalysis/index.js +42 -39
- package/excavatefillanalysis/style/excavatefillanalysis.css +1 -1
- package/fixedzoomin/index.js +26 -23
- package/fixedzoomout/index.js +26 -23
- package/flight/index.js +45 -42
- package/floodanalysis/index.js +48 -45
- package/geologicalbodyanalysis/index.js +42 -39
- package/gpuspatialquery/index.js +43 -40
- package/hawkeye/index.js +22 -19
- package/headertemp/index.js +13 -10
- package/heatmap3d/index.js +83 -80
- package/index.js +1386 -7992
- package/isolineanalysis/index.js +53 -50
- package/light/index.js +38 -35
- package/limitheightanalysis/index.js +93 -42
- package/measure/index.js +43 -40
- package/modelFlat/index.js +48 -45
- package/modelexcavate/index.js +53 -50
- package/modelfilter/index.js +41 -38
- package/modelprofileanalysis/index.js +117 -68
- package/modelselect/index.js +45 -42
- package/package.json +1 -1
- package/particleeffect/index.js +40 -37
- package/planeclip/index.js +44 -41
- package/resetview/index.js +26 -23
- package/roller/index.js +39 -36
- package/scaneffect/index.js +42 -39
- package/sceneadvancedtoimage/index.js +45 -42
- package/sceneapp/index.js +98 -7611
- package/sceneset/index.js +51 -48
- package/scenetohdimage/index.js +32 -29
- package/sceneview/index.js +2306 -8835
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +33 -30
- package/shadowanalysis/index.js +39 -36
- package/shadowanalysis/style/shadowanalysis.css +1 -1
- package/sightlineanalysis/index.js +59 -56
- package/skylineanalysis/index.js +49 -45
- package/slopeanalysis/index.js +45 -42
- package/slopeaspectanalysis/index.js +46 -43
- package/statusbar/index.js +36 -33
- package/style.css +1 -1
- package/terrainoperation/index.js +48 -45
- package/terrainprofileanalysis/index.js +46 -43
- package/underground/index.js +28 -25
- package/videofusion/index.js +45 -42
- package/videoproject/index.js +45 -42
- package/viewshedanalysis/index.js +35 -32
- package/weathereffect/index.js +34 -31
- package/wireframesketch/index.js +34 -31
package/modelfilter/index.js
CHANGED
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util"), require("@kq_npm/client_common_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"], root["@kq_npm/client_common_vue"]);
|
|
8
8
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
9
|
}
|
|
10
|
-
})(this, function(
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__7997__, __WEBPACK_EXTERNAL_MODULE__3458__, __WEBPACK_EXTERNAL_MODULE__7064__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 1349:
|
|
16
16
|
/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
|
|
17
17
|
|
|
18
|
-
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
18
|
+
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9389);
|
|
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
|
-
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
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
22
|
/*
|
|
23
23
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
@@ -33,90 +33,90 @@ element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install =
|
|
|
33
33
|
|
|
34
34
|
/***/ }),
|
|
35
35
|
|
|
36
|
-
/***/
|
|
36
|
+
/***/ 348:
|
|
37
37
|
/***/ (function(module) {
|
|
38
38
|
|
|
39
39
|
module.exports = require("@kq_npm/client_icons_vue");
|
|
40
40
|
|
|
41
41
|
/***/ }),
|
|
42
42
|
|
|
43
|
-
/***/
|
|
43
|
+
/***/ 2118:
|
|
44
44
|
/***/ (function(module) {
|
|
45
45
|
|
|
46
46
|
module.exports = require("core-js/modules/es.array.push.js");
|
|
47
47
|
|
|
48
48
|
/***/ }),
|
|
49
49
|
|
|
50
|
-
/***/
|
|
50
|
+
/***/ 8470:
|
|
51
51
|
/***/ (function(module) {
|
|
52
52
|
|
|
53
53
|
module.exports = require("core-js/modules/esnext.iterator.constructor.js");
|
|
54
54
|
|
|
55
55
|
/***/ }),
|
|
56
56
|
|
|
57
|
-
/***/
|
|
57
|
+
/***/ 8697:
|
|
58
58
|
/***/ (function(module) {
|
|
59
59
|
|
|
60
60
|
module.exports = require("core-js/modules/esnext.iterator.find.js");
|
|
61
61
|
|
|
62
62
|
/***/ }),
|
|
63
63
|
|
|
64
|
-
/***/
|
|
64
|
+
/***/ 9389:
|
|
65
65
|
/***/ (function(module) {
|
|
66
66
|
|
|
67
67
|
module.exports = require("element-plus/dist/index.full.js");
|
|
68
68
|
|
|
69
69
|
/***/ }),
|
|
70
70
|
|
|
71
|
-
/***/
|
|
71
|
+
/***/ 7080:
|
|
72
72
|
/***/ (function(module) {
|
|
73
73
|
|
|
74
74
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
75
75
|
|
|
76
76
|
/***/ }),
|
|
77
77
|
|
|
78
|
-
/***/
|
|
78
|
+
/***/ 7064:
|
|
79
79
|
/***/ (function(module) {
|
|
80
80
|
|
|
81
|
-
module.exports =
|
|
81
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7064__;
|
|
82
82
|
|
|
83
83
|
/***/ }),
|
|
84
84
|
|
|
85
|
-
/***/
|
|
85
|
+
/***/ 7135:
|
|
86
86
|
/***/ (function(module) {
|
|
87
87
|
|
|
88
|
-
module.exports =
|
|
88
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
|
|
89
89
|
|
|
90
90
|
/***/ }),
|
|
91
91
|
|
|
92
|
-
/***/
|
|
92
|
+
/***/ 3458:
|
|
93
93
|
/***/ (function(module) {
|
|
94
94
|
|
|
95
|
-
module.exports =
|
|
95
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__3458__;
|
|
96
96
|
|
|
97
97
|
/***/ }),
|
|
98
98
|
|
|
99
|
-
/***/
|
|
99
|
+
/***/ 7997:
|
|
100
100
|
/***/ (function(module) {
|
|
101
101
|
|
|
102
|
-
module.exports =
|
|
102
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
|
|
103
103
|
|
|
104
104
|
/***/ }),
|
|
105
105
|
|
|
106
|
-
/***/
|
|
106
|
+
/***/ 1895:
|
|
107
107
|
/***/ (function(module) {
|
|
108
108
|
|
|
109
|
-
module.exports =
|
|
109
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
110
110
|
|
|
111
111
|
/***/ }),
|
|
112
112
|
|
|
113
|
-
/***/
|
|
113
|
+
/***/ 5301:
|
|
114
114
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
115
115
|
|
|
116
116
|
|
|
117
117
|
// EXPORTS
|
|
118
118
|
__webpack_require__.d(__webpack_exports__, {
|
|
119
|
-
|
|
119
|
+
"Z": function() { return /* binding */ _defineProperty; }
|
|
120
120
|
});
|
|
121
121
|
|
|
122
122
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
@@ -234,29 +234,31 @@ function _defineProperty(e, r, t) {
|
|
|
234
234
|
/******/
|
|
235
235
|
/************************************************************************/
|
|
236
236
|
var __webpack_exports__ = {};
|
|
237
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
238
|
+
!function() {
|
|
237
239
|
// ESM COMPAT FLAG
|
|
238
240
|
__webpack_require__.r(__webpack_exports__);
|
|
239
241
|
|
|
240
242
|
// EXPORTS
|
|
241
243
|
__webpack_require__.d(__webpack_exports__, {
|
|
242
|
-
ModelFilterViewModel: function() { return /* reexport */ ModelFilterViewModel; },
|
|
244
|
+
"ModelFilterViewModel": function() { return /* reexport */ ModelFilterViewModel; },
|
|
243
245
|
"default": function() { return /* reexport */ ModelFilter; }
|
|
244
246
|
});
|
|
245
247
|
|
|
246
248
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
247
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
249
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
|
|
248
250
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
249
|
-
var gis_utils_ = __webpack_require__(
|
|
251
|
+
var gis_utils_ = __webpack_require__(7135);
|
|
250
252
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
251
|
-
var defineProperty = __webpack_require__(
|
|
253
|
+
var defineProperty = __webpack_require__(5301);
|
|
252
254
|
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
253
|
-
var es_array_push_js_ = __webpack_require__(
|
|
255
|
+
var es_array_push_js_ = __webpack_require__(2118);
|
|
254
256
|
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
255
|
-
var esnext_iterator_constructor_js_ = __webpack_require__(
|
|
257
|
+
var esnext_iterator_constructor_js_ = __webpack_require__(8470);
|
|
256
258
|
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.find.js"
|
|
257
|
-
var esnext_iterator_find_js_ = __webpack_require__(
|
|
259
|
+
var esnext_iterator_find_js_ = __webpack_require__(8697);
|
|
258
260
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
259
|
-
var message = __webpack_require__(
|
|
261
|
+
var message = __webpack_require__(1349);
|
|
260
262
|
;// CONCATENATED MODULE: ./src/webgl/modelfilter/ModelFilterViewModel.js
|
|
261
263
|
|
|
262
264
|
|
|
@@ -270,11 +272,11 @@ var message = __webpack_require__(3275);
|
|
|
270
272
|
|
|
271
273
|
class ModelFilterViewModel {
|
|
272
274
|
constructor(scenceView, options) {
|
|
273
|
-
(0,defineProperty/* default */.
|
|
275
|
+
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
274
276
|
//三维viewer对象
|
|
275
|
-
(0,defineProperty/* default */.
|
|
277
|
+
(0,defineProperty/* default */.Z)(this, "_options", {});
|
|
276
278
|
//Box裁剪存储参数对象
|
|
277
|
-
(0,defineProperty/* default */.
|
|
279
|
+
(0,defineProperty/* default */.Z)(this, "_defaultOptions", {
|
|
278
280
|
//默认参数对象
|
|
279
281
|
brightness: 1,
|
|
280
282
|
contrast: 1,
|
|
@@ -357,13 +359,13 @@ class ModelFilterViewModel {
|
|
|
357
359
|
}
|
|
358
360
|
}
|
|
359
361
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
360
|
-
var client_icons_vue_ = __webpack_require__(
|
|
362
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
361
363
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
362
|
-
var util_ = __webpack_require__(
|
|
364
|
+
var util_ = __webpack_require__(3458);
|
|
363
365
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
364
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
366
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
365
367
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue"
|
|
366
|
-
var client_common_vue_ = __webpack_require__(
|
|
368
|
+
var client_common_vue_ = __webpack_require__(7064);
|
|
367
369
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/modelfilter/ModelFilter.vue?vue&type=script&setup=true&lang=js
|
|
368
370
|
|
|
369
371
|
const _hoisted_1 = {
|
|
@@ -827,7 +829,7 @@ const __exports__ = ModelFiltervue_type_script_setup_true_lang_js;
|
|
|
827
829
|
|
|
828
830
|
/* harmony default export */ var ModelFilter = (__exports__);
|
|
829
831
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
830
|
-
var init_js_ = __webpack_require__(
|
|
832
|
+
var init_js_ = __webpack_require__(7997);
|
|
831
833
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
832
834
|
;// CONCATENATED MODULE: ./src/webgl/modelfilter/index.js
|
|
833
835
|
/*
|
|
@@ -842,6 +844,7 @@ ModelFilter.install = (Vue, opts) => {
|
|
|
842
844
|
Vue.component(ModelFilter.name, ModelFilter);
|
|
843
845
|
};
|
|
844
846
|
|
|
847
|
+
}();
|
|
845
848
|
/******/ return __webpack_exports__;
|
|
846
849
|
/******/ })()
|
|
847
850
|
;
|
|
@@ -1,87 +1,115 @@
|
|
|
1
1
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
-
module.exports = factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/
|
|
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/
|
|
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
6
|
else {
|
|
7
|
-
var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/
|
|
7
|
+
var a = typeof exports === 'object' ? factory(require("vue"), require("@kq_npm/client_common_vue/_utils/gis-utils"), require("@kq_npm/client_common_vue/init.js"), require("@kq_npm/client_common_vue/_utils/util")) : factory(root["Vue"], root["@kq_npm/client_common_vue/_utils/gis-utils"], root["@kq_npm/client_common_vue/init.js"], root["@kq_npm/client_common_vue/_utils/util"]);
|
|
8
8
|
for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
|
|
9
9
|
}
|
|
10
|
-
})(this, function(
|
|
10
|
+
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__7997__, __WEBPACK_EXTERNAL_MODULE__3458__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 1349:
|
|
16
|
+
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
17
|
+
|
|
18
|
+
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9389);
|
|
19
|
+
/* harmony import */ var element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
20
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7997);
|
|
21
|
+
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
|
|
22
|
+
/*
|
|
23
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
24
|
+
* All rights reserved.
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
29
|
+
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
30
|
+
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
31
|
+
};
|
|
32
|
+
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
33
|
+
|
|
34
|
+
/***/ }),
|
|
35
|
+
|
|
36
|
+
/***/ 348:
|
|
16
37
|
/***/ (function(module) {
|
|
17
38
|
|
|
18
39
|
module.exports = require("@kq_npm/client_icons_vue");
|
|
19
40
|
|
|
20
41
|
/***/ }),
|
|
21
42
|
|
|
22
|
-
/***/
|
|
43
|
+
/***/ 2118:
|
|
23
44
|
/***/ (function(module) {
|
|
24
45
|
|
|
25
46
|
module.exports = require("core-js/modules/es.array.push.js");
|
|
26
47
|
|
|
27
48
|
/***/ }),
|
|
28
49
|
|
|
29
|
-
/***/
|
|
50
|
+
/***/ 8470:
|
|
30
51
|
/***/ (function(module) {
|
|
31
52
|
|
|
32
53
|
module.exports = require("core-js/modules/esnext.iterator.constructor.js");
|
|
33
54
|
|
|
34
55
|
/***/ }),
|
|
35
56
|
|
|
36
|
-
/***/
|
|
57
|
+
/***/ 1058:
|
|
37
58
|
/***/ (function(module) {
|
|
38
59
|
|
|
39
60
|
module.exports = require("core-js/modules/esnext.iterator.for-each.js");
|
|
40
61
|
|
|
41
62
|
/***/ }),
|
|
42
63
|
|
|
43
|
-
/***/
|
|
64
|
+
/***/ 9389:
|
|
65
|
+
/***/ (function(module) {
|
|
66
|
+
|
|
67
|
+
module.exports = require("element-plus/dist/index.full.js");
|
|
68
|
+
|
|
69
|
+
/***/ }),
|
|
70
|
+
|
|
71
|
+
/***/ 7080:
|
|
44
72
|
/***/ (function(module) {
|
|
45
73
|
|
|
46
74
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
47
75
|
|
|
48
76
|
/***/ }),
|
|
49
77
|
|
|
50
|
-
/***/
|
|
78
|
+
/***/ 7135:
|
|
51
79
|
/***/ (function(module) {
|
|
52
80
|
|
|
53
|
-
module.exports =
|
|
81
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7135__;
|
|
54
82
|
|
|
55
83
|
/***/ }),
|
|
56
84
|
|
|
57
|
-
/***/
|
|
85
|
+
/***/ 3458:
|
|
58
86
|
/***/ (function(module) {
|
|
59
87
|
|
|
60
|
-
module.exports =
|
|
88
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__3458__;
|
|
61
89
|
|
|
62
90
|
/***/ }),
|
|
63
91
|
|
|
64
|
-
/***/
|
|
92
|
+
/***/ 7997:
|
|
65
93
|
/***/ (function(module) {
|
|
66
94
|
|
|
67
|
-
module.exports =
|
|
95
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__7997__;
|
|
68
96
|
|
|
69
97
|
/***/ }),
|
|
70
98
|
|
|
71
|
-
/***/
|
|
99
|
+
/***/ 1895:
|
|
72
100
|
/***/ (function(module) {
|
|
73
101
|
|
|
74
|
-
module.exports =
|
|
102
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
75
103
|
|
|
76
104
|
/***/ }),
|
|
77
105
|
|
|
78
|
-
/***/
|
|
106
|
+
/***/ 5301:
|
|
79
107
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
80
108
|
|
|
81
109
|
|
|
82
110
|
// EXPORTS
|
|
83
111
|
__webpack_require__.d(__webpack_exports__, {
|
|
84
|
-
|
|
112
|
+
"Z": function() { return /* binding */ _defineProperty; }
|
|
85
113
|
});
|
|
86
114
|
|
|
87
115
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
@@ -199,52 +227,57 @@ function _defineProperty(e, r, t) {
|
|
|
199
227
|
/******/
|
|
200
228
|
/************************************************************************/
|
|
201
229
|
var __webpack_exports__ = {};
|
|
230
|
+
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
231
|
+
!function() {
|
|
202
232
|
// ESM COMPAT FLAG
|
|
203
233
|
__webpack_require__.r(__webpack_exports__);
|
|
204
234
|
|
|
205
235
|
// EXPORTS
|
|
206
236
|
__webpack_require__.d(__webpack_exports__, {
|
|
207
|
-
ModelProfileAnalysisViewModel: function() { return /* reexport */ ModelProfileAnalysisViewModel; },
|
|
237
|
+
"ModelProfileAnalysisViewModel": function() { return /* reexport */ ModelProfileAnalysisViewModel; },
|
|
208
238
|
"default": function() { return /* reexport */ ModelProfileAnalysis; }
|
|
209
239
|
});
|
|
210
240
|
|
|
211
241
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
212
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
242
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
|
|
213
243
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
214
|
-
var gis_utils_ = __webpack_require__(
|
|
244
|
+
var gis_utils_ = __webpack_require__(7135);
|
|
215
245
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
216
|
-
var defineProperty = __webpack_require__(
|
|
246
|
+
var defineProperty = __webpack_require__(5301);
|
|
217
247
|
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
218
|
-
var es_array_push_js_ = __webpack_require__(
|
|
248
|
+
var es_array_push_js_ = __webpack_require__(2118);
|
|
219
249
|
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
220
|
-
var esnext_iterator_constructor_js_ = __webpack_require__(
|
|
250
|
+
var esnext_iterator_constructor_js_ = __webpack_require__(8470);
|
|
221
251
|
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
|
|
222
|
-
var esnext_iterator_for_each_js_ = __webpack_require__(
|
|
252
|
+
var esnext_iterator_for_each_js_ = __webpack_require__(1058);
|
|
253
|
+
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
254
|
+
var message = __webpack_require__(1349);
|
|
223
255
|
;// CONCATENATED MODULE: ./src/webgl/modelprofileanalysis/ModelProfileAnalysisViewModel.js
|
|
224
256
|
|
|
225
257
|
|
|
226
258
|
|
|
227
259
|
|
|
228
|
-
/*
|
|
229
|
-
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
230
|
-
* All rights reserved.
|
|
260
|
+
/*
|
|
261
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
262
|
+
* All rights reserved.
|
|
231
263
|
*/
|
|
232
264
|
//分析逻辑类
|
|
233
265
|
let floatingPoint;
|
|
234
266
|
let drawPoints = [];
|
|
235
267
|
let activeShapePoints = [];
|
|
236
268
|
let activeCartographicPoints = [];
|
|
269
|
+
|
|
237
270
|
class ModelProfileAnalysisViewModel {
|
|
238
271
|
constructor(scenceView, viewModel, chart) {
|
|
239
|
-
(0,defineProperty/* default */.
|
|
272
|
+
(0,defineProperty/* default */.Z)(this, "_profileAnalysis", null);
|
|
240
273
|
//剖面分析三维对象
|
|
241
|
-
(0,defineProperty/* default */.
|
|
274
|
+
(0,defineProperty/* default */.Z)(this, "_ProfileAnalysisChart", null);
|
|
242
275
|
//显示结果的DOM元素
|
|
243
|
-
(0,defineProperty/* default */.
|
|
276
|
+
(0,defineProperty/* default */.Z)(this, "_ProfileAnalysisChartVis", null);
|
|
244
277
|
//显示结果的DOM元素显隐
|
|
245
|
-
(0,defineProperty/* default */.
|
|
278
|
+
(0,defineProperty/* default */.Z)(this, "_language", null);
|
|
246
279
|
//全局参数对象
|
|
247
|
-
(0,defineProperty/* default */.
|
|
280
|
+
(0,defineProperty/* default */.Z)(this, "_globaOptions", {
|
|
248
281
|
width: 360,
|
|
249
282
|
height: 360
|
|
250
283
|
});
|
|
@@ -286,37 +319,52 @@ class ModelProfileAnalysisViewModel {
|
|
|
286
319
|
}
|
|
287
320
|
//开始分析
|
|
288
321
|
start() {
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
if (window.Cesium.defined(earthPosition)) {
|
|
296
|
-
//绘制点
|
|
297
|
-
floatingPoint = that.createPoint(earthPosition);
|
|
298
|
-
drawPoints.push(floatingPoint);
|
|
299
|
-
activeShapePoints.push(earthPosition);
|
|
300
|
-
let earthPositionCarto = window.Cesium.Cartographic.fromCartesian(earthPosition);
|
|
301
|
-
activeCartographicPoints.push(earthPositionCarto);
|
|
302
|
-
|
|
303
|
-
//单线分析结果显示
|
|
304
|
-
if (activeShapePoints.length == 2) {
|
|
305
|
-
var newPositions = [];
|
|
306
|
-
activeShapePoints.forEach(position => {
|
|
307
|
-
var newPosition = window.Cesium.Cartographic.fromCartesian(position);
|
|
308
|
-
newPositions.push(newPosition);
|
|
309
|
-
});
|
|
310
|
-
that._profileAnalysis.elevation = newPositions;
|
|
311
|
-
that.updatePorfileAnalysis();
|
|
312
|
-
drawPoints.forEach(function (point) {
|
|
313
|
-
that._globaOptions.viewer.entities.remove(point);
|
|
314
|
-
});
|
|
315
|
-
drawPoints = [];
|
|
316
|
-
activeShapePoints = [];
|
|
317
|
-
}
|
|
322
|
+
// 判断是否添加了模型
|
|
323
|
+
var flag = false;
|
|
324
|
+
var models = this._globaOptions.viewer.scene.primitives._primitives;
|
|
325
|
+
for (let i = 0; i < models.length; i++) {
|
|
326
|
+
if (models[i] instanceof Cesium.Cesium3DTileset && models[i]._url) {
|
|
327
|
+
flag = true;
|
|
318
328
|
}
|
|
319
|
-
}
|
|
329
|
+
}
|
|
330
|
+
if (flag) {
|
|
331
|
+
//清空绘制结果
|
|
332
|
+
this.remove();
|
|
333
|
+
let that = this;
|
|
334
|
+
this._globaOptions._handler.removeInputAction(window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
335
|
+
this._globaOptions._handler.setInputAction(function (event) {
|
|
336
|
+
var earthPosition = that._globaOptions.viewer.scene.pickPosition(event.position);
|
|
337
|
+
if (window.Cesium.defined(earthPosition)) {
|
|
338
|
+
//绘制点
|
|
339
|
+
floatingPoint = that.createPoint(earthPosition);
|
|
340
|
+
drawPoints.push(floatingPoint);
|
|
341
|
+
activeShapePoints.push(earthPosition);
|
|
342
|
+
let earthPositionCarto = window.Cesium.Cartographic.fromCartesian(earthPosition);
|
|
343
|
+
activeCartographicPoints.push(earthPositionCarto);
|
|
344
|
+
|
|
345
|
+
//单线分析结果显示
|
|
346
|
+
if (activeShapePoints.length == 2) {
|
|
347
|
+
var newPositions = [];
|
|
348
|
+
activeShapePoints.forEach(position => {
|
|
349
|
+
var newPosition = window.Cesium.Cartographic.fromCartesian(position);
|
|
350
|
+
newPositions.push(newPosition);
|
|
351
|
+
});
|
|
352
|
+
that._profileAnalysis.elevation = newPositions;
|
|
353
|
+
that.updatePorfileAnalysis();
|
|
354
|
+
drawPoints.forEach(function (point) {
|
|
355
|
+
that._globaOptions.viewer.entities.remove(point);
|
|
356
|
+
});
|
|
357
|
+
drawPoints = [];
|
|
358
|
+
activeShapePoints = [];
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}, window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
362
|
+
} else {
|
|
363
|
+
(0,message/* default */.Z)({
|
|
364
|
+
message: this._language["addModelTips"],
|
|
365
|
+
type: "warning"
|
|
366
|
+
});
|
|
367
|
+
}
|
|
320
368
|
}
|
|
321
369
|
//绘制点
|
|
322
370
|
createPoint(worldPosition) {
|
|
@@ -447,11 +495,11 @@ class ModelProfileAnalysisViewModel {
|
|
|
447
495
|
}
|
|
448
496
|
}
|
|
449
497
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
450
|
-
var client_icons_vue_ = __webpack_require__(
|
|
498
|
+
var client_icons_vue_ = __webpack_require__(348);
|
|
451
499
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
452
|
-
var util_ = __webpack_require__(
|
|
500
|
+
var util_ = __webpack_require__(3458);
|
|
453
501
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
454
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
502
|
+
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
455
503
|
;// 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
|
|
456
504
|
|
|
457
505
|
const _hoisted_1 = {
|
|
@@ -890,7 +938,7 @@ const __exports__ = ModelProfileAnalysisvue_type_script_setup_true_lang_js;
|
|
|
890
938
|
|
|
891
939
|
/* harmony default export */ var ModelProfileAnalysis = (__exports__);
|
|
892
940
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
893
|
-
var init_js_ = __webpack_require__(
|
|
941
|
+
var init_js_ = __webpack_require__(7997);
|
|
894
942
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
895
943
|
;// CONCATENATED MODULE: ./src/webgl/modelprofileanalysis/index.js
|
|
896
944
|
/*
|
|
@@ -905,6 +953,7 @@ ModelProfileAnalysis.install = (Vue, opts) => {
|
|
|
905
953
|
Vue.component(ModelProfileAnalysis.name, ModelProfileAnalysis);
|
|
906
954
|
};
|
|
907
955
|
|
|
956
|
+
}();
|
|
908
957
|
/******/ return __webpack_exports__;
|
|
909
958
|
/******/ })()
|
|
910
959
|
;
|