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