@kq_npm/client3d_webgl_vue 4.5.3-beta → 4.5.4-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 +337 -524
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +159 -227
- package/baseterraingallery/index.js +122 -145
- package/boxclip/index.js +288 -470
- package/clientPrint/index.js +333 -897
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +224 -246
- package/compass/index.js +96 -84
- package/excavatefillanalysis/index.js +181 -252
- package/fixedzoomin/index.js +91 -76
- package/fixedzoomout/index.js +91 -76
- package/flight/index.js +297 -401
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +243 -382
- package/geologicalbodyanalysis/index.js +203 -287
- package/gpuspatialquery/index.js +240 -390
- package/hawkeye/index.js +139 -103
- package/headertemp/index.js +23 -33
- package/heatmap3d/index.js +426 -733
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +7913 -16839
- package/isolineanalysis/index.js +554 -1231
- package/light/index.js +351 -488
- package/limitheightanalysis/index.js +249 -312
- package/measure/index.js +339 -493
- package/modelFlat/index.js +202 -223
- package/modelexcavate/index.js +194 -251
- package/modelfilter/index.js +216 -299
- package/modelprofileanalysis/index.js +354 -465
- package/modelselect/index.js +180 -173
- package/package.json +1 -1
- package/particleeffect/index.js +257 -430
- package/planeclip/index.js +237 -328
- package/resetview/index.js +89 -69
- package/roller/index.js +305 -363
- package/scaneffect/index.js +273 -571
- package/sceneadvancedtoimage/index.js +1055 -0
- package/sceneadvancedtoimage/style/index.js +3 -0
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
- package/sceneapp/index.js +818 -2179
- package/sceneset/index.js +391 -885
- package/scenetohdimage/index.js +212 -346
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +9018 -17813
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +273 -312
- package/shadowanalysis/index.js +256 -436
- package/sightlineanalysis/index.js +229 -312
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +200 -339
- package/slopeanalysis/index.js +270 -433
- package/slopeaspectanalysis/index.js +303 -523
- package/statusbar/index.js +113 -84
- package/style.css +1 -1
- package/terrainoperation/index.js +218 -269
- package/terrainprofileanalysis/index.js +162 -171
- package/underground/index.js +96 -82
- package/videofusion/index.js +305 -519
- package/videoproject/index.js +311 -521
- package/viewshedanalysis/index.js +176 -275
- package/weathereffect/index.js +197 -343
- package/wireframesketch/index.js +133 -141
package/modelexcavate/index.js
CHANGED
|
@@ -7,100 +7,141 @@
|
|
|
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")) : 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__154__, __WEBPACK_EXTERNAL_MODULE__64__, __WEBPACK_EXTERNAL_MODULE__455__, __WEBPACK_EXTERNAL_MODULE__2975__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
13
13
|
/******/ var __webpack_modules__ = ({
|
|
14
14
|
|
|
15
|
-
/***/
|
|
15
|
+
/***/ 3275:
|
|
16
16
|
/***/ (function(__unused_webpack_module, __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__(6363);
|
|
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__(455);
|
|
21
21
|
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
|
|
22
|
-
|
|
22
|
+
/*
|
|
23
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
24
|
+
* All rights reserved.
|
|
25
|
+
*/
|
|
23
26
|
|
|
24
27
|
|
|
25
28
|
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
26
29
|
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
27
30
|
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
28
31
|
};
|
|
29
|
-
|
|
30
|
-
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
32
|
+
/* harmony default export */ __webpack_exports__.A = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
31
33
|
|
|
32
34
|
/***/ }),
|
|
33
35
|
|
|
34
|
-
/***/
|
|
36
|
+
/***/ 5698:
|
|
35
37
|
/***/ (function(module) {
|
|
36
38
|
|
|
37
39
|
module.exports = require("@kq_npm/client_icons_vue");
|
|
38
40
|
|
|
39
41
|
/***/ }),
|
|
40
42
|
|
|
41
|
-
/***/
|
|
43
|
+
/***/ 2652:
|
|
44
|
+
/***/ (function(module) {
|
|
45
|
+
|
|
46
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
47
|
+
|
|
48
|
+
/***/ }),
|
|
49
|
+
|
|
50
|
+
/***/ 6363:
|
|
42
51
|
/***/ (function(module) {
|
|
43
52
|
|
|
44
53
|
module.exports = require("element-plus/dist/index.full.js");
|
|
45
54
|
|
|
46
55
|
/***/ }),
|
|
47
56
|
|
|
48
|
-
/***/
|
|
57
|
+
/***/ 3579:
|
|
49
58
|
/***/ (function(module) {
|
|
50
59
|
|
|
51
60
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
52
61
|
|
|
53
62
|
/***/ }),
|
|
54
63
|
|
|
55
|
-
/***/
|
|
64
|
+
/***/ 64:
|
|
56
65
|
/***/ (function(module) {
|
|
57
66
|
|
|
58
|
-
module.exports =
|
|
67
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
|
|
59
68
|
|
|
60
69
|
/***/ }),
|
|
61
70
|
|
|
62
|
-
/***/
|
|
71
|
+
/***/ 2975:
|
|
63
72
|
/***/ (function(module) {
|
|
64
73
|
|
|
65
|
-
module.exports =
|
|
74
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
|
|
66
75
|
|
|
67
76
|
/***/ }),
|
|
68
77
|
|
|
69
|
-
/***/
|
|
78
|
+
/***/ 455:
|
|
70
79
|
/***/ (function(module) {
|
|
71
80
|
|
|
72
|
-
module.exports =
|
|
81
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
|
|
73
82
|
|
|
74
83
|
/***/ }),
|
|
75
84
|
|
|
76
|
-
/***/
|
|
85
|
+
/***/ 154:
|
|
77
86
|
/***/ (function(module) {
|
|
78
87
|
|
|
79
|
-
module.exports =
|
|
88
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
|
|
80
89
|
|
|
81
90
|
/***/ }),
|
|
82
91
|
|
|
83
|
-
/***/
|
|
92
|
+
/***/ 6913:
|
|
84
93
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
85
94
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
function
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
95
|
+
|
|
96
|
+
// EXPORTS
|
|
97
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
98
|
+
A: function() { return /* binding */ _defineProperty; }
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
102
|
+
function _typeof(o) {
|
|
103
|
+
"@babel/helpers - typeof";
|
|
104
|
+
|
|
105
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
106
|
+
return typeof o;
|
|
107
|
+
} : function (o) {
|
|
108
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
109
|
+
}, _typeof(o);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
113
|
+
|
|
114
|
+
function toPrimitive(t, r) {
|
|
115
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
116
|
+
var e = t[Symbol.toPrimitive];
|
|
117
|
+
if (void 0 !== e) {
|
|
118
|
+
var i = e.call(t, r || "default");
|
|
119
|
+
if ("object" != _typeof(i)) return i;
|
|
120
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
99
121
|
}
|
|
122
|
+
return ("string" === r ? String : Number)(t);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
function toPropertyKey(t) {
|
|
129
|
+
var i = toPrimitive(t, "string");
|
|
130
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
100
134
|
|
|
101
|
-
|
|
135
|
+
function _defineProperty(e, r, t) {
|
|
136
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
137
|
+
value: t,
|
|
138
|
+
enumerable: !0,
|
|
139
|
+
configurable: !0,
|
|
140
|
+
writable: !0
|
|
141
|
+
}) : e[r] = t, e;
|
|
102
142
|
}
|
|
103
143
|
|
|
144
|
+
|
|
104
145
|
/***/ })
|
|
105
146
|
|
|
106
147
|
/******/ });
|
|
@@ -172,95 +213,69 @@ function _defineProperty(obj, key, value) {
|
|
|
172
213
|
/******/
|
|
173
214
|
/************************************************************************/
|
|
174
215
|
var __webpack_exports__ = {};
|
|
175
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
176
|
-
!function() {
|
|
177
216
|
// ESM COMPAT FLAG
|
|
178
217
|
__webpack_require__.r(__webpack_exports__);
|
|
179
218
|
|
|
180
219
|
// EXPORTS
|
|
181
220
|
__webpack_require__.d(__webpack_exports__, {
|
|
182
|
-
|
|
221
|
+
ModelExcavateViewModel: function() { return /* reexport */ ModelExcavateViewModel; },
|
|
183
222
|
"default": function() { return /* reexport */ ModelExcavate; }
|
|
184
223
|
});
|
|
185
224
|
|
|
186
225
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
187
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
226
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
188
227
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
189
|
-
var gis_utils_ = __webpack_require__(
|
|
190
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
191
|
-
var defineProperty = __webpack_require__(
|
|
228
|
+
var gis_utils_ = __webpack_require__(64);
|
|
229
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
230
|
+
var defineProperty = __webpack_require__(6913);
|
|
231
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
232
|
+
var es_array_push_js_ = __webpack_require__(2652);
|
|
192
233
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
193
|
-
var message = __webpack_require__(
|
|
234
|
+
var message = __webpack_require__(3275);
|
|
194
235
|
;// CONCATENATED MODULE: ./src/webgl/modelexcavate/ModelExcavateViewModel.js
|
|
195
236
|
|
|
237
|
+
|
|
238
|
+
/*
|
|
239
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
240
|
+
* All rights reserved.
|
|
241
|
+
*/
|
|
196
242
|
//模型开挖逻辑类
|
|
197
243
|
|
|
198
244
|
class ModelExcavateViewModel {
|
|
199
|
-
//三维viewer对象
|
|
200
|
-
//Box裁剪存储参数对象
|
|
201
|
-
//绘制管理对象
|
|
202
|
-
//绘制完成监听事件
|
|
203
|
-
//Kq3dWallPrimitive
|
|
204
245
|
constructor(scenceView, options) {
|
|
205
|
-
(0,defineProperty/* default */.
|
|
206
|
-
|
|
207
|
-
(0,defineProperty/* default */.
|
|
208
|
-
|
|
209
|
-
(0,defineProperty/* default */.
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
(0,defineProperty/* default */.
|
|
220
|
-
|
|
221
|
-
(0,defineProperty/* default */.
|
|
222
|
-
|
|
223
|
-
(0,defineProperty/* default */.
|
|
224
|
-
|
|
225
|
-
(0,defineProperty/* default */.
|
|
226
|
-
|
|
227
|
-
(0,defineProperty/* default */.
|
|
228
|
-
|
|
229
|
-
(0,defineProperty/* default */.
|
|
230
|
-
|
|
231
|
-
(0,defineProperty/* default */.Z)(this, "scratchCartesian5", new window.Cesium.Cartesian3());
|
|
232
|
-
|
|
233
|
-
(0,defineProperty/* default */.Z)(this, "scratchCartesian6", new window.Cesium.Cartesian3());
|
|
234
|
-
|
|
235
|
-
(0,defineProperty/* default */.Z)(this, "scratchCartesian7", new window.Cesium.Cartesian3());
|
|
236
|
-
|
|
237
|
-
(0,defineProperty/* default */.Z)(this, "intervalId", null);
|
|
238
|
-
|
|
239
|
-
(0,defineProperty/* default */.Z)(this, "tileset1", null);
|
|
240
|
-
|
|
241
|
-
(0,defineProperty/* default */.Z)(this, "g_flattenedPolygonTexture", null);
|
|
242
|
-
|
|
246
|
+
(0,defineProperty/* default */.A)(this, "_viewer", null);
|
|
247
|
+
//三维viewer对象
|
|
248
|
+
(0,defineProperty/* default */.A)(this, "_options", {});
|
|
249
|
+
//Box裁剪存储参数对象
|
|
250
|
+
(0,defineProperty/* default */.A)(this, "_Kq3dTerrainExcavation", null);
|
|
251
|
+
(0,defineProperty/* default */.A)(this, "_removeEventListener", null);
|
|
252
|
+
//绘制完成监听事件
|
|
253
|
+
(0,defineProperty/* default */.A)(this, "_measureHandler", null);
|
|
254
|
+
//测量三维对象
|
|
255
|
+
(0,defineProperty/* default */.A)(this, "_measureResult", null);
|
|
256
|
+
//测量结果
|
|
257
|
+
(0,defineProperty/* default */.A)(this, "_wallPrimitive", void 0);
|
|
258
|
+
//Kq3dWallPrimitive
|
|
259
|
+
(0,defineProperty/* default */.A)(this, "entity0", null);
|
|
260
|
+
(0,defineProperty/* default */.A)(this, "wall", null);
|
|
261
|
+
(0,defineProperty/* default */.A)(this, "ratio", 0.01);
|
|
262
|
+
(0,defineProperty/* default */.A)(this, "ii", 1);
|
|
263
|
+
(0,defineProperty/* default */.A)(this, "scratchCartesian2", new window.Cesium.Cartesian3());
|
|
264
|
+
(0,defineProperty/* default */.A)(this, "scratchCartesian3", new window.Cesium.Cartesian3());
|
|
265
|
+
(0,defineProperty/* default */.A)(this, "scratchCartesian4", new window.Cesium.Cartesian3());
|
|
266
|
+
(0,defineProperty/* default */.A)(this, "scratchCartesian5", new window.Cesium.Cartesian3());
|
|
267
|
+
(0,defineProperty/* default */.A)(this, "scratchCartesian6", new window.Cesium.Cartesian3());
|
|
268
|
+
(0,defineProperty/* default */.A)(this, "scratchCartesian7", new window.Cesium.Cartesian3());
|
|
269
|
+
(0,defineProperty/* default */.A)(this, "intervalId", null);
|
|
270
|
+
(0,defineProperty/* default */.A)(this, "g_flattenedPolygonTexture", null);
|
|
243
271
|
this._viewer = scenceView._viewer;
|
|
244
272
|
this._options = options;
|
|
245
|
-
this._drawManager = scenceView._drawManager;
|
|
246
273
|
this._viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
247
274
|
|
|
248
275
|
let kq3dFlattenning = new window.Cesium.Kq3dFlattenning(this._viewer, {});
|
|
249
|
-
this.g_flattenedPolygonTexture = kq3dFlattenning.createFlattenedPolygonTexture();
|
|
250
|
-
// url: "http://support.kqgeo.com:18700/SampleData/3DTiles/Oblique/tileset.json"
|
|
251
|
-
// }));
|
|
252
|
-
// this.tileset1.readyPromise.then(function (tileset) {
|
|
253
|
-
// that._viewer.zoomTo(tileset);
|
|
254
|
-
// }).otherwise(function (error) {
|
|
255
|
-
// console.log(error);
|
|
256
|
-
// });
|
|
257
|
-
// this.tileset1.enableFlattenning = true;
|
|
258
|
-
// this.tileset1.flattenDiscard = true;
|
|
259
|
-
// this.g_flattenedPolygonTexture.attachTileset(this.tileset1);
|
|
260
|
-
|
|
276
|
+
this.g_flattenedPolygonTexture = kq3dFlattenning.createFlattenedPolygonTexture();
|
|
261
277
|
var that = this;
|
|
262
278
|
var models = this._viewer.scene.primitives._primitives;
|
|
263
|
-
|
|
264
279
|
for (let i = 0; i < models.length; i++) {
|
|
265
280
|
if (models[1] instanceof Cesium.Cesium3DTileset && models[i]._url) {
|
|
266
281
|
models[i].enableFlattenning = true;
|
|
@@ -270,26 +285,23 @@ class ModelExcavateViewModel {
|
|
|
270
285
|
});
|
|
271
286
|
}
|
|
272
287
|
}
|
|
273
|
-
|
|
274
|
-
this.
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
288
|
+
this._measureHandler = new Cesium.Kq3dMeasureHandler(this._viewer);
|
|
289
|
+
this._measureHandler.measureEvent.addEventListener(function (result) {
|
|
290
|
+
that._measureResult = result;
|
|
291
|
+
result.measureResult.label.show = false;
|
|
292
|
+
});
|
|
293
|
+
this._measureHandler.activeEvent.addEventListener(function (ret) {
|
|
294
|
+
if (ret == false) {
|
|
295
|
+
if (that._measureResult) {
|
|
296
|
+
that._options.positions = that._measureResult.positions;
|
|
279
297
|
that.createDynamicExcavationEffect();
|
|
280
|
-
|
|
281
|
-
(0,message/* default */.Z)({
|
|
282
|
-
message: "请至少绘制3个点!",
|
|
283
|
-
type: "warning"
|
|
284
|
-
});
|
|
298
|
+
that._measureResult.measureResult.destroy();
|
|
285
299
|
}
|
|
286
|
-
|
|
287
|
-
that._drawManager.clear();
|
|
288
300
|
}
|
|
289
301
|
});
|
|
290
|
-
}
|
|
291
|
-
|
|
302
|
+
}
|
|
292
303
|
|
|
304
|
+
// 创建开挖模型
|
|
293
305
|
createDynamicExcavationEffect() {
|
|
294
306
|
this._Kq3dTerrainExcavation && this._Kq3dTerrainExcavation.destroy();
|
|
295
307
|
this._Kq3dTerrainExcavation = new window.Cesium.Kq3dTerrainExcavation({
|
|
@@ -298,35 +310,30 @@ class ModelExcavateViewModel {
|
|
|
298
310
|
positions: this._options.positions,
|
|
299
311
|
hasWall: false
|
|
300
312
|
});
|
|
301
|
-
|
|
302
313
|
if (this._wallPrimitive) {
|
|
303
314
|
this._viewer.scene.primitives.remove(this._wallPrimitive);
|
|
304
|
-
|
|
305
315
|
this._wallPrimitive = undefined;
|
|
306
316
|
}
|
|
307
|
-
|
|
308
317
|
this._wallPrimitive = new window.Cesium.Kq3dWallPrimitive({
|
|
309
318
|
viewer: this._viewer,
|
|
310
319
|
height: this._options.height,
|
|
311
320
|
positions: this._options.positions,
|
|
312
321
|
elevationOnTerrain: false
|
|
313
322
|
});
|
|
314
|
-
|
|
315
323
|
this._viewer.scene.primitives.add(this._wallPrimitive);
|
|
316
|
-
|
|
317
324
|
let that = this;
|
|
318
|
-
|
|
319
325
|
this._wallPrimitive._readyEvent.addEventListener(function (eventType) {
|
|
320
326
|
if (eventType != "Ready") {
|
|
321
327
|
return;
|
|
322
328
|
}
|
|
323
|
-
|
|
324
329
|
that.g_flattenedPolygonTexture && that.g_flattenedPolygonTexture.removeAllFlattenedPolygon();
|
|
325
330
|
var myPolygon = window.Cesium.PolygonGeometry.fromPositions({
|
|
326
331
|
positions: that._options.positions,
|
|
327
332
|
height: window.Cesium.Cartographic.fromCartesian(that._options.positions[0]).height
|
|
328
333
|
});
|
|
329
|
-
that.g_flattenedPolygonTexture && that.g_flattenedPolygonTexture.addFlattenedPolygon(myPolygon);
|
|
334
|
+
that.g_flattenedPolygonTexture && that.g_flattenedPolygonTexture.addFlattenedPolygon(myPolygon);
|
|
335
|
+
|
|
336
|
+
// that.intervalId = setInterval(function () {
|
|
330
337
|
// if (that.ii > 100) {
|
|
331
338
|
// if (that.entity0) {
|
|
332
339
|
// that._viewer.scene.primitives.remove(that.entity0);
|
|
@@ -340,15 +347,20 @@ class ModelExcavateViewModel {
|
|
|
340
347
|
// that.ii = 0;
|
|
341
348
|
// return;
|
|
342
349
|
// }
|
|
350
|
+
|
|
343
351
|
// var carto2 = window.Cesium.Cartesian3.lerp(that._options.positions[0], that._options.positions[3], that.ratio * that.ii, that.scratchCartesian2);
|
|
344
352
|
// var carto3 = window.Cesium.Cartesian3.lerp(that._options.positions[1], that._options.positions[2], that.ratio * that.ii, that.scratchCartesian3);
|
|
353
|
+
|
|
345
354
|
// if (that.entity0) {
|
|
346
355
|
// that._viewer.scene.primitives.remove(that.entity0);
|
|
347
356
|
// that.entity0 = undefined;
|
|
348
357
|
// }
|
|
358
|
+
|
|
349
359
|
// that.entity0 = that.createPolyline([carto2, carto3]);
|
|
360
|
+
|
|
350
361
|
// that.ii++;
|
|
351
362
|
// that.g_flattenedPolygonTexture.removeAllFlattenedPolygon();
|
|
363
|
+
|
|
352
364
|
// var myPolygon = window.Cesium.PolygonGeometry.fromPositions({
|
|
353
365
|
// positions: [that._options.positions[0], that._options.positions[1], carto3, carto2],
|
|
354
366
|
// height: window.Cesium.Cartographic.fromCartesian(that._options.positions[0]).height
|
|
@@ -357,16 +369,12 @@ class ModelExcavateViewModel {
|
|
|
357
369
|
// }, 100);
|
|
358
370
|
});
|
|
359
371
|
}
|
|
360
|
-
|
|
361
372
|
createPolyline(positions) {
|
|
362
373
|
var material = window.Cesium.Material.fromType("Kq3dLightningMaterial", {});
|
|
363
|
-
|
|
364
374
|
if (this.wall) {
|
|
365
375
|
this._viewer.scene.primitives.remove(this.wall);
|
|
366
|
-
|
|
367
376
|
this.wall = undefined;
|
|
368
377
|
}
|
|
369
|
-
|
|
370
378
|
var geometryInstances = [];
|
|
371
379
|
geometryInstances.push(new window.Cesium.GeometryInstance({
|
|
372
380
|
geometry: new window.Cesium.WallGeometry({
|
|
@@ -382,9 +390,7 @@ class ModelExcavateViewModel {
|
|
|
382
390
|
material: material
|
|
383
391
|
})
|
|
384
392
|
});
|
|
385
|
-
|
|
386
393
|
this._viewer.scene.primitives.add(this.wall);
|
|
387
|
-
|
|
388
394
|
var geo = new window.Cesium.GroundPolylineGeometry({
|
|
389
395
|
positions: positions,
|
|
390
396
|
width: 40.0,
|
|
@@ -402,13 +408,11 @@ class ModelExcavateViewModel {
|
|
|
402
408
|
});
|
|
403
409
|
return this._viewer.scene.primitives.add(primitive);
|
|
404
410
|
}
|
|
405
|
-
|
|
406
411
|
start() {
|
|
407
412
|
// 判断是否添加了模型
|
|
408
413
|
var flag = false;
|
|
409
414
|
var that = this;
|
|
410
415
|
var models = this._viewer.scene.primitives._primitives;
|
|
411
|
-
|
|
412
416
|
for (let i = 0; i < models.length; i++) {
|
|
413
417
|
if (models[i] instanceof Cesium.Cesium3DTileset && models[i]._url) {
|
|
414
418
|
// models[i].enableFlattenning = true;
|
|
@@ -419,76 +423,62 @@ class ModelExcavateViewModel {
|
|
|
419
423
|
flag = true;
|
|
420
424
|
}
|
|
421
425
|
}
|
|
422
|
-
|
|
423
426
|
if (flag) {
|
|
424
427
|
this.remove();
|
|
425
|
-
|
|
426
|
-
this._drawManager.startDraw("polygon", {
|
|
427
|
-
clampToGround: true
|
|
428
|
-
});
|
|
428
|
+
this._measureHandler.startMeasure(Cesium.Kq3dMeasureMode.HorizontalArea);
|
|
429
429
|
} else {
|
|
430
|
-
(0,message/* default */.
|
|
430
|
+
(0,message/* default */.A)({
|
|
431
431
|
message: "请添加模型后绘制!",
|
|
432
432
|
type: "warning"
|
|
433
433
|
});
|
|
434
434
|
}
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
|
|
435
|
+
}
|
|
436
|
+
// 切换高度重新计算
|
|
438
437
|
setHeight(val) {
|
|
439
438
|
this._options.height = Number(val);
|
|
440
439
|
}
|
|
441
|
-
|
|
442
440
|
remove() {
|
|
443
441
|
// 销毁地形开挖
|
|
444
442
|
if (this.intervalId) {
|
|
445
443
|
clearInterval(this.intervalId);
|
|
446
444
|
this.ii = 0;
|
|
447
|
-
|
|
448
445
|
if (this.entity0) {
|
|
449
446
|
this._viewer.scene.primitives.remove(this.entity0);
|
|
450
|
-
|
|
451
447
|
this.entity0 = undefined;
|
|
452
448
|
}
|
|
453
|
-
|
|
454
449
|
if (this.wall) {
|
|
455
450
|
this._viewer.scene.primitives.remove(this.wall);
|
|
456
|
-
|
|
457
451
|
this.wall = undefined;
|
|
458
452
|
}
|
|
459
453
|
}
|
|
460
|
-
|
|
461
454
|
if (this._wallPrimitive) {
|
|
462
455
|
this._viewer.scene.primitives.remove(this._wallPrimitive);
|
|
463
|
-
|
|
464
456
|
this._wallPrimitive = undefined;
|
|
465
457
|
}
|
|
466
|
-
|
|
467
458
|
this._Kq3dTerrainExcavation && this._Kq3dTerrainExcavation.destroy();
|
|
468
459
|
this.g_flattenedPolygonTexture && this.g_flattenedPolygonTexture.removeAllFlattenedPolygon();
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
|
|
460
|
+
}
|
|
461
|
+
// 清除
|
|
472
462
|
clear() {
|
|
473
|
-
this.
|
|
474
|
-
|
|
463
|
+
this._measureResult = null;
|
|
464
|
+
this._measureHandler.clear();
|
|
475
465
|
this.remove();
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
|
|
466
|
+
}
|
|
467
|
+
//销毁
|
|
479
468
|
destroy() {
|
|
480
469
|
this.clear();
|
|
481
470
|
this.g_flattenedPolygonTexture && this.g_flattenedPolygonTexture.detachAllTileset();
|
|
482
471
|
this.g_flattenedPolygonTexture && this.g_flattenedPolygonTexture.destroy();
|
|
472
|
+
this._measureHandler && this._measureHandler.destroy();
|
|
473
|
+
this._measureHandler = null;
|
|
483
474
|
}
|
|
484
|
-
|
|
485
475
|
}
|
|
486
476
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
487
|
-
var client_icons_vue_ = __webpack_require__(
|
|
477
|
+
var client_icons_vue_ = __webpack_require__(5698);
|
|
488
478
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
489
|
-
var util_ = __webpack_require__(
|
|
479
|
+
var util_ = __webpack_require__(2975);
|
|
490
480
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
491
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
481
|
+
var vue_i18n_cjs_js_ = __webpack_require__(3579);
|
|
492
482
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/modelexcavate/ModelExcavate.vue?vue&type=script&setup=true&lang=js
|
|
493
483
|
|
|
494
484
|
const _hoisted_1 = {
|
|
@@ -506,12 +496,13 @@ const _hoisted_3 = {
|
|
|
506
496
|
|
|
507
497
|
|
|
508
498
|
|
|
509
|
-
|
|
499
|
+
|
|
500
|
+
//语言
|
|
510
501
|
|
|
511
502
|
const __default__ = {
|
|
512
503
|
name: "Kq3dModelExcavate"
|
|
513
504
|
};
|
|
514
|
-
/* harmony default export */ var ModelExcavatevue_type_script_setup_true_lang_js = (
|
|
505
|
+
/* harmony default export */ var ModelExcavatevue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
515
506
|
props: {
|
|
516
507
|
//指定组件绑定的viewer对象的div的id
|
|
517
508
|
mapTarget: String,
|
|
@@ -524,7 +515,6 @@ const __default__ = {
|
|
|
524
515
|
type: Boolean,
|
|
525
516
|
default: true
|
|
526
517
|
},
|
|
527
|
-
|
|
528
518
|
/**
|
|
529
519
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
530
520
|
*/
|
|
@@ -554,29 +544,31 @@ const __default__ = {
|
|
|
554
544
|
default: true
|
|
555
545
|
}
|
|
556
546
|
},
|
|
557
|
-
|
|
558
547
|
setup(__props, {
|
|
559
548
|
expose: __expose
|
|
560
549
|
}) {
|
|
561
|
-
const props = __props;
|
|
562
550
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
563
551
|
let viewModel = null;
|
|
564
|
-
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
552
|
+
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
565
553
|
|
|
554
|
+
// 获取组件传参
|
|
555
|
+
const props = __props;
|
|
566
556
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
567
557
|
excavationDepth: props.settingParams && props.settingParams.excavationDepth || 20,
|
|
568
558
|
// 地形开挖深度
|
|
569
559
|
minExcavationDepth: props.settingParams && props.settingParams.minExcavationDepth || 0,
|
|
570
560
|
// 地形开挖深度范围最小值
|
|
571
561
|
maxExcavationDepth: props.settingParams && props.settingParams.maxExcavationDepth || 100 // 地形开挖深度范围最大值
|
|
562
|
+
});
|
|
572
563
|
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
564
|
+
// 组件容器Ref
|
|
565
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
576
566
|
|
|
567
|
+
// 生成组件默认header
|
|
577
568
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
578
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
569
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
579
570
|
|
|
571
|
+
// 国际化
|
|
580
572
|
let {
|
|
581
573
|
locale,
|
|
582
574
|
messages
|
|
@@ -594,8 +586,9 @@ const __default__ = {
|
|
|
594
586
|
watchCreateHeaderTemp();
|
|
595
587
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
596
588
|
watchCreateHeaderTemp();
|
|
597
|
-
});
|
|
589
|
+
});
|
|
598
590
|
|
|
591
|
+
//父组件ScenceView初始化完成后执行
|
|
599
592
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
600
593
|
if (scenceView) {
|
|
601
594
|
viewModel = new ModelExcavateViewModel(scenceView, {
|
|
@@ -605,52 +598,42 @@ const __default__ = {
|
|
|
605
598
|
}
|
|
606
599
|
});
|
|
607
600
|
});
|
|
601
|
+
|
|
608
602
|
/**
|
|
609
603
|
* @description 监听header生成
|
|
610
604
|
*/
|
|
611
|
-
|
|
612
605
|
const watchCreateHeaderTemp = () => {
|
|
613
606
|
if (props.showHeaderTemp) {
|
|
614
607
|
// 生成headerTemp
|
|
615
608
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
616
609
|
}
|
|
617
|
-
};
|
|
618
|
-
|
|
619
|
-
|
|
610
|
+
};
|
|
611
|
+
// 调整开挖深度
|
|
620
612
|
function changeHeight() {
|
|
621
613
|
viewModel && viewModel.setHeight(formItem.excavationDepth);
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
|
|
614
|
+
}
|
|
615
|
+
// 开始分析
|
|
625
616
|
function startOperation() {
|
|
626
617
|
viewModel && viewModel.start();
|
|
627
|
-
}
|
|
628
|
-
|
|
629
|
-
|
|
618
|
+
}
|
|
619
|
+
// 清除
|
|
630
620
|
function clear() {
|
|
631
621
|
viewModel && viewModel.clear();
|
|
632
|
-
}
|
|
633
|
-
|
|
622
|
+
}
|
|
634
623
|
|
|
624
|
+
// 销毁
|
|
635
625
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
636
626
|
viewModel && viewModel.destroy();
|
|
637
627
|
});
|
|
638
|
-
|
|
639
628
|
__expose({
|
|
640
629
|
clear
|
|
641
630
|
});
|
|
642
|
-
|
|
643
631
|
return (_ctx, _cache) => {
|
|
644
632
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
645
|
-
|
|
646
633
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
647
|
-
|
|
648
634
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
649
|
-
|
|
650
635
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
651
|
-
|
|
652
636
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
653
|
-
|
|
654
637
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
655
638
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-model-excavate", {
|
|
656
639
|
'kq-box-shadow': __props.showShadow
|
|
@@ -661,23 +644,15 @@ const __default__ = {
|
|
|
661
644
|
key: 0,
|
|
662
645
|
ref_key: "headerTempRef",
|
|
663
646
|
ref: headerTempRef
|
|
664
|
-
}, null, 512
|
|
665
|
-
/* NEED_PATCH */
|
|
666
|
-
)) : (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, {
|
|
647
|
+
}, 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, {
|
|
667
648
|
gutter: 10
|
|
668
649
|
}, {
|
|
669
650
|
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_col, {
|
|
670
651
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 7 : 10
|
|
671
652
|
}, {
|
|
672
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).excavationDepth), 1
|
|
673
|
-
/*
|
|
674
|
-
|
|
675
|
-
_: 1
|
|
676
|
-
/* STABLE */
|
|
677
|
-
|
|
678
|
-
}, 8
|
|
679
|
-
/* PROPS */
|
|
680
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
653
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("span", _hoisted_2, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).excavationDepth), 1 /* TEXT */)]),
|
|
654
|
+
_: 1 /* STABLE */
|
|
655
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
681
656
|
span: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? 11 : 8
|
|
682
657
|
}, {
|
|
683
658
|
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_slider, {
|
|
@@ -688,15 +663,9 @@ const __default__ = {
|
|
|
688
663
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxExcavationDepth,
|
|
689
664
|
onChange: _cache[1] || (_cache[1] = $event => changeHeight()),
|
|
690
665
|
onClick: _cache[2] || (_cache[2] = $event => changeHeight())
|
|
691
|
-
}, null, 8
|
|
692
|
-
/*
|
|
693
|
-
|
|
694
|
-
_: 1
|
|
695
|
-
/* STABLE */
|
|
696
|
-
|
|
697
|
-
}, 8
|
|
698
|
-
/* PROPS */
|
|
699
|
-
, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
666
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
667
|
+
_: 1 /* STABLE */
|
|
668
|
+
}, 8 /* PROPS */, ["span"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
700
669
|
span: 6,
|
|
701
670
|
style: {
|
|
702
671
|
"text-align": "end"
|
|
@@ -710,58 +679,31 @@ const __default__ = {
|
|
|
710
679
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxExcavationDepth,
|
|
711
680
|
"controls-position": "right",
|
|
712
681
|
onInput: _cache[4] || (_cache[4] = $event => changeHeight())
|
|
713
|
-
}, null, 8
|
|
714
|
-
/*
|
|
715
|
-
, ["modelValue", "min", "max"])]),
|
|
716
|
-
_: 1
|
|
717
|
-
/* STABLE */
|
|
718
|
-
|
|
682
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
683
|
+
_: 1 /* STABLE */
|
|
719
684
|
})]),
|
|
720
|
-
_: 1
|
|
721
|
-
/* STABLE */
|
|
722
|
-
|
|
685
|
+
_: 1 /* STABLE */
|
|
723
686
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
724
687
|
class: "kq3d-model-excavate-tip"
|
|
725
688
|
}, {
|
|
726
|
-
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).skylineTips + '(' + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).reverseDrawPolygon + ')'), 1
|
|
727
|
-
/*
|
|
728
|
-
)]),
|
|
729
|
-
_: 1
|
|
730
|
-
/* STABLE */
|
|
731
|
-
|
|
689
|
+
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).skylineTips + '(' + (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).reverseDrawPolygon + ')'), 1 /* TEXT */)]),
|
|
690
|
+
_: 1 /* STABLE */
|
|
732
691
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
733
692
|
onClick: _cache[5] || (_cache[5] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startOperation(), ["stop"])),
|
|
734
693
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startOperation,
|
|
735
694
|
type: "primary"
|
|
736
695
|
}, {
|
|
737
|
-
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).startOperation), 1
|
|
738
|
-
/*
|
|
739
|
-
|
|
740
|
-
_: 1
|
|
741
|
-
/* STABLE */
|
|
742
|
-
|
|
743
|
-
}, 8
|
|
744
|
-
/* PROPS */
|
|
745
|
-
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
696
|
+
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).startOperation), 1 /* TEXT */)]),
|
|
697
|
+
_: 1 /* STABLE */
|
|
698
|
+
}, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
746
699
|
onClick: _cache[6] || (_cache[6] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clear(), ["stop"])),
|
|
747
700
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
748
701
|
}, {
|
|
749
|
-
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).clear), 1
|
|
750
|
-
/*
|
|
751
|
-
|
|
752
|
-
_: 1
|
|
753
|
-
/* STABLE */
|
|
754
|
-
|
|
755
|
-
}, 8
|
|
756
|
-
/* PROPS */
|
|
757
|
-
, ["title"])])], 512
|
|
758
|
-
/* NEED_PATCH */
|
|
759
|
-
)], 2
|
|
760
|
-
/* CLASS */
|
|
761
|
-
);
|
|
702
|
+
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).clear), 1 /* TEXT */)]),
|
|
703
|
+
_: 1 /* STABLE */
|
|
704
|
+
}, 8 /* PROPS */, ["title"])])], 512 /* NEED_PATCH */)], 2 /* CLASS */);
|
|
762
705
|
};
|
|
763
706
|
}
|
|
764
|
-
|
|
765
707
|
}));
|
|
766
708
|
;// CONCATENATED MODULE: ./src/webgl/modelexcavate/ModelExcavate.vue?vue&type=script&setup=true&lang=js
|
|
767
709
|
|
|
@@ -773,10 +715,13 @@ const __exports__ = ModelExcavatevue_type_script_setup_true_lang_js;
|
|
|
773
715
|
|
|
774
716
|
/* harmony default export */ var ModelExcavate = (__exports__);
|
|
775
717
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
776
|
-
var init_js_ = __webpack_require__(
|
|
718
|
+
var init_js_ = __webpack_require__(455);
|
|
777
719
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
778
720
|
;// CONCATENATED MODULE: ./src/webgl/modelexcavate/index.js
|
|
779
|
-
|
|
721
|
+
/*
|
|
722
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
723
|
+
* All rights reserved.
|
|
724
|
+
*/
|
|
780
725
|
|
|
781
726
|
|
|
782
727
|
|
|
@@ -785,8 +730,6 @@ ModelExcavate.install = (Vue, opts) => {
|
|
|
785
730
|
Vue.component(ModelExcavate.name, ModelExcavate);
|
|
786
731
|
};
|
|
787
732
|
|
|
788
|
-
|
|
789
|
-
}();
|
|
790
733
|
/******/ return __webpack_exports__;
|
|
791
734
|
/******/ })()
|
|
792
735
|
;
|