@kq_npm/client3d_webgl_vue 4.5.30 → 4.5.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adddata/index.js +227 -496
- package/aspectanalysis/index.js +71 -182
- package/baseterraingallery/index.js +40 -102
- package/boxclip/index.js +197 -423
- package/clientPrint/index.js +7324 -17727
- package/comparemap/index.js +165 -216
- package/compass/index.js +20 -47
- package/excavatefillanalysis/index.js +101 -206
- package/fixedzoomin/index.js +20 -43
- package/fixedzoomout/index.js +18 -42
- package/flight/index.js +206 -353
- package/floodanalysis/index.js +145 -328
- package/geologicalbodyanalysis/index.js +114 -241
- package/gpuspatialquery/index.js +146 -340
- package/hawkeye/index.js +78 -80
- package/headertemp/index.js +8 -19
- package/heatmap3d/index.js +304 -645
- package/index.js +6896 -17544
- package/isolineanalysis/index.js +451 -1183
- package/light/index.js +308 -486
- package/limitheightanalysis/index.js +107 -204
- package/measure/index.js +145 -331
- package/modelFlat/index.js +114 -183
- package/modelexcavate/index.js +78 -172
- package/modelfilter/index.js +127 -252
- package/modelprofileanalysis/index.js +154 -297
- package/modelselect/index.js +90 -128
- package/package.json +1 -1
- package/particleeffect/index.js +170 -381
- package/planeclip/index.js +146 -281
- package/resetview/index.js +12 -31
- package/roller/index.js +252 -353
- package/scaneffect/index.js +178 -518
- package/sceneadvancedtoimage/index.js +152 -337
- package/sceneapp/index.js +7324 -17727
- package/sceneset/index.js +299 -838
- package/scenetohdimage/index.js +105 -276
- package/sceneview/index.js +7324 -17727
- package/screenshot/index.js +204 -281
- package/shadowanalysis/index.js +175 -386
- package/sightlineanalysis/index.js +135 -245
- package/skylineanalysis/index.js +108 -289
- package/slopeanalysis/index.js +174 -378
- package/slopeaspectanalysis/index.js +206 -466
- package/statusbar/index.js +37 -39
- package/terrainoperation/index.js +124 -218
- package/terrainprofileanalysis/index.js +66 -118
- package/typhoontrac/index.js +208 -330
- package/underground/index.js +16 -40
- package/videofusion/index.js +214 -470
- package/videoproject/index.js +220 -472
- package/viewshedanalysis/index.js +93 -230
- package/weathereffect/index.js +111 -295
- package/windyslicing/index.js +545 -727
- package/wireframesketch/index.js +49 -106
package/gpuspatialquery/index.js
CHANGED
|
@@ -19,18 +19,16 @@ return /******/ (function() { // webpackBootstrap
|
|
|
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
20
|
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(7997);
|
|
21
21
|
/* harmony import */ var _init__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_init__WEBPACK_IMPORTED_MODULE_1__);
|
|
22
|
-
/*
|
|
23
|
-
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
24
|
-
* All rights reserved.
|
|
22
|
+
/*
|
|
23
|
+
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
24
|
+
* All rights reserved.
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
|
|
29
28
|
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
30
29
|
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
31
30
|
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
32
31
|
};
|
|
33
|
-
|
|
34
32
|
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
35
33
|
|
|
36
34
|
/***/ }),
|
|
@@ -42,6 +40,13 @@ module.exports = require("@element-plus/icons-vue");
|
|
|
42
40
|
|
|
43
41
|
/***/ }),
|
|
44
42
|
|
|
43
|
+
/***/ 2118:
|
|
44
|
+
/***/ (function(module) {
|
|
45
|
+
|
|
46
|
+
module.exports = require("core-js/modules/es.array.push.js");
|
|
47
|
+
|
|
48
|
+
/***/ }),
|
|
49
|
+
|
|
45
50
|
/***/ 9389:
|
|
46
51
|
/***/ (function(module) {
|
|
47
52
|
|
|
@@ -108,7 +113,6 @@ function _defineProperty(obj, key, value) {
|
|
|
108
113
|
} else {
|
|
109
114
|
obj[key] = value;
|
|
110
115
|
}
|
|
111
|
-
|
|
112
116
|
return obj;
|
|
113
117
|
}
|
|
114
118
|
|
|
@@ -205,6 +209,8 @@ var external_xe_utils_ = __webpack_require__(6869);
|
|
|
205
209
|
var external_xe_utils_default = /*#__PURE__*/__webpack_require__.n(external_xe_utils_);
|
|
206
210
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
207
211
|
var defineProperty = __webpack_require__(8270);
|
|
212
|
+
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
213
|
+
var es_array_push_js_ = __webpack_require__(2118);
|
|
208
214
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
209
215
|
var message = __webpack_require__(1349);
|
|
210
216
|
;// CONCATENATED MODULE: ./src/webgl/gpuspatialquery/GPUSpatialQueryViewModel.js
|
|
@@ -217,30 +223,22 @@ var message = __webpack_require__(1349);
|
|
|
217
223
|
//GPU空间查询逻辑类
|
|
218
224
|
|
|
219
225
|
class GPUSpatialQueryViewModel {
|
|
220
|
-
//GPU查询三维对象
|
|
221
|
-
//绘制管理对象
|
|
222
|
-
//绘制的图形
|
|
223
|
-
//绘制图形的坐标
|
|
224
|
-
//传入参数
|
|
225
|
-
//绘制后的查询事件
|
|
226
|
-
//绘制完成监听事件
|
|
227
226
|
constructor(scenceView, options) {
|
|
228
227
|
(0,defineProperty/* default */.Z)(this, "_gpuSpatialQuery", null);
|
|
229
|
-
|
|
228
|
+
//GPU查询三维对象
|
|
230
229
|
(0,defineProperty/* default */.Z)(this, "_drawManager", null);
|
|
231
|
-
|
|
230
|
+
//绘制管理对象
|
|
232
231
|
(0,defineProperty/* default */.Z)(this, "_geometry", null);
|
|
233
|
-
|
|
232
|
+
//绘制的图形
|
|
234
233
|
(0,defineProperty/* default */.Z)(this, "_center", null);
|
|
235
|
-
|
|
234
|
+
//绘制图形的坐标
|
|
236
235
|
(0,defineProperty/* default */.Z)(this, "_options", null);
|
|
237
|
-
|
|
236
|
+
//传入参数
|
|
238
237
|
(0,defineProperty/* default */.Z)(this, "finishedQuery", null);
|
|
239
|
-
|
|
238
|
+
//绘制后的查询事件
|
|
240
239
|
(0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
|
|
241
|
-
|
|
240
|
+
//绘制完成监听事件
|
|
242
241
|
(0,defineProperty/* default */.Z)(this, "_language", {});
|
|
243
|
-
|
|
244
242
|
this._language = scenceView._language;
|
|
245
243
|
options.viewer = scenceView._viewer;
|
|
246
244
|
options.viewer.scene.globe.depthTestAgainstTerrain = true;
|
|
@@ -256,8 +254,8 @@ class GPUSpatialQueryViewModel {
|
|
|
256
254
|
that._removeEventListener = that._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
257
255
|
if (shape) {
|
|
258
256
|
that._drawManager && that._drawManager.clear();
|
|
259
|
-
that._center = shape.position;
|
|
260
|
-
|
|
257
|
+
that._center = shape.position;
|
|
258
|
+
//that.startQuery();
|
|
261
259
|
setTimeout(() => {
|
|
262
260
|
//绘制跟高亮显示有冲突,所以延时执行查询
|
|
263
261
|
that.startQuery();
|
|
@@ -267,33 +265,27 @@ class GPUSpatialQueryViewModel {
|
|
|
267
265
|
}, 10);
|
|
268
266
|
}
|
|
269
267
|
});
|
|
270
|
-
|
|
271
268
|
that._gpuSpatialQuery.finishSQ.addEventListener(function () {
|
|
272
269
|
// 查询结束后的回调事件,高亮结果
|
|
273
270
|
for (let l = 0; l < that._gpuSpatialQuery._layers.length; l++) {
|
|
274
271
|
//if (that._gpuSpatialQuery._layers[l].sqResult.length != 0) { 该代码导致无法清除高亮效果
|
|
275
272
|
const tileset = that._gpuSpatialQuery._layers[l].layer;
|
|
276
273
|
const queryIds = that._gpuSpatialQuery._layers[l].sqResult;
|
|
277
|
-
|
|
278
274
|
for (let n = 0; n < tileset._selectedTiles.length; n++) {
|
|
279
275
|
const tile = tileset._selectedTiles[n];
|
|
280
276
|
const content = tile.content;
|
|
281
|
-
|
|
282
277
|
if (content) {
|
|
283
278
|
for (let i = 0; i < content.featuresLength; i++) {
|
|
284
279
|
const feature = content.getFeature(i);
|
|
285
280
|
let bFind = false;
|
|
286
|
-
|
|
287
281
|
if (feature.pickId) {
|
|
288
282
|
const id = feature.pickId.key;
|
|
289
|
-
|
|
290
283
|
for (let j = 0; j < queryIds.length; j++) {
|
|
291
284
|
if (queryIds[j] == id) {
|
|
292
285
|
bFind = true;
|
|
293
286
|
}
|
|
294
287
|
}
|
|
295
288
|
}
|
|
296
|
-
|
|
297
289
|
if (bFind) {
|
|
298
290
|
feature.color = Cesium.Color.AQUA;
|
|
299
291
|
} else {
|
|
@@ -302,28 +294,25 @@ class GPUSpatialQueryViewModel {
|
|
|
302
294
|
}
|
|
303
295
|
}
|
|
304
296
|
}
|
|
305
|
-
|
|
306
|
-
|
|
297
|
+
tileset.makeStyleDirty();
|
|
298
|
+
//}
|
|
307
299
|
}
|
|
308
300
|
});
|
|
309
|
-
}
|
|
310
|
-
|
|
301
|
+
}
|
|
311
302
|
|
|
303
|
+
//开始绘制
|
|
312
304
|
start() {
|
|
313
305
|
// 判断是否添加了模型
|
|
314
306
|
var flag = false;
|
|
315
307
|
var models = this._options.viewer.scene.primitives._primitives;
|
|
316
|
-
|
|
317
308
|
for (let i = 0; i < models.length; i++) {
|
|
318
309
|
if (models[i]._url) {
|
|
319
310
|
flag = true;
|
|
320
311
|
}
|
|
321
312
|
}
|
|
322
|
-
|
|
323
313
|
if (flag) {
|
|
324
314
|
this.clear();
|
|
325
315
|
this.findLayers();
|
|
326
|
-
|
|
327
316
|
this._drawManager.startDraw("marker", {
|
|
328
317
|
image: null
|
|
329
318
|
});
|
|
@@ -333,51 +322,45 @@ class GPUSpatialQueryViewModel {
|
|
|
333
322
|
type: "warning"
|
|
334
323
|
});
|
|
335
324
|
}
|
|
336
|
-
}
|
|
337
|
-
|
|
325
|
+
}
|
|
338
326
|
|
|
327
|
+
// 开始查询
|
|
339
328
|
startQuery() {
|
|
340
329
|
this.createGeometry();
|
|
341
|
-
|
|
342
330
|
this._gpuSpatialQuery.setGeom(this._geometry);
|
|
343
|
-
|
|
344
331
|
this._gpuSpatialQuery.setSpaceTopology(this._options.positionMode);
|
|
345
|
-
|
|
346
332
|
this._gpuSpatialQuery.setLayers(this._options.layers);
|
|
347
|
-
|
|
348
333
|
this._gpuSpatialQuery.start();
|
|
349
|
-
}
|
|
350
|
-
|
|
334
|
+
}
|
|
351
335
|
|
|
336
|
+
//清除全部结果
|
|
352
337
|
clear() {
|
|
353
338
|
this._gpuSpatialQuery && this._gpuSpatialQuery.clear();
|
|
354
|
-
|
|
355
339
|
this._drawManager.stopDraw();
|
|
356
|
-
}
|
|
357
|
-
|
|
340
|
+
}
|
|
358
341
|
|
|
342
|
+
//销毁
|
|
359
343
|
destroy() {
|
|
360
|
-
this.clear();
|
|
361
|
-
|
|
362
|
-
this._gpuSpatialQuery = null;
|
|
363
|
-
|
|
344
|
+
this.clear();
|
|
345
|
+
// this._gpuSpatialQuery && this._gpuSpatialQuery.destroy();
|
|
346
|
+
this._gpuSpatialQuery = null;
|
|
347
|
+
//移除监听事件
|
|
364
348
|
this._removeEventListener && this._removeEventListener();
|
|
365
349
|
this._removeEventListener = null;
|
|
366
|
-
}
|
|
367
|
-
|
|
350
|
+
}
|
|
368
351
|
|
|
352
|
+
// 查找所有3dtiles模型对象
|
|
369
353
|
findLayers() {
|
|
370
354
|
this._options.layers = [];
|
|
371
355
|
const primitives = this._options.viewer.scene.primitives._primitives;
|
|
372
|
-
|
|
373
356
|
for (let m = 0; m < primitives.length; m++) {
|
|
374
357
|
if (primitives[m] instanceof Cesium.Cesium3DTileset) {
|
|
375
358
|
this._options.layers.push(new Cesium.Kq3dLayerQuery(primitives[m]));
|
|
376
359
|
}
|
|
377
360
|
}
|
|
378
|
-
}
|
|
379
|
-
|
|
361
|
+
}
|
|
380
362
|
|
|
363
|
+
//创建查询体
|
|
381
364
|
createGeometry() {
|
|
382
365
|
switch (this._options.volumeType) {
|
|
383
366
|
case 0:
|
|
@@ -389,7 +372,6 @@ class GPUSpatialQueryViewModel {
|
|
|
389
372
|
};
|
|
390
373
|
this._geometry = new Cesium.Kq3dGeoBox(options0);
|
|
391
374
|
break;
|
|
392
|
-
|
|
393
375
|
case 1:
|
|
394
376
|
var options1 = {
|
|
395
377
|
position: this._center,
|
|
@@ -397,7 +379,6 @@ class GPUSpatialQueryViewModel {
|
|
|
397
379
|
};
|
|
398
380
|
this._geometry = new Cesium.Kq3dGeoSphere(options1);
|
|
399
381
|
break;
|
|
400
|
-
|
|
401
382
|
case 2:
|
|
402
383
|
var options2 = {
|
|
403
384
|
position: this._center,
|
|
@@ -407,7 +388,6 @@ class GPUSpatialQueryViewModel {
|
|
|
407
388
|
};
|
|
408
389
|
this._geometry = new Cesium.Kq3dGeoCylinder(options2);
|
|
409
390
|
break;
|
|
410
|
-
|
|
411
391
|
case 3:
|
|
412
392
|
var options3 = {
|
|
413
393
|
position: this._center,
|
|
@@ -417,7 +397,6 @@ class GPUSpatialQueryViewModel {
|
|
|
417
397
|
};
|
|
418
398
|
this._geometry = new Cesium.Kq3dGeoEllipsoid(options3);
|
|
419
399
|
break;
|
|
420
|
-
|
|
421
400
|
case 4:
|
|
422
401
|
var options4 = {
|
|
423
402
|
position: this._center,
|
|
@@ -426,11 +405,9 @@ class GPUSpatialQueryViewModel {
|
|
|
426
405
|
};
|
|
427
406
|
this._geometry = new Cesium.Kq3dGeoCone(options4);
|
|
428
407
|
break;
|
|
429
|
-
|
|
430
408
|
default:
|
|
431
409
|
break;
|
|
432
410
|
}
|
|
433
|
-
|
|
434
411
|
if (this._geometry) {
|
|
435
412
|
this._geometry.scaleX = this._options.scale;
|
|
436
413
|
this._geometry.scaleY = this._options.scale;
|
|
@@ -439,79 +416,67 @@ class GPUSpatialQueryViewModel {
|
|
|
439
416
|
this._geometry.rotationY = this._options.yAngle;
|
|
440
417
|
this._geometry.rotationZ = this._options.zAngle;
|
|
441
418
|
}
|
|
442
|
-
}
|
|
443
|
-
|
|
419
|
+
}
|
|
444
420
|
|
|
421
|
+
//查询体类型
|
|
445
422
|
setType(type) {
|
|
446
423
|
this._options.volumeType = type;
|
|
447
424
|
this.createGeometry();
|
|
448
|
-
|
|
449
425
|
if (this._gpuSpatialQuery) {
|
|
450
426
|
this._gpuSpatialQuery.setGeom(this._geometry);
|
|
451
|
-
|
|
452
427
|
this._gpuSpatialQuery.start();
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
}
|
|
456
|
-
|
|
428
|
+
}
|
|
429
|
+
//this.startQuery();
|
|
430
|
+
}
|
|
457
431
|
|
|
432
|
+
//查询体模式 相交 相离 包含
|
|
458
433
|
setMode(mode) {
|
|
459
434
|
this._options.positionMode = mode;
|
|
460
|
-
|
|
461
435
|
if (this._gpuSpatialQuery) {
|
|
462
436
|
this._gpuSpatialQuery.setSpaceTopology(mode);
|
|
463
|
-
|
|
464
437
|
this._gpuSpatialQuery.start();
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
}
|
|
468
|
-
|
|
438
|
+
}
|
|
439
|
+
//this.startQuery();
|
|
440
|
+
}
|
|
469
441
|
|
|
442
|
+
//查询体缩放
|
|
470
443
|
setScale(scale) {
|
|
471
444
|
this._options.scale = scale;
|
|
472
|
-
|
|
473
445
|
if (this._geometry) {
|
|
474
446
|
this._geometry.scaleX = scale;
|
|
475
447
|
this._geometry.scaleY = scale;
|
|
476
448
|
this._geometry.scaleZ = scale;
|
|
477
449
|
this._gpuSpatialQuery && this._gpuSpatialQuery.start();
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
|
|
450
|
+
}
|
|
451
|
+
//this.startQuery();
|
|
452
|
+
}
|
|
453
|
+
//查询体绕X轴旋转
|
|
483
454
|
setXangle(xAngle) {
|
|
484
455
|
this._options.xAngle = xAngle;
|
|
485
|
-
|
|
486
456
|
if (this._geometry) {
|
|
487
457
|
this._geometry.rotationX = xAngle;
|
|
488
458
|
this._gpuSpatialQuery && this._gpuSpatialQuery.start();
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
|
|
459
|
+
}
|
|
460
|
+
//this.startQuery();
|
|
461
|
+
}
|
|
462
|
+
//查询体绕Y轴旋转
|
|
494
463
|
setYangle(yAngle) {
|
|
495
464
|
this._options.yAngle = yAngle;
|
|
496
|
-
|
|
497
465
|
if (this._geometry) {
|
|
498
466
|
this._geometry.rotationY = yAngle;
|
|
499
467
|
this._gpuSpatialQuery && this._gpuSpatialQuery.start();
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
|
|
468
|
+
}
|
|
469
|
+
//this.startQuery();
|
|
470
|
+
}
|
|
471
|
+
//查询体绕Z轴旋转
|
|
505
472
|
setZangle(zAngle) {
|
|
506
473
|
this._options.zAngle = zAngle;
|
|
507
|
-
|
|
508
474
|
if (this._geometry) {
|
|
509
475
|
this._geometry.rotationZ = zAngle;
|
|
510
476
|
this._gpuSpatialQuery && this._gpuSpatialQuery.start();
|
|
511
|
-
}
|
|
512
|
-
|
|
477
|
+
}
|
|
478
|
+
//this.startQuery();
|
|
513
479
|
}
|
|
514
|
-
|
|
515
480
|
}
|
|
516
481
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/util"
|
|
517
482
|
var util_ = __webpack_require__(3458);
|
|
@@ -541,23 +506,19 @@ const __default__ = {
|
|
|
541
506
|
volumeType: {
|
|
542
507
|
type: Number,
|
|
543
508
|
default: 0,
|
|
544
|
-
|
|
545
509
|
validator(value) {
|
|
546
510
|
// 输入值必须被包含
|
|
547
511
|
return external_xe_utils_default().includeArrays([0, 1, 2, 3, 4], value);
|
|
548
512
|
}
|
|
549
|
-
|
|
550
513
|
},
|
|
551
514
|
// 空间关系
|
|
552
515
|
positionMode: {
|
|
553
516
|
type: Number,
|
|
554
517
|
default: 0,
|
|
555
|
-
|
|
556
518
|
validator(value) {
|
|
557
519
|
// 输入值必须被包含
|
|
558
520
|
return external_xe_utils_default().includeArrays([0, 1, 2], value);
|
|
559
521
|
}
|
|
560
|
-
|
|
561
522
|
},
|
|
562
523
|
// 设置参数
|
|
563
524
|
settingParams: {
|
|
@@ -568,7 +529,6 @@ const __default__ = {
|
|
|
568
529
|
type: Boolean,
|
|
569
530
|
default: true
|
|
570
531
|
},
|
|
571
|
-
|
|
572
532
|
/**
|
|
573
533
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
574
534
|
*/
|
|
@@ -598,7 +558,6 @@ const __default__ = {
|
|
|
598
558
|
default: true
|
|
599
559
|
}
|
|
600
560
|
},
|
|
601
|
-
|
|
602
561
|
setup(__props, {
|
|
603
562
|
expose: __expose
|
|
604
563
|
}) {
|
|
@@ -606,7 +565,9 @@ const __default__ = {
|
|
|
606
565
|
const {
|
|
607
566
|
proxy
|
|
608
567
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
609
|
-
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
|
|
568
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
|
|
569
|
+
|
|
570
|
+
// 获取组件传参
|
|
610
571
|
|
|
611
572
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
612
573
|
collapseValue: props.settingParams && props.settingParams.collapseValue || ((props.settingParams && props.settingParams.collapseValue) == '' ? "" : "setting"),
|
|
@@ -638,15 +599,17 @@ const __default__ = {
|
|
|
638
599
|
minZRotate: props.settingParams && props.settingParams.minZRotate || 0,
|
|
639
600
|
// 绕Z轴旋转最小值
|
|
640
601
|
maxZRotate: props.settingParams && props.settingParams.maxZRotate || 90 // 绕Z轴旋转最大值
|
|
641
|
-
|
|
642
602
|
});
|
|
643
|
-
let viewModel = null;
|
|
603
|
+
let viewModel = null;
|
|
644
604
|
|
|
645
|
-
|
|
605
|
+
// 组件容器Ref
|
|
606
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
646
607
|
|
|
608
|
+
// 生成组件默认header
|
|
647
609
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
648
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
610
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
649
611
|
|
|
612
|
+
// 国际化
|
|
650
613
|
let {
|
|
651
614
|
locale,
|
|
652
615
|
messages
|
|
@@ -681,93 +644,71 @@ const __default__ = {
|
|
|
681
644
|
}
|
|
682
645
|
});
|
|
683
646
|
});
|
|
647
|
+
|
|
684
648
|
/**
|
|
685
649
|
* @description 监听header生成
|
|
686
650
|
*/
|
|
687
|
-
|
|
688
651
|
const watchCreateHeaderTemp = () => {
|
|
689
652
|
if (props.showHeaderTemp) {
|
|
690
653
|
// 生成headerTemp
|
|
691
654
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
692
655
|
}
|
|
693
|
-
};
|
|
694
|
-
|
|
656
|
+
};
|
|
695
657
|
|
|
658
|
+
// 参数切换
|
|
696
659
|
function paramsChanged(key) {
|
|
697
660
|
switch (key) {
|
|
698
661
|
case "type":
|
|
699
662
|
viewModel.setType(formItem.volumeType);
|
|
700
663
|
break;
|
|
701
|
-
|
|
702
664
|
case "mode":
|
|
703
665
|
viewModel.setMode(formItem.positionMode);
|
|
704
666
|
break;
|
|
705
|
-
|
|
706
667
|
case "scale":
|
|
707
668
|
viewModel.setScale(formItem.scale);
|
|
708
669
|
break;
|
|
709
|
-
|
|
710
670
|
case "xRotate":
|
|
711
671
|
viewModel.setXangle(formItem.xRotate);
|
|
712
672
|
break;
|
|
713
|
-
|
|
714
673
|
case "yRotate":
|
|
715
674
|
viewModel.setYangle(formItem.yRotate);
|
|
716
675
|
break;
|
|
717
|
-
|
|
718
676
|
case "zRotate":
|
|
719
677
|
viewModel.setZangle(formItem.zRotate);
|
|
720
678
|
break;
|
|
721
|
-
|
|
722
679
|
default:
|
|
723
680
|
break;
|
|
724
681
|
}
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
|
|
682
|
+
}
|
|
683
|
+
// 查询
|
|
728
684
|
function query() {
|
|
729
685
|
viewModel && viewModel.start();
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
|
|
686
|
+
}
|
|
687
|
+
// 重置
|
|
733
688
|
function reset() {
|
|
734
689
|
viewModel && viewModel.clear();
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
|
|
690
|
+
}
|
|
691
|
+
// 销毁
|
|
738
692
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
739
693
|
viewModel && viewModel.destroy();
|
|
740
694
|
});
|
|
741
|
-
|
|
742
695
|
__expose({
|
|
743
696
|
paramsChanged,
|
|
744
697
|
query,
|
|
745
698
|
reset
|
|
746
699
|
});
|
|
747
|
-
|
|
748
700
|
return (_ctx, _cache) => {
|
|
749
701
|
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
750
|
-
|
|
751
702
|
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
752
|
-
|
|
753
703
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
754
|
-
|
|
755
704
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
756
|
-
|
|
757
705
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
758
|
-
|
|
759
706
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
760
|
-
|
|
761
707
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
762
|
-
|
|
763
708
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
764
|
-
|
|
765
709
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
766
|
-
|
|
767
710
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
768
|
-
|
|
769
711
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
770
|
-
|
|
771
712
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
772
713
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-gpu-spatial-query", {
|
|
773
714
|
'kq-box-shadow': __props.showShadow
|
|
@@ -778,9 +719,7 @@ const __default__ = {
|
|
|
778
719
|
key: 0,
|
|
779
720
|
ref_key: "headerTempRef",
|
|
780
721
|
ref: headerTempRef
|
|
781
|
-
}, null, 512
|
|
782
|
-
/* NEED_PATCH */
|
|
783
|
-
)) : (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_form, {
|
|
722
|
+
}, 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_form, {
|
|
784
723
|
"label-width": "100px",
|
|
785
724
|
"label-position": "left"
|
|
786
725
|
}, {
|
|
@@ -796,44 +735,24 @@ const __default__ = {
|
|
|
796
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, {
|
|
797
736
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).cube,
|
|
798
737
|
value: 0
|
|
799
|
-
}, null, 8
|
|
800
|
-
/* PROPS */
|
|
801
|
-
, ["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, {
|
|
802
739
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).sphere,
|
|
803
740
|
value: 1
|
|
804
|
-
}, null, 8
|
|
805
|
-
/* PROPS */
|
|
806
|
-
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
741
|
+
}, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
807
742
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).cylinder,
|
|
808
743
|
value: 2
|
|
809
|
-
}, null, 8
|
|
810
|
-
/* PROPS */
|
|
811
|
-
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
744
|
+
}, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
812
745
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).ellipsoid,
|
|
813
746
|
value: 3
|
|
814
|
-
}, null, 8
|
|
815
|
-
/* PROPS */
|
|
816
|
-
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
747
|
+
}, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
817
748
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).cone,
|
|
818
749
|
value: 4
|
|
819
|
-
}, null, 8
|
|
820
|
-
/*
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
}, 8
|
|
826
|
-
/* PROPS */
|
|
827
|
-
, ["modelValue"])]),
|
|
828
|
-
_: 1
|
|
829
|
-
/* STABLE */
|
|
830
|
-
|
|
831
|
-
}, 8
|
|
832
|
-
/* PROPS */
|
|
833
|
-
, ["label"])]),
|
|
834
|
-
_: 1
|
|
835
|
-
/* STABLE */
|
|
836
|
-
|
|
750
|
+
}, null, 8 /* PROPS */, ["label"])]),
|
|
751
|
+
_: 1 /* STABLE */
|
|
752
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
753
|
+
_: 1 /* STABLE */
|
|
754
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
755
|
+
_: 1 /* STABLE */
|
|
837
756
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
838
757
|
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, {
|
|
839
758
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).locaLMode
|
|
@@ -846,47 +765,25 @@ const __default__ = {
|
|
|
846
765
|
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, {
|
|
847
766
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).intersect,
|
|
848
767
|
value: 0
|
|
849
|
-
}, null, 8
|
|
850
|
-
/* PROPS */
|
|
851
|
-
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
768
|
+
}, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
852
769
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).disjoint,
|
|
853
770
|
value: 1
|
|
854
|
-
}, null, 8
|
|
855
|
-
/* PROPS */
|
|
856
|
-
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
771
|
+
}, null, 8 /* PROPS */, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
857
772
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).contain,
|
|
858
773
|
value: 2
|
|
859
|
-
}, null, 8
|
|
860
|
-
/*
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
}, 8
|
|
866
|
-
/* PROPS */
|
|
867
|
-
, ["modelValue"])]),
|
|
868
|
-
_: 1
|
|
869
|
-
/* STABLE */
|
|
870
|
-
|
|
871
|
-
}, 8
|
|
872
|
-
/* PROPS */
|
|
873
|
-
, ["label"])]),
|
|
874
|
-
_: 1
|
|
875
|
-
/* STABLE */
|
|
876
|
-
|
|
774
|
+
}, null, 8 /* PROPS */, ["label"])]),
|
|
775
|
+
_: 1 /* STABLE */
|
|
776
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
777
|
+
_: 1 /* STABLE */
|
|
778
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
779
|
+
_: 1 /* STABLE */
|
|
877
780
|
})]),
|
|
878
|
-
_: 1
|
|
879
|
-
/* STABLE */
|
|
880
|
-
|
|
781
|
+
_: 1 /* STABLE */
|
|
881
782
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
882
783
|
class: "kq3d-gpu-spatial-query-tip"
|
|
883
784
|
}, {
|
|
884
|
-
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).queryTips), 1
|
|
885
|
-
/*
|
|
886
|
-
)]),
|
|
887
|
-
_: 1
|
|
888
|
-
/* STABLE */
|
|
889
|
-
|
|
785
|
+
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).queryTips), 1 /* TEXT */)]),
|
|
786
|
+
_: 1 /* STABLE */
|
|
890
787
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
891
788
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue,
|
|
892
789
|
class: "kq3d-gpu-spatial-query-set-title"
|
|
@@ -918,12 +815,8 @@ const __default__ = {
|
|
|
918
815
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minScale,
|
|
919
816
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxScale,
|
|
920
817
|
onChange: _cache[5] || (_cache[5] = $event => paramsChanged('scale'))
|
|
921
|
-
}, null, 8
|
|
922
|
-
/*
|
|
923
|
-
, ["modelValue", "step", "min", "max"])]),
|
|
924
|
-
_: 1
|
|
925
|
-
/* STABLE */
|
|
926
|
-
|
|
818
|
+
}, null, 8 /* PROPS */, ["modelValue", "step", "min", "max"])]),
|
|
819
|
+
_: 1 /* STABLE */
|
|
927
820
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
928
821
|
span: 8
|
|
929
822
|
}, {
|
|
@@ -935,26 +828,14 @@ const __default__ = {
|
|
|
935
828
|
step: 0.1,
|
|
936
829
|
"controls-position": "right",
|
|
937
830
|
onChange: _cache[7] || (_cache[7] = $event => paramsChanged('scale'))
|
|
938
|
-
}, null, 8
|
|
939
|
-
/*
|
|
940
|
-
, ["modelValue", "min", "max", "step"])]),
|
|
941
|
-
_: 1
|
|
942
|
-
/* STABLE */
|
|
943
|
-
|
|
831
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max", "step"])]),
|
|
832
|
+
_: 1 /* STABLE */
|
|
944
833
|
})]),
|
|
945
|
-
_: 1
|
|
946
|
-
/* STABLE */
|
|
947
|
-
|
|
834
|
+
_: 1 /* STABLE */
|
|
948
835
|
})]),
|
|
949
|
-
_: 1
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
}, 8
|
|
953
|
-
/* PROPS */
|
|
954
|
-
, ["label"])]),
|
|
955
|
-
_: 1
|
|
956
|
-
/* STABLE */
|
|
957
|
-
|
|
836
|
+
_: 1 /* STABLE */
|
|
837
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
838
|
+
_: 1 /* STABLE */
|
|
958
839
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
959
840
|
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, {
|
|
960
841
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).xRotate
|
|
@@ -974,12 +855,8 @@ const __default__ = {
|
|
|
974
855
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minXRotate,
|
|
975
856
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxXRotate,
|
|
976
857
|
onChange: _cache[9] || (_cache[9] = $event => paramsChanged('xRotate'))
|
|
977
|
-
}, null, 8
|
|
978
|
-
/*
|
|
979
|
-
, ["modelValue", "min", "max"])]),
|
|
980
|
-
_: 1
|
|
981
|
-
/* STABLE */
|
|
982
|
-
|
|
858
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
859
|
+
_: 1 /* STABLE */
|
|
983
860
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
984
861
|
span: 8
|
|
985
862
|
}, {
|
|
@@ -991,26 +868,14 @@ const __default__ = {
|
|
|
991
868
|
step: 1,
|
|
992
869
|
"controls-position": "right",
|
|
993
870
|
onChange: _cache[11] || (_cache[11] = $event => paramsChanged('xRotate'))
|
|
994
|
-
}, null, 8
|
|
995
|
-
/*
|
|
996
|
-
, ["modelValue", "min", "max"])]),
|
|
997
|
-
_: 1
|
|
998
|
-
/* STABLE */
|
|
999
|
-
|
|
871
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
872
|
+
_: 1 /* STABLE */
|
|
1000
873
|
})]),
|
|
1001
|
-
_: 1
|
|
1002
|
-
/* STABLE */
|
|
1003
|
-
|
|
874
|
+
_: 1 /* STABLE */
|
|
1004
875
|
})]),
|
|
1005
|
-
_: 1
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
}, 8
|
|
1009
|
-
/* PROPS */
|
|
1010
|
-
, ["label"])]),
|
|
1011
|
-
_: 1
|
|
1012
|
-
/* STABLE */
|
|
1013
|
-
|
|
876
|
+
_: 1 /* STABLE */
|
|
877
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
878
|
+
_: 1 /* STABLE */
|
|
1014
879
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1015
880
|
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, {
|
|
1016
881
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).yRotate
|
|
@@ -1030,12 +895,8 @@ const __default__ = {
|
|
|
1030
895
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minXRotate,
|
|
1031
896
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxXRotate,
|
|
1032
897
|
onChange: _cache[13] || (_cache[13] = $event => paramsChanged('yRotate'))
|
|
1033
|
-
}, null, 8
|
|
1034
|
-
/*
|
|
1035
|
-
, ["modelValue", "min", "max"])]),
|
|
1036
|
-
_: 1
|
|
1037
|
-
/* STABLE */
|
|
1038
|
-
|
|
898
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
899
|
+
_: 1 /* STABLE */
|
|
1039
900
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1040
901
|
span: 8
|
|
1041
902
|
}, {
|
|
@@ -1047,26 +908,14 @@ const __default__ = {
|
|
|
1047
908
|
step: 1,
|
|
1048
909
|
"controls-position": "right",
|
|
1049
910
|
onChange: _cache[15] || (_cache[15] = $event => paramsChanged('yRotate'))
|
|
1050
|
-
}, null, 8
|
|
1051
|
-
/*
|
|
1052
|
-
, ["modelValue", "min", "max"])]),
|
|
1053
|
-
_: 1
|
|
1054
|
-
/* STABLE */
|
|
1055
|
-
|
|
911
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
912
|
+
_: 1 /* STABLE */
|
|
1056
913
|
})]),
|
|
1057
|
-
_: 1
|
|
1058
|
-
/* STABLE */
|
|
1059
|
-
|
|
914
|
+
_: 1 /* STABLE */
|
|
1060
915
|
})]),
|
|
1061
|
-
_: 1
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
}, 8
|
|
1065
|
-
/* PROPS */
|
|
1066
|
-
, ["label"])]),
|
|
1067
|
-
_: 1
|
|
1068
|
-
/* STABLE */
|
|
1069
|
-
|
|
916
|
+
_: 1 /* STABLE */
|
|
917
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
918
|
+
_: 1 /* STABLE */
|
|
1070
919
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
1071
920
|
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, {
|
|
1072
921
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).zRotate
|
|
@@ -1086,12 +935,8 @@ const __default__ = {
|
|
|
1086
935
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minZRotate,
|
|
1087
936
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxZRotate,
|
|
1088
937
|
onChange: _cache[17] || (_cache[17] = $event => paramsChanged('zRotate'))
|
|
1089
|
-
}, null, 8
|
|
1090
|
-
/*
|
|
1091
|
-
, ["modelValue", "min", "max"])]),
|
|
1092
|
-
_: 1
|
|
1093
|
-
/* STABLE */
|
|
1094
|
-
|
|
938
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
939
|
+
_: 1 /* STABLE */
|
|
1095
940
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
1096
941
|
span: 8
|
|
1097
942
|
}, {
|
|
@@ -1103,73 +948,36 @@ const __default__ = {
|
|
|
1103
948
|
step: 1,
|
|
1104
949
|
"controls-position": "right",
|
|
1105
950
|
onChange: _cache[19] || (_cache[19] = $event => paramsChanged('zRotate'))
|
|
1106
|
-
}, null, 8
|
|
1107
|
-
/*
|
|
1108
|
-
, ["modelValue", "min", "max"])]),
|
|
1109
|
-
_: 1
|
|
1110
|
-
/* STABLE */
|
|
1111
|
-
|
|
951
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
952
|
+
_: 1 /* STABLE */
|
|
1112
953
|
})]),
|
|
1113
|
-
_: 1
|
|
1114
|
-
/* STABLE */
|
|
1115
|
-
|
|
954
|
+
_: 1 /* STABLE */
|
|
1116
955
|
})]),
|
|
1117
|
-
_: 1
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
}, 8
|
|
1121
|
-
/* PROPS */
|
|
1122
|
-
, ["label"])]),
|
|
1123
|
-
_: 1
|
|
1124
|
-
/* STABLE */
|
|
1125
|
-
|
|
956
|
+
_: 1 /* STABLE */
|
|
957
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
958
|
+
_: 1 /* STABLE */
|
|
1126
959
|
})]),
|
|
1127
|
-
_: 1
|
|
1128
|
-
/* STABLE */
|
|
1129
|
-
|
|
960
|
+
_: 1 /* STABLE */
|
|
1130
961
|
})]),
|
|
1131
|
-
_: 1
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
/* PROPS */
|
|
1136
|
-
, ["title"])]),
|
|
1137
|
-
_: 1
|
|
1138
|
-
/* STABLE */
|
|
1139
|
-
|
|
1140
|
-
}, 8
|
|
1141
|
-
/* PROPS */
|
|
1142
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
962
|
+
_: 1 /* STABLE */
|
|
963
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
964
|
+
_: 1 /* STABLE */
|
|
965
|
+
}, 8 /* PROPS */, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1143
966
|
onClick: _cache[20] || (_cache[20] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => query(), ["stop"])),
|
|
1144
967
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).gpuQuery,
|
|
1145
968
|
type: "primary"
|
|
1146
969
|
}, {
|
|
1147
|
-
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).gpuQuery), 1
|
|
1148
|
-
/*
|
|
1149
|
-
|
|
1150
|
-
_: 1
|
|
1151
|
-
/* STABLE */
|
|
1152
|
-
|
|
1153
|
-
}, 8
|
|
1154
|
-
/* PROPS */
|
|
1155
|
-
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
970
|
+
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).gpuQuery), 1 /* TEXT */)]),
|
|
971
|
+
_: 1 /* STABLE */
|
|
972
|
+
}, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1156
973
|
onClick: _cache[21] || (_cache[21] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => reset(), ["stop"])),
|
|
1157
974
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clear
|
|
1158
975
|
}, {
|
|
1159
|
-
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
|
|
1160
|
-
/*
|
|
1161
|
-
|
|
1162
|
-
_: 1
|
|
1163
|
-
/* STABLE */
|
|
1164
|
-
|
|
1165
|
-
}, 8
|
|
1166
|
-
/* PROPS */
|
|
1167
|
-
, ["title"])])])], 2
|
|
1168
|
-
/* CLASS */
|
|
1169
|
-
);
|
|
976
|
+
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 */)]),
|
|
977
|
+
_: 1 /* STABLE */
|
|
978
|
+
}, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
|
|
1170
979
|
};
|
|
1171
980
|
}
|
|
1172
|
-
|
|
1173
981
|
}));
|
|
1174
982
|
;// CONCATENATED MODULE: ./src/webgl/gpuspatialquery/GPUSpatialQuery.vue?vue&type=script&setup=true&lang=js
|
|
1175
983
|
|
|
@@ -1191,13 +999,11 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
|
1191
999
|
|
|
1192
1000
|
|
|
1193
1001
|
|
|
1194
|
-
|
|
1195
1002
|
GPUSpatialQuery.install = (Vue, opts) => {
|
|
1196
1003
|
init_js_default()(Vue, opts);
|
|
1197
1004
|
Vue.component(GPUSpatialQuery.name, GPUSpatialQuery);
|
|
1198
1005
|
};
|
|
1199
1006
|
|
|
1200
|
-
|
|
1201
1007
|
}();
|
|
1202
1008
|
/******/ return __webpack_exports__;
|
|
1203
1009
|
/******/ })()
|