@kq_npm/client3d_webgl_vue 4.5.2 → 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 +355 -538
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +172 -239
- package/baseterraingallery/index.js +124 -145
- package/boxclip/index.js +300 -481
- package/clientPrint/index.js +335 -898
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +226 -246
- package/compass/index.js +96 -84
- package/excavatefillanalysis/index.js +193 -263
- package/fixedzoomin/index.js +91 -76
- package/fixedzoomout/index.js +91 -76
- package/flight/index.js +311 -415
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +255 -393
- package/geologicalbodyanalysis/index.js +215 -298
- package/gpuspatialquery/index.js +260 -402
- package/hawkeye/index.js +141 -103
- package/headertemp/index.js +25 -34
- package/heatmap3d/index.js +451 -763
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +20826 -17774
- package/isolineanalysis/index.js +566 -1243
- package/light/index.js +353 -488
- package/limitheightanalysis/index.js +251 -312
- package/measure/index.js +350 -504
- package/modelFlat/index.js +214 -234
- package/modelexcavate/index.js +206 -262
- package/modelfilter/index.js +229 -308
- package/modelprofileanalysis/index.js +356 -465
- package/modelselect/index.js +192 -184
- package/package.json +1 -1
- package/particleeffect/index.js +259 -430
- package/planeclip/index.js +249 -339
- package/resetview/index.js +89 -69
- package/roller/index.js +307 -363
- package/scaneffect/index.js +285 -582
- package/sceneadvancedtoimage/index.js +1055 -0
- package/sceneadvancedtoimage/style/index.js +3 -0
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -0
- package/sceneapp/index.js +11149 -0
- package/sceneset/index.js +393 -885
- package/scenetohdimage/index.js +214 -346
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +22780 -19540
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +275 -312
- package/shadowanalysis/index.js +269 -448
- package/sightlineanalysis/index.js +231 -312
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +213 -351
- package/slopeanalysis/index.js +282 -444
- package/slopeaspectanalysis/index.js +315 -534
- package/statusbar/index.js +194 -164
- package/style.css +1 -1
- package/terrainoperation/index.js +230 -280
- package/terrainprofileanalysis/index.js +174 -182
- package/underground/index.js +98 -82
- package/videofusion/index.js +319 -532
- package/videoproject/index.js +325 -534
- package/viewshedanalysis/index.js +178 -275
- package/weathereffect/index.js +199 -343
- package/wireframesketch/index.js +146 -150
package/planeclip/index.js
CHANGED
|
@@ -7,101 +7,155 @@
|
|
|
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__(6363);
|
|
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__(455);
|
|
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
|
+
*/
|
|
18
26
|
|
|
19
|
-
// EXPORTS
|
|
20
|
-
__webpack_require__.d(__webpack_exports__, {
|
|
21
|
-
"Z": function() { return /* binding */ message; }
|
|
22
|
-
});
|
|
23
27
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
;// CONCATENATED MODULE: ./src/common/_ui/message/index.js
|
|
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__.A = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
30
33
|
|
|
34
|
+
/***/ }),
|
|
31
35
|
|
|
36
|
+
/***/ 5698:
|
|
37
|
+
/***/ (function(module) {
|
|
32
38
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
39
|
+
module.exports = require("@kq_npm/client_icons_vue");
|
|
40
|
+
|
|
41
|
+
/***/ }),
|
|
42
|
+
|
|
43
|
+
/***/ 2652:
|
|
44
|
+
/***/ (function(module) {
|
|
37
45
|
|
|
38
|
-
|
|
46
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
39
47
|
|
|
40
48
|
/***/ }),
|
|
41
49
|
|
|
42
|
-
/***/
|
|
50
|
+
/***/ 3658:
|
|
43
51
|
/***/ (function(module) {
|
|
44
52
|
|
|
45
|
-
module.exports = require("
|
|
53
|
+
module.exports = require("core-js/modules/esnext.iterator.constructor.js");
|
|
46
54
|
|
|
47
55
|
/***/ }),
|
|
48
56
|
|
|
49
|
-
/***/
|
|
57
|
+
/***/ 7993:
|
|
58
|
+
/***/ (function(module) {
|
|
59
|
+
|
|
60
|
+
module.exports = require("core-js/modules/esnext.iterator.find.js");
|
|
61
|
+
|
|
62
|
+
/***/ }),
|
|
63
|
+
|
|
64
|
+
/***/ 6363:
|
|
65
|
+
/***/ (function(module) {
|
|
66
|
+
|
|
67
|
+
module.exports = require("element-plus/dist/index.full.js");
|
|
68
|
+
|
|
69
|
+
/***/ }),
|
|
70
|
+
|
|
71
|
+
/***/ 3579:
|
|
50
72
|
/***/ (function(module) {
|
|
51
73
|
|
|
52
74
|
module.exports = require("vue-i18n/dist/vue-i18n.cjs.js");
|
|
53
75
|
|
|
54
76
|
/***/ }),
|
|
55
77
|
|
|
56
|
-
/***/
|
|
78
|
+
/***/ 64:
|
|
57
79
|
/***/ (function(module) {
|
|
58
80
|
|
|
59
|
-
module.exports =
|
|
81
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__64__;
|
|
60
82
|
|
|
61
83
|
/***/ }),
|
|
62
84
|
|
|
63
|
-
/***/
|
|
85
|
+
/***/ 2975:
|
|
64
86
|
/***/ (function(module) {
|
|
65
87
|
|
|
66
|
-
module.exports =
|
|
88
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__2975__;
|
|
67
89
|
|
|
68
90
|
/***/ }),
|
|
69
91
|
|
|
70
|
-
/***/
|
|
92
|
+
/***/ 455:
|
|
71
93
|
/***/ (function(module) {
|
|
72
94
|
|
|
73
|
-
module.exports =
|
|
95
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__455__;
|
|
74
96
|
|
|
75
97
|
/***/ }),
|
|
76
98
|
|
|
77
|
-
/***/
|
|
99
|
+
/***/ 154:
|
|
78
100
|
/***/ (function(module) {
|
|
79
101
|
|
|
80
|
-
module.exports =
|
|
102
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__154__;
|
|
81
103
|
|
|
82
104
|
/***/ }),
|
|
83
105
|
|
|
84
|
-
/***/
|
|
106
|
+
/***/ 6913:
|
|
85
107
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
86
108
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
function
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
109
|
+
|
|
110
|
+
// EXPORTS
|
|
111
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
112
|
+
A: function() { return /* binding */ _defineProperty; }
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
116
|
+
function _typeof(o) {
|
|
117
|
+
"@babel/helpers - typeof";
|
|
118
|
+
|
|
119
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
120
|
+
return typeof o;
|
|
121
|
+
} : function (o) {
|
|
122
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
123
|
+
}, _typeof(o);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
|
127
|
+
|
|
128
|
+
function toPrimitive(t, r) {
|
|
129
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
130
|
+
var e = t[Symbol.toPrimitive];
|
|
131
|
+
if (void 0 !== e) {
|
|
132
|
+
var i = e.call(t, r || "default");
|
|
133
|
+
if ("object" != _typeof(i)) return i;
|
|
134
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
100
135
|
}
|
|
136
|
+
return ("string" === r ? String : Number)(t);
|
|
137
|
+
}
|
|
101
138
|
|
|
102
|
-
|
|
139
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
function toPropertyKey(t) {
|
|
143
|
+
var i = toPrimitive(t, "string");
|
|
144
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
148
|
+
|
|
149
|
+
function _defineProperty(e, r, t) {
|
|
150
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
151
|
+
value: t,
|
|
152
|
+
enumerable: !0,
|
|
153
|
+
configurable: !0,
|
|
154
|
+
writable: !0
|
|
155
|
+
}) : e[r] = t, e;
|
|
103
156
|
}
|
|
104
157
|
|
|
158
|
+
|
|
105
159
|
/***/ })
|
|
106
160
|
|
|
107
161
|
/******/ });
|
|
@@ -173,41 +227,49 @@ function _defineProperty(obj, key, value) {
|
|
|
173
227
|
/******/
|
|
174
228
|
/************************************************************************/
|
|
175
229
|
var __webpack_exports__ = {};
|
|
176
|
-
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
|
|
177
|
-
!function() {
|
|
178
230
|
// ESM COMPAT FLAG
|
|
179
231
|
__webpack_require__.r(__webpack_exports__);
|
|
180
232
|
|
|
181
233
|
// EXPORTS
|
|
182
234
|
__webpack_require__.d(__webpack_exports__, {
|
|
183
|
-
|
|
235
|
+
PlaneClipViewModel: function() { return /* reexport */ PlaneClipViewModel; },
|
|
184
236
|
"default": function() { return /* reexport */ PlaneClip; }
|
|
185
237
|
});
|
|
186
238
|
|
|
187
239
|
// EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
188
|
-
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(
|
|
240
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(154);
|
|
189
241
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
190
|
-
var gis_utils_ = __webpack_require__(
|
|
191
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
192
|
-
var defineProperty = __webpack_require__(
|
|
193
|
-
// EXTERNAL MODULE:
|
|
194
|
-
var
|
|
242
|
+
var gis_utils_ = __webpack_require__(64);
|
|
243
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js + 3 modules
|
|
244
|
+
var defineProperty = __webpack_require__(6913);
|
|
245
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
246
|
+
var es_array_push_js_ = __webpack_require__(2652);
|
|
247
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
248
|
+
var esnext_iterator_constructor_js_ = __webpack_require__(3658);
|
|
249
|
+
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.find.js"
|
|
250
|
+
var esnext_iterator_find_js_ = __webpack_require__(7993);
|
|
251
|
+
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
252
|
+
var message = __webpack_require__(3275);
|
|
195
253
|
;// CONCATENATED MODULE: ./src/webgl/planeclip/PlaneClipViewModel.js
|
|
196
254
|
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
/*
|
|
259
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
260
|
+
* All rights reserved.
|
|
261
|
+
*/
|
|
197
262
|
//平面裁剪逻辑类
|
|
198
263
|
|
|
199
264
|
class PlaneClipViewModel {
|
|
200
|
-
//三维viewer对象
|
|
201
|
-
//平面裁剪存储参数对象
|
|
202
|
-
//平面裁剪三维逻辑类
|
|
203
|
-
//绘制管理对象
|
|
204
265
|
//绘制完成事件监听
|
|
205
|
-
constructor(scenceView, options) {
|
|
206
|
-
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
207
266
|
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
267
|
+
constructor(scenceView, options) {
|
|
268
|
+
(0,defineProperty/* default */.A)(this, "_viewer", null);
|
|
269
|
+
//三维viewer对象
|
|
270
|
+
(0,defineProperty/* default */.A)(this, "_options", {});
|
|
271
|
+
//平面裁剪存储参数对象
|
|
272
|
+
(0,defineProperty/* default */.A)(this, "_defaultOptions", {
|
|
211
273
|
//默认参数对象
|
|
212
274
|
x: 0,
|
|
213
275
|
y: 0,
|
|
@@ -231,35 +293,31 @@ class PlaneClipViewModel {
|
|
|
231
293
|
paddingStrokeDirection: 30.0,
|
|
232
294
|
paddingStrokeSpace: 7.0
|
|
233
295
|
});
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
(0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
|
|
240
|
-
|
|
296
|
+
(0,defineProperty/* default */.A)(this, "_planeclipAnalysis", null);
|
|
297
|
+
//平面裁剪三维逻辑类
|
|
298
|
+
(0,defineProperty/* default */.A)(this, "_drawManager", null);
|
|
299
|
+
//绘制管理对象
|
|
300
|
+
(0,defineProperty/* default */.A)(this, "_removeEventListener", null);
|
|
241
301
|
this._options = Object.assign({}, options, this._defaultOptions);
|
|
242
|
-
this._viewer = scenceView._viewer;
|
|
243
|
-
|
|
302
|
+
this._viewer = scenceView._viewer;
|
|
303
|
+
// this._viewer.enabledFXAA = true;
|
|
244
304
|
this._options.viewer = this._viewer;
|
|
245
305
|
this._drawManager = scenceView._drawManager;
|
|
246
306
|
let that = this;
|
|
247
307
|
this._removeEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
248
308
|
if (shape) {
|
|
249
|
-
that._options.position = shape.position;
|
|
250
|
-
|
|
309
|
+
that._options.position = shape.position;
|
|
310
|
+
// 实例化分析对象
|
|
251
311
|
that._planeclipAnalysis = new Cesium.Kq3dBoxClip(that._options);
|
|
252
|
-
|
|
253
312
|
that._drawManager.clear();
|
|
254
313
|
}
|
|
255
314
|
});
|
|
256
|
-
}
|
|
257
|
-
|
|
315
|
+
}
|
|
258
316
|
|
|
317
|
+
// 查找所有3dtiles模型对象
|
|
259
318
|
findLayers() {
|
|
260
319
|
let tilesets = [];
|
|
261
320
|
const primitives = this._options.viewer.scene.primitives._primitives;
|
|
262
|
-
|
|
263
321
|
for (let m = 0; m < primitives.length; m++) {
|
|
264
322
|
if (primitives[m] instanceof Cesium.Cesium3DTileset) {
|
|
265
323
|
tilesets.push({
|
|
@@ -268,116 +326,106 @@ class PlaneClipViewModel {
|
|
|
268
326
|
});
|
|
269
327
|
}
|
|
270
328
|
}
|
|
271
|
-
|
|
272
329
|
return tilesets;
|
|
273
|
-
}
|
|
274
|
-
|
|
330
|
+
}
|
|
275
331
|
|
|
332
|
+
//根据id获取tileset对象
|
|
276
333
|
findLayerById(id) {
|
|
277
334
|
const primitives = this._options.viewer.scene.primitives._primitives;
|
|
278
335
|
const tileset = primitives.find(function (item) {
|
|
279
336
|
return item.guid === id;
|
|
280
337
|
});
|
|
281
338
|
return tileset;
|
|
282
|
-
}
|
|
283
|
-
|
|
339
|
+
}
|
|
284
340
|
|
|
341
|
+
// 开始分析
|
|
285
342
|
start() {
|
|
286
343
|
// 判断是否添加了模型
|
|
287
344
|
var flag = false;
|
|
288
345
|
var models = this._options.viewer.scene.primitives._primitives;
|
|
289
|
-
|
|
290
346
|
for (let i = 0; i < models.length; i++) {
|
|
291
347
|
if (models[i]._url) {
|
|
292
348
|
flag = true;
|
|
293
349
|
}
|
|
294
350
|
}
|
|
295
|
-
|
|
296
351
|
if (flag) {
|
|
297
352
|
if (this._drawManager) this._drawManager.startDraw("marker", {
|
|
298
353
|
image: null
|
|
299
354
|
});
|
|
300
355
|
} else {
|
|
301
|
-
(0,message/* default */.
|
|
356
|
+
(0,message/* default */.A)({
|
|
302
357
|
message: "请添加模型后裁剪!",
|
|
303
358
|
type: "warning"
|
|
304
359
|
});
|
|
305
360
|
}
|
|
306
|
-
}
|
|
307
|
-
|
|
361
|
+
}
|
|
308
362
|
|
|
363
|
+
//清除全部
|
|
309
364
|
clear() {
|
|
310
365
|
if (this._planeclipAnalysis) this._planeclipAnalysis.boxEnable = false;
|
|
311
|
-
this._planeclipAnalysis && this._planeclipAnalysis.remove();
|
|
312
|
-
|
|
313
|
-
|
|
366
|
+
this._planeclipAnalysis && this._planeclipAnalysis.remove();
|
|
367
|
+
// this._planeclipAnalysis = null;
|
|
368
|
+
}
|
|
314
369
|
|
|
370
|
+
//销毁
|
|
315
371
|
destroy() {
|
|
316
|
-
this.clear();
|
|
317
|
-
|
|
372
|
+
this.clear();
|
|
373
|
+
//销毁分析对象
|
|
318
374
|
this._planeclipAnalysis && this._planeclipAnalysis.destroy();
|
|
319
|
-
this._planeclipAnalysis = null;
|
|
320
|
-
|
|
375
|
+
this._planeclipAnalysis = null;
|
|
376
|
+
//移除监听事件
|
|
321
377
|
this._removeEventListener && this._removeEventListener();
|
|
322
378
|
this._removeEventListener = null;
|
|
323
|
-
}
|
|
324
|
-
|
|
379
|
+
}
|
|
325
380
|
|
|
381
|
+
// 设置裁剪对象
|
|
326
382
|
setLayer(layerId) {
|
|
327
383
|
this.clear();
|
|
328
384
|
this._options.tileset = this.findLayerById(layerId);
|
|
329
|
-
}
|
|
330
|
-
|
|
385
|
+
}
|
|
331
386
|
|
|
387
|
+
// 设置裁剪方向,2:x,3:y,z:4
|
|
332
388
|
setClipDirection(val) {
|
|
333
389
|
this._options.clipType = val;
|
|
334
390
|
if (this._planeclipAnalysis) this._planeclipAnalysis.clipType = val;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
|
|
391
|
+
}
|
|
392
|
+
// 设置裁剪方式,为false时,则为正向裁剪,否则为逆向裁剪
|
|
338
393
|
setClipType(val) {
|
|
339
394
|
this._options.reverseClip = val;
|
|
340
|
-
|
|
341
395
|
if (this._planeclipAnalysis) {
|
|
342
396
|
this._planeclipAnalysis.reverseClip = val;
|
|
343
397
|
this._planeclipAnalysis.distance = this._options.distance;
|
|
344
398
|
}
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
|
|
399
|
+
}
|
|
400
|
+
//是否裁剪
|
|
348
401
|
setEnable(val) {
|
|
349
402
|
this._options.enable = val;
|
|
350
|
-
|
|
351
403
|
if (this._planeclipAnalysis) {
|
|
352
404
|
this._planeclipAnalysis.enable = val;
|
|
353
405
|
this._planeclipAnalysis.boxEnable = this._options.boxEnable;
|
|
354
406
|
}
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
|
|
407
|
+
}
|
|
408
|
+
//显/隐辅助对象
|
|
358
409
|
setShowBox(val) {
|
|
359
410
|
this._options.boxEnable = val;
|
|
360
411
|
if (this._planeclipAnalysis) this._planeclipAnalysis.boxEnable = val;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
|
|
412
|
+
}
|
|
413
|
+
//设置裁剪距离
|
|
364
414
|
setDistance(val) {
|
|
365
415
|
if (this._options.clipType == 4) {
|
|
366
416
|
this._options.distance = -Number(val);
|
|
367
417
|
} else {
|
|
368
418
|
this._options.distance = Number(val);
|
|
369
419
|
}
|
|
370
|
-
|
|
371
420
|
if (this._planeclipAnalysis) this._planeclipAnalysis.distance = this._options.distance;
|
|
372
421
|
}
|
|
373
|
-
|
|
374
422
|
}
|
|
375
423
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
376
|
-
var client_icons_vue_ = __webpack_require__(
|
|
424
|
+
var client_icons_vue_ = __webpack_require__(5698);
|
|
377
425
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
378
|
-
var util_ = __webpack_require__(
|
|
426
|
+
var util_ = __webpack_require__(2975);
|
|
379
427
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
380
|
-
var vue_i18n_cjs_js_ = __webpack_require__(
|
|
428
|
+
var vue_i18n_cjs_js_ = __webpack_require__(3579);
|
|
381
429
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/planeclip/PlaneClip.vue?vue&type=script&setup=true&lang=js
|
|
382
430
|
|
|
383
431
|
const _hoisted_1 = {
|
|
@@ -404,7 +452,7 @@ const _hoisted_5 = {
|
|
|
404
452
|
const __default__ = {
|
|
405
453
|
name: "Kq3dPlaneClip"
|
|
406
454
|
};
|
|
407
|
-
/* harmony default export */ var PlaneClipvue_type_script_setup_true_lang_js = (
|
|
455
|
+
/* harmony default export */ var PlaneClipvue_type_script_setup_true_lang_js = (/*@__PURE__*/Object.assign(__default__, {
|
|
408
456
|
props: {
|
|
409
457
|
// 设置参数
|
|
410
458
|
settingParams: {
|
|
@@ -415,7 +463,6 @@ const __default__ = {
|
|
|
415
463
|
type: Boolean,
|
|
416
464
|
default: true
|
|
417
465
|
},
|
|
418
|
-
|
|
419
466
|
/**
|
|
420
467
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
421
468
|
*/
|
|
@@ -445,19 +492,19 @@ const __default__ = {
|
|
|
445
492
|
default: true
|
|
446
493
|
}
|
|
447
494
|
},
|
|
448
|
-
|
|
449
495
|
setup(__props, {
|
|
450
|
-
expose
|
|
496
|
+
expose: __expose
|
|
451
497
|
}) {
|
|
452
|
-
const props = __props;
|
|
453
498
|
const {
|
|
454
499
|
proxy
|
|
455
500
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
456
501
|
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
457
502
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
458
503
|
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
459
|
-
let tiles = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
|
|
504
|
+
let tiles = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
|
|
460
505
|
|
|
506
|
+
// 获取组件传参
|
|
507
|
+
const props = __props;
|
|
461
508
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
462
509
|
tileset: props.settingParams && props.settingParams.tileset || null,
|
|
463
510
|
clipDirection: props.settingParams && props.settingParams.clipDirection || 2,
|
|
@@ -466,13 +513,16 @@ const __default__ = {
|
|
|
466
513
|
boxEnable: props.settingParams && props.settingParams.boxEnable !== undefined || false,
|
|
467
514
|
clipDistance: props.settingParams && props.settingParams.clipDistance || 0
|
|
468
515
|
});
|
|
469
|
-
let viewModel = null;
|
|
516
|
+
let viewModel = null;
|
|
470
517
|
|
|
471
|
-
|
|
518
|
+
// 组件容器Ref
|
|
519
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
472
520
|
|
|
521
|
+
// 生成组件默认header
|
|
473
522
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
474
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
523
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
475
524
|
|
|
525
|
+
// 国际化
|
|
476
526
|
let {
|
|
477
527
|
locale,
|
|
478
528
|
messages
|
|
@@ -493,7 +543,6 @@ const __default__ = {
|
|
|
493
543
|
});
|
|
494
544
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
495
545
|
//父组 件ScenceView初始化完成后执行
|
|
496
|
-
|
|
497
546
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
498
547
|
if (scenceView) {
|
|
499
548
|
let options = {
|
|
@@ -510,7 +559,6 @@ const __default__ = {
|
|
|
510
559
|
setTimeout(() => {
|
|
511
560
|
if (viewModel) {
|
|
512
561
|
tiles.value = viewModel.findLayers(); // 获取所有tileset对象
|
|
513
|
-
|
|
514
562
|
if (tiles.value.length > 0) {
|
|
515
563
|
formItem.tileset = tiles.value[0].guid;
|
|
516
564
|
paramsChanged("tileset");
|
|
@@ -518,93 +566,75 @@ const __default__ = {
|
|
|
518
566
|
}
|
|
519
567
|
}, 1000);
|
|
520
568
|
});
|
|
569
|
+
|
|
521
570
|
/**
|
|
522
571
|
* @description 监听header生成
|
|
523
572
|
*/
|
|
524
|
-
|
|
525
573
|
const watchCreateHeaderTemp = () => {
|
|
526
574
|
if (props.showHeaderTemp) {
|
|
527
575
|
// 生成headerTemp
|
|
528
576
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
529
577
|
}
|
|
530
|
-
};
|
|
531
|
-
|
|
578
|
+
};
|
|
532
579
|
|
|
580
|
+
// 参数改变
|
|
533
581
|
function paramsChanged(key) {
|
|
534
582
|
switch (key) {
|
|
535
583
|
case "tileset":
|
|
536
584
|
viewModel.setLayer(formItem.tileset);
|
|
537
585
|
break;
|
|
538
|
-
|
|
539
586
|
case "clipDirection":
|
|
540
587
|
viewModel.setClipDirection(formItem.clipDirection);
|
|
541
588
|
break;
|
|
542
|
-
|
|
543
589
|
case "reverseClip":
|
|
544
590
|
viewModel.setClipType(formItem.reverseClip);
|
|
545
591
|
break;
|
|
546
|
-
|
|
547
592
|
case "enableClip":
|
|
548
593
|
viewModel.setEnable(formItem.enableClip);
|
|
549
594
|
break;
|
|
550
|
-
|
|
551
595
|
case "boxEnable":
|
|
552
596
|
viewModel.setShowBox(formItem.boxEnable);
|
|
553
597
|
break;
|
|
554
|
-
|
|
555
598
|
case "distance":
|
|
556
599
|
viewModel.setDistance(formItem.clipDistance);
|
|
557
600
|
break;
|
|
558
|
-
|
|
559
601
|
default:
|
|
560
602
|
break;
|
|
561
603
|
}
|
|
562
|
-
}
|
|
563
|
-
|
|
604
|
+
}
|
|
564
605
|
|
|
606
|
+
// 开始裁剪
|
|
565
607
|
function clip() {
|
|
566
608
|
viewModel && viewModel.start();
|
|
567
|
-
}
|
|
568
|
-
|
|
609
|
+
}
|
|
569
610
|
|
|
611
|
+
// 清除
|
|
570
612
|
function clearResult() {
|
|
571
613
|
viewModel && viewModel.clear();
|
|
572
|
-
}
|
|
573
|
-
|
|
614
|
+
}
|
|
574
615
|
|
|
616
|
+
// 销毁
|
|
575
617
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
576
618
|
viewModel && viewModel.destroy();
|
|
577
619
|
});
|
|
578
|
-
|
|
620
|
+
__expose({
|
|
579
621
|
paramsChanged,
|
|
580
622
|
clip,
|
|
581
623
|
clearResult
|
|
582
624
|
});
|
|
583
625
|
return (_ctx, _cache) => {
|
|
584
626
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
585
|
-
|
|
586
627
|
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
587
|
-
|
|
588
628
|
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
589
|
-
|
|
590
629
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
591
|
-
|
|
592
630
|
const _component_kq_checkbox = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-checkbox");
|
|
593
|
-
|
|
594
631
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
595
|
-
|
|
596
632
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
597
|
-
|
|
598
633
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
599
|
-
|
|
600
634
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
601
|
-
|
|
602
635
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
603
|
-
|
|
604
636
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
605
|
-
|
|
606
637
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
607
|
-
|
|
608
638
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
609
639
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-plane-clip", {
|
|
610
640
|
'kq-box-shadow': __props.showShadow
|
|
@@ -615,9 +645,7 @@ const __default__ = {
|
|
|
615
645
|
key: 0,
|
|
616
646
|
ref_key: "headerTempRef",
|
|
617
647
|
ref: headerTempRef
|
|
618
|
-
}, null, 512
|
|
619
|
-
/* NEED_PATCH */
|
|
620
|
-
)) : (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, {
|
|
648
|
+
}, 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, {
|
|
621
649
|
gutter: 20,
|
|
622
650
|
class: "rowClass"
|
|
623
651
|
}, {
|
|
@@ -625,12 +653,8 @@ const __default__ = {
|
|
|
625
653
|
span: 6,
|
|
626
654
|
class: "colClass"
|
|
627
655
|
}, {
|
|
628
|
-
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).clipObj), 1
|
|
629
|
-
/*
|
|
630
|
-
)]),
|
|
631
|
-
_: 1
|
|
632
|
-
/* STABLE */
|
|
633
|
-
|
|
656
|
+
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).clipObj), 1 /* TEXT */)]),
|
|
657
|
+
_: 1 /* STABLE */
|
|
634
658
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
635
659
|
span: 18,
|
|
636
660
|
class: "colClass"
|
|
@@ -646,31 +670,15 @@ const __default__ = {
|
|
|
646
670
|
value: item.guid,
|
|
647
671
|
label: item.name
|
|
648
672
|
}, {
|
|
649
|
-
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)(item.name), 1
|
|
650
|
-
/*
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
/* PROPS, DYNAMIC_SLOTS */
|
|
657
|
-
, ["value", "label"]);
|
|
658
|
-
}), 128
|
|
659
|
-
/* KEYED_FRAGMENT */
|
|
660
|
-
))]),
|
|
661
|
-
_: 1
|
|
662
|
-
/* STABLE */
|
|
663
|
-
|
|
664
|
-
}, 8
|
|
665
|
-
/* PROPS */
|
|
666
|
-
, ["modelValue"])]),
|
|
667
|
-
_: 1
|
|
668
|
-
/* STABLE */
|
|
669
|
-
|
|
673
|
+
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)(item.name), 1 /* TEXT */)]),
|
|
674
|
+
_: 2 /* DYNAMIC */
|
|
675
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["value", "label"]);
|
|
676
|
+
}), 128 /* KEYED_FRAGMENT */))]),
|
|
677
|
+
_: 1 /* STABLE */
|
|
678
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
679
|
+
_: 1 /* STABLE */
|
|
670
680
|
})]),
|
|
671
|
-
_: 1
|
|
672
|
-
/* STABLE */
|
|
673
|
-
|
|
681
|
+
_: 1 /* STABLE */
|
|
674
682
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
675
683
|
gutter: 20,
|
|
676
684
|
class: "rowClass"
|
|
@@ -679,12 +687,8 @@ const __default__ = {
|
|
|
679
687
|
span: 6,
|
|
680
688
|
class: "colClass"
|
|
681
689
|
}, {
|
|
682
|
-
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_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipStyle), 1
|
|
683
|
-
/*
|
|
684
|
-
)]),
|
|
685
|
-
_: 1
|
|
686
|
-
/* STABLE */
|
|
687
|
-
|
|
690
|
+
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_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipStyle), 1 /* TEXT */)]),
|
|
691
|
+
_: 1 /* STABLE */
|
|
688
692
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
689
693
|
span: 18,
|
|
690
694
|
class: "colClass"
|
|
@@ -697,32 +701,18 @@ const __default__ = {
|
|
|
697
701
|
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_option, {
|
|
698
702
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).xClip,
|
|
699
703
|
value: 2
|
|
700
|
-
}, null, 8
|
|
701
|
-
/* PROPS */
|
|
702
|
-
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
704
|
+
}, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
703
705
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).yClip,
|
|
704
706
|
value: 3
|
|
705
|
-
}, null, 8
|
|
706
|
-
/* PROPS */
|
|
707
|
-
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
707
|
+
}, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
708
708
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).zClip,
|
|
709
709
|
value: 4
|
|
710
|
-
}, null, 8
|
|
711
|
-
/*
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
/* STABLE */
|
|
715
|
-
|
|
716
|
-
}, 8
|
|
717
|
-
/* PROPS */
|
|
718
|
-
, ["modelValue"])]),
|
|
719
|
-
_: 1
|
|
720
|
-
/* STABLE */
|
|
721
|
-
|
|
710
|
+
}, null, 8 /* PROPS */, ["label"])]),
|
|
711
|
+
_: 1 /* STABLE */
|
|
712
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
713
|
+
_: 1 /* STABLE */
|
|
722
714
|
})]),
|
|
723
|
-
_: 1
|
|
724
|
-
/* STABLE */
|
|
725
|
-
|
|
715
|
+
_: 1 /* STABLE */
|
|
726
716
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
727
717
|
gutter: 20,
|
|
728
718
|
class: "rowClass"
|
|
@@ -731,12 +721,8 @@ const __default__ = {
|
|
|
731
721
|
span: 6,
|
|
732
722
|
class: "colClass"
|
|
733
723
|
}, {
|
|
734
|
-
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_4, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipPattern), 1
|
|
735
|
-
/*
|
|
736
|
-
)]),
|
|
737
|
-
_: 1
|
|
738
|
-
/* STABLE */
|
|
739
|
-
|
|
724
|
+
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_4, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipPattern), 1 /* TEXT */)]),
|
|
725
|
+
_: 1 /* STABLE */
|
|
740
726
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
741
727
|
span: 18,
|
|
742
728
|
class: "colClass"
|
|
@@ -749,36 +735,20 @@ const __default__ = {
|
|
|
749
735
|
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_option, {
|
|
750
736
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).forwardClip,
|
|
751
737
|
value: false
|
|
752
|
-
}, null, 8
|
|
753
|
-
/* PROPS */
|
|
754
|
-
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
738
|
+
}, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
755
739
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).reverseClip,
|
|
756
740
|
value: true
|
|
757
|
-
}, null, 8
|
|
758
|
-
/*
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
/* STABLE */
|
|
762
|
-
|
|
763
|
-
}, 8
|
|
764
|
-
/* PROPS */
|
|
765
|
-
, ["modelValue"])]),
|
|
766
|
-
_: 1
|
|
767
|
-
/* STABLE */
|
|
768
|
-
|
|
741
|
+
}, null, 8 /* PROPS */, ["label"])]),
|
|
742
|
+
_: 1 /* STABLE */
|
|
743
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
744
|
+
_: 1 /* STABLE */
|
|
769
745
|
})]),
|
|
770
|
-
_: 1
|
|
771
|
-
/* STABLE */
|
|
772
|
-
|
|
746
|
+
_: 1 /* STABLE */
|
|
773
747
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
774
748
|
class: "kq3d-plane-clip-tip"
|
|
775
749
|
}, {
|
|
776
|
-
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).clipTips), 1
|
|
777
|
-
/*
|
|
778
|
-
)]),
|
|
779
|
-
_: 1
|
|
780
|
-
/* STABLE */
|
|
781
|
-
|
|
750
|
+
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).clipTips), 1 /* TEXT */)]),
|
|
751
|
+
_: 1 /* STABLE */
|
|
782
752
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
783
753
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(collapseValue),
|
|
784
754
|
class: "kq3d-plane-clip-collapse"
|
|
@@ -804,18 +774,10 @@ const __default__ = {
|
|
|
804
774
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).enableClip = $event),
|
|
805
775
|
onChange: _cache[7] || (_cache[7] = $event => paramsChanged('enableClip'))
|
|
806
776
|
}, {
|
|
807
|
-
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).enableClip), 1
|
|
808
|
-
/*
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
/* STABLE */
|
|
812
|
-
|
|
813
|
-
}, 8
|
|
814
|
-
/* PROPS */
|
|
815
|
-
, ["modelValue"])]),
|
|
816
|
-
_: 1
|
|
817
|
-
/* STABLE */
|
|
818
|
-
|
|
777
|
+
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).enableClip), 1 /* TEXT */)]),
|
|
778
|
+
_: 1 /* STABLE */
|
|
779
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
780
|
+
_: 1 /* STABLE */
|
|
819
781
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
820
782
|
span: 12
|
|
821
783
|
}, {
|
|
@@ -824,22 +786,12 @@ const __default__ = {
|
|
|
824
786
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).boxEnable = $event),
|
|
825
787
|
onChange: _cache[9] || (_cache[9] = $event => paramsChanged('boxEnable'))
|
|
826
788
|
}, {
|
|
827
|
-
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).boxEnable), 1
|
|
828
|
-
/*
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
/* STABLE */
|
|
832
|
-
|
|
833
|
-
}, 8
|
|
834
|
-
/* PROPS */
|
|
835
|
-
, ["modelValue"])]),
|
|
836
|
-
_: 1
|
|
837
|
-
/* STABLE */
|
|
838
|
-
|
|
789
|
+
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).boxEnable), 1 /* TEXT */)]),
|
|
790
|
+
_: 1 /* STABLE */
|
|
791
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
792
|
+
_: 1 /* STABLE */
|
|
839
793
|
})]),
|
|
840
|
-
_: 1
|
|
841
|
-
/* STABLE */
|
|
842
|
-
|
|
794
|
+
_: 1 /* STABLE */
|
|
843
795
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
844
796
|
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, {
|
|
845
797
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clipDistance
|
|
@@ -859,12 +811,8 @@ const __default__ = {
|
|
|
859
811
|
min: -50,
|
|
860
812
|
max: 50,
|
|
861
813
|
onInput: _cache[11] || (_cache[11] = $event => paramsChanged('distance'))
|
|
862
|
-
}, null, 8
|
|
863
|
-
/*
|
|
864
|
-
, ["modelValue"])]),
|
|
865
|
-
_: 1
|
|
866
|
-
/* STABLE */
|
|
867
|
-
|
|
814
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
815
|
+
_: 1 /* STABLE */
|
|
868
816
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
869
817
|
span: 8
|
|
870
818
|
}, {
|
|
@@ -876,75 +824,36 @@ const __default__ = {
|
|
|
876
824
|
max: 50,
|
|
877
825
|
"controls-position": "right",
|
|
878
826
|
onInput: _cache[13] || (_cache[13] = $event => paramsChanged('distance'))
|
|
879
|
-
}, null, 8
|
|
880
|
-
/*
|
|
881
|
-
, ["modelValue"])]),
|
|
882
|
-
_: 1
|
|
883
|
-
/* STABLE */
|
|
884
|
-
|
|
827
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
828
|
+
_: 1 /* STABLE */
|
|
885
829
|
})]),
|
|
886
|
-
_: 1
|
|
887
|
-
/* STABLE */
|
|
888
|
-
|
|
830
|
+
_: 1 /* STABLE */
|
|
889
831
|
})]),
|
|
890
|
-
_: 1
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
}, 8
|
|
894
|
-
/* PROPS */
|
|
895
|
-
, ["label"])]),
|
|
896
|
-
_: 1
|
|
897
|
-
/* STABLE */
|
|
898
|
-
|
|
832
|
+
_: 1 /* STABLE */
|
|
833
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
834
|
+
_: 1 /* STABLE */
|
|
899
835
|
})]),
|
|
900
|
-
_: 1
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
_: 1
|
|
907
|
-
/* STABLE */
|
|
908
|
-
|
|
909
|
-
}, 8
|
|
910
|
-
/* PROPS */
|
|
911
|
-
, ["title"])]),
|
|
912
|
-
_: 1
|
|
913
|
-
/* STABLE */
|
|
914
|
-
|
|
915
|
-
}, 8
|
|
916
|
-
/* PROPS */
|
|
917
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_5, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
836
|
+
_: 1 /* STABLE */
|
|
837
|
+
}, 8 /* PROPS */, ["label-width"])]),
|
|
838
|
+
_: 1 /* STABLE */
|
|
839
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
840
|
+
_: 1 /* STABLE */
|
|
841
|
+
}, 8 /* PROPS */, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_5, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
918
842
|
onClick: _cache[14] || (_cache[14] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clip(), ["stop"])),
|
|
919
843
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clip,
|
|
920
844
|
type: "primary"
|
|
921
845
|
}, {
|
|
922
|
-
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).clip), 1
|
|
923
|
-
/*
|
|
924
|
-
|
|
925
|
-
_: 1
|
|
926
|
-
/* STABLE */
|
|
927
|
-
|
|
928
|
-
}, 8
|
|
929
|
-
/* PROPS */
|
|
930
|
-
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
846
|
+
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).clip), 1 /* TEXT */)]),
|
|
847
|
+
_: 1 /* STABLE */
|
|
848
|
+
}, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
931
849
|
onClick: _cache[15] || (_cache[15] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
|
|
932
850
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
933
851
|
}, {
|
|
934
|
-
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
|
|
935
|
-
/*
|
|
936
|
-
|
|
937
|
-
_: 1
|
|
938
|
-
/* STABLE */
|
|
939
|
-
|
|
940
|
-
}, 8
|
|
941
|
-
/* PROPS */
|
|
942
|
-
, ["title"])])])], 2
|
|
943
|
-
/* CLASS */
|
|
944
|
-
);
|
|
852
|
+
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 */)]),
|
|
853
|
+
_: 1 /* STABLE */
|
|
854
|
+
}, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
|
|
945
855
|
};
|
|
946
856
|
}
|
|
947
|
-
|
|
948
857
|
}));
|
|
949
858
|
;// CONCATENATED MODULE: ./src/webgl/planeclip/PlaneClip.vue?vue&type=script&setup=true&lang=js
|
|
950
859
|
|
|
@@ -956,10 +865,13 @@ const __exports__ = PlaneClipvue_type_script_setup_true_lang_js;
|
|
|
956
865
|
|
|
957
866
|
/* harmony default export */ var PlaneClip = (__exports__);
|
|
958
867
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/init.js"
|
|
959
|
-
var init_js_ = __webpack_require__(
|
|
868
|
+
var init_js_ = __webpack_require__(455);
|
|
960
869
|
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
961
870
|
;// CONCATENATED MODULE: ./src/webgl/planeclip/index.js
|
|
962
|
-
|
|
871
|
+
/*
|
|
872
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
873
|
+
* All rights reserved.
|
|
874
|
+
*/
|
|
963
875
|
|
|
964
876
|
|
|
965
877
|
|
|
@@ -968,8 +880,6 @@ PlaneClip.install = (Vue, opts) => {
|
|
|
968
880
|
Vue.component(PlaneClip.name, PlaneClip);
|
|
969
881
|
};
|
|
970
882
|
|
|
971
|
-
|
|
972
|
-
}();
|
|
973
883
|
/******/ return __webpack_exports__;
|
|
974
884
|
/******/ })()
|
|
975
885
|
;
|