@kq_npm/client3d_webgl_vue 4.5.31 → 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 +226 -495
- package/aspectanalysis/index.js +71 -182
- package/baseterraingallery/index.js +40 -102
- package/boxclip/index.js +197 -423
- package/clientPrint/index.js +6953 -17145
- 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 +6525 -16962
- 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 +6953 -17145
- package/sceneset/index.js +299 -838
- package/scenetohdimage/index.js +105 -276
- package/sceneview/index.js +6953 -17145
- 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 +165 -321
- 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 +262 -695
- package/wireframesketch/index.js +49 -106
package/scenetohdimage/index.js
CHANGED
|
@@ -20,7 +20,6 @@ return /******/ (function() { // webpackBootstrap
|
|
|
20
20
|
/* harmony export */ });
|
|
21
21
|
/* harmony import */ var _Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8270);
|
|
22
22
|
|
|
23
|
-
|
|
24
23
|
/*
|
|
25
24
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
26
25
|
* All rights reserved.
|
|
@@ -33,13 +32,9 @@ class SceneToHDImageViewModel {
|
|
|
33
32
|
// 输出图片区域
|
|
34
33
|
constructor(scenceView, options) {
|
|
35
34
|
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_viewer", null);
|
|
36
|
-
|
|
37
35
|
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_options", null);
|
|
38
|
-
|
|
39
36
|
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_canvasToImage", null);
|
|
40
|
-
|
|
41
37
|
(0,_Users_zpc_Documents_KQGEOSpace_KQGISClientForVue_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .Z)(this, "_exportPictureRegion", null);
|
|
42
|
-
|
|
43
38
|
this._viewer = scenceView._viewer;
|
|
44
39
|
this._options = options;
|
|
45
40
|
this._viewer.enabledFXAA = true;
|
|
@@ -47,55 +42,49 @@ class SceneToHDImageViewModel {
|
|
|
47
42
|
this._exportPictureRegion.class = "export-picture-region";
|
|
48
43
|
this._exportPictureRegion.id = "exportPictureRegion";
|
|
49
44
|
document.getElementById(this._viewer._container.id).parentNode.insertBefore(this._exportPictureRegion, null);
|
|
50
|
-
document.getElementById(this._viewer._container.id).classList.add('scene-to-hd-image-viewer');
|
|
51
|
-
|
|
45
|
+
document.getElementById(this._viewer._container.id).classList.add('scene-to-hd-image-viewer');
|
|
46
|
+
//声明场景出图类
|
|
52
47
|
this._canvasToImage = new Cesium.Kq3dCanvasToImage(this._viewer._container.id, {
|
|
53
48
|
viewer: this._viewer,
|
|
54
49
|
canvas: this._viewer.scene.canvas
|
|
55
50
|
});
|
|
56
51
|
this.resizeExportRegionSize();
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
|
|
52
|
+
}
|
|
53
|
+
// 重置输出图片尺寸
|
|
60
54
|
resizeExportRegionSize() {
|
|
61
55
|
document.getElementById('exportPictureRegion').style.width = Number(this._options.imgWidth) * Number(this._options.pantographRatio) + 'px';
|
|
62
56
|
document.getElementById('exportPictureRegion').style.height = Number(this._options.imgHeight) * Number(this._options.pantographRatio) + 'px';
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
57
|
+
}
|
|
58
|
+
// 出图
|
|
66
59
|
sceneToImages() {
|
|
67
60
|
var width = Number(this._options.imgWidth),
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
61
|
+
height = Number(this._options.imgHeight),
|
|
62
|
+
resolutionWidth = Number(this._options.screenWidth),
|
|
63
|
+
resolutionHeight = Number(this._options.screenHeight);
|
|
71
64
|
|
|
65
|
+
//设置宽、高、图片类型
|
|
72
66
|
var options = {
|
|
73
67
|
width: width,
|
|
74
68
|
//图片宽度
|
|
75
69
|
height: height,
|
|
76
70
|
//图片高度
|
|
77
71
|
type: this._options.imgFormat //图片类型
|
|
78
|
-
|
|
79
72
|
};
|
|
80
|
-
|
|
81
73
|
if (width == resolutionWidth && height == resolutionHeight) {
|
|
82
74
|
this._canvasToImage.saveAsimages(this._viewer.scene.canvas, options);
|
|
83
75
|
} else {
|
|
84
76
|
this._viewer.render();
|
|
85
|
-
|
|
86
77
|
var startX = (resolutionWidth - width) / 2,
|
|
87
|
-
|
|
78
|
+
startY = (resolutionHeight - height) / 2;
|
|
88
79
|
var canvas = document.createElement('canvas');
|
|
89
80
|
canvas.width = width;
|
|
90
81
|
canvas.height = height;
|
|
91
82
|
var newCtx = canvas.getContext("2d");
|
|
92
83
|
newCtx.drawImage(this._viewer.canvas, startX, startY, width, height, 0, 0, width, height);
|
|
93
|
-
|
|
94
84
|
this._canvasToImage.saveAsimages(canvas, options);
|
|
95
85
|
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
|
|
86
|
+
}
|
|
87
|
+
// 重新设置场景尺寸
|
|
99
88
|
scaleCesiumContainer() {
|
|
100
89
|
// var bWidth = document.getElementById(this._viewer._container.id).parentNode.clientWidth,
|
|
101
90
|
// bHeight = document.getElementById(this._viewer._container.id).parentNode.clientHeight;
|
|
@@ -105,29 +94,26 @@ class SceneToHDImageViewModel {
|
|
|
105
94
|
// hRatio = bHeight / height;
|
|
106
95
|
// var scale = Math.min(wRatio, hRatio);
|
|
107
96
|
document.getElementById(this._viewer._container.id).style.width = Number(this._options.screenWidth) + 'px';
|
|
108
|
-
document.getElementById(this._viewer._container.id).style.height = Number(this._options.screenHeight) + 'px';
|
|
97
|
+
document.getElementById(this._viewer._container.id).style.height = Number(this._options.screenHeight) + 'px';
|
|
98
|
+
// document.getElementById(this._viewer._container.id).style.transform = `translate(-50%,-50%) scale(${scale > 1 ? 1 : scale})`;
|
|
109
99
|
// this._options.pantographRatio = scale > 1 ? 1 : scale;
|
|
110
100
|
// if (call) call(this._options.pantographRatio)
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
|
|
101
|
+
}
|
|
102
|
+
// 切换显示区域
|
|
114
103
|
changeDisplayArea() {
|
|
115
104
|
document.getElementById('exportPictureRegion').style.display = this._options.displayArea ? 'block' : 'none';
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
|
|
105
|
+
}
|
|
106
|
+
// 调整出图范围尺寸
|
|
119
107
|
changPantographRatio() {
|
|
120
108
|
this._viewer.container.style.transform = `translate(-50%,-50%) scale(${this._options.pantographRatio})`;
|
|
121
109
|
this.resizeExportRegionSize();
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
|
|
110
|
+
}
|
|
111
|
+
// 销毁
|
|
125
112
|
destroy() {
|
|
126
113
|
document.getElementById(this._viewer._container.id).classList.remove('scene-to-hd-image-viewer');
|
|
127
114
|
document.getElementById(this._viewer._container.id).removeAttribute('style');
|
|
128
115
|
document.getElementById('exportPictureRegion').remove();
|
|
129
116
|
}
|
|
130
|
-
|
|
131
117
|
}
|
|
132
118
|
|
|
133
119
|
/***/ }),
|
|
@@ -191,7 +177,6 @@ function _defineProperty(obj, key, value) {
|
|
|
191
177
|
} else {
|
|
192
178
|
obj[key] = value;
|
|
193
179
|
}
|
|
194
|
-
|
|
195
180
|
return obj;
|
|
196
181
|
}
|
|
197
182
|
|
|
@@ -317,7 +302,6 @@ const __default__ = {
|
|
|
317
302
|
type: Boolean,
|
|
318
303
|
default: true
|
|
319
304
|
},
|
|
320
|
-
|
|
321
305
|
/**
|
|
322
306
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
323
307
|
*/
|
|
@@ -347,7 +331,6 @@ const __default__ = {
|
|
|
347
331
|
default: true
|
|
348
332
|
}
|
|
349
333
|
},
|
|
350
|
-
|
|
351
334
|
setup(__props, {
|
|
352
335
|
expose: __expose
|
|
353
336
|
}) {
|
|
@@ -356,11 +339,14 @@ const __default__ = {
|
|
|
356
339
|
proxy
|
|
357
340
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
358
341
|
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
359
|
-
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
|
|
360
|
-
|
|
342
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
|
|
343
|
+
|
|
344
|
+
// 获取组件传参
|
|
361
345
|
|
|
362
|
-
|
|
346
|
+
// 分析类
|
|
347
|
+
let viewModel = {};
|
|
363
348
|
|
|
349
|
+
// 参数
|
|
364
350
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
365
351
|
collapseValue: props.settingParams && props.settingParams.collapseValue || ((props.settingParams && props.settingParams.collapseValue) == '' ? "" : "screenParameter"),
|
|
366
352
|
// 默认展开属性设置
|
|
@@ -385,14 +371,13 @@ const __default__ = {
|
|
|
385
371
|
imgFormat: props.settingParams && props.settingParams.imgFormat || "jpg",
|
|
386
372
|
// 图片类型
|
|
387
373
|
pantographRatio: 1 // 缩放比
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
374
|
+
});
|
|
375
|
+
// 组件容器Ref
|
|
376
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
377
|
+
// 生成组件默认header
|
|
393
378
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
394
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
395
|
-
|
|
379
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
380
|
+
// 国际化
|
|
396
381
|
let {
|
|
397
382
|
locale,
|
|
398
383
|
messages
|
|
@@ -415,7 +400,6 @@ const __default__ = {
|
|
|
415
400
|
});
|
|
416
401
|
});
|
|
417
402
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
418
|
-
|
|
419
403
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
420
404
|
if (scenceView) {
|
|
421
405
|
// 初始化视图参数
|
|
@@ -424,54 +408,46 @@ const __default__ = {
|
|
|
424
408
|
}
|
|
425
409
|
});
|
|
426
410
|
});
|
|
411
|
+
|
|
427
412
|
/**
|
|
428
413
|
* @description 监听header生成
|
|
429
414
|
*/
|
|
430
|
-
|
|
431
415
|
const watchCreateHeaderTemp = () => {
|
|
432
416
|
if (props.showHeaderTemp) {
|
|
433
417
|
// 生成headerTemp
|
|
434
418
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
435
419
|
}
|
|
436
|
-
};
|
|
437
|
-
|
|
438
|
-
|
|
420
|
+
};
|
|
421
|
+
// 高清出图
|
|
439
422
|
function toHDImageHander() {
|
|
440
423
|
viewModel && viewModel.sceneToImages();
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
|
|
424
|
+
}
|
|
425
|
+
// 参数改变
|
|
444
426
|
function paramsChanged(key) {
|
|
445
427
|
if (!viewModel || !viewModel._options) return;
|
|
446
428
|
viewModel._options[key] = formItem[key];
|
|
447
|
-
|
|
448
429
|
switch (key) {
|
|
449
430
|
case "displayArea":
|
|
450
431
|
viewModel.changeDisplayArea();
|
|
451
432
|
break;
|
|
452
|
-
|
|
453
433
|
case "screenWidth":
|
|
454
434
|
case "screenHeight":
|
|
455
435
|
viewModel.scaleCesiumContainer();
|
|
456
436
|
break;
|
|
457
|
-
|
|
458
437
|
case "imgWidth":
|
|
459
438
|
case "imgHeight":
|
|
460
439
|
viewModel.resizeExportRegionSize();
|
|
461
440
|
break;
|
|
462
|
-
|
|
463
441
|
case "pantographRatio":
|
|
464
442
|
viewModel.changPantographRatio();
|
|
465
443
|
break;
|
|
466
|
-
|
|
467
444
|
default:
|
|
468
445
|
break;
|
|
469
446
|
}
|
|
470
447
|
}
|
|
471
|
-
|
|
472
448
|
function intViewModelParams(id) {
|
|
473
449
|
var bodyW = 1920,
|
|
474
|
-
|
|
450
|
+
bodyH = 1024;
|
|
475
451
|
bodyW = document.getElementById(id).clientWidth;
|
|
476
452
|
bodyH = document.getElementById(id).clientHeight;
|
|
477
453
|
formItem.screenWidth = bodyW;
|
|
@@ -480,40 +456,26 @@ const __default__ = {
|
|
|
480
456
|
formItem.maxScreenHeight = bodyH;
|
|
481
457
|
formItem.imgWidth = parseInt(bodyW / 5 * 4);
|
|
482
458
|
formItem.imgHeight = parseInt(bodyH / 5 * 4);
|
|
483
|
-
}
|
|
484
|
-
|
|
459
|
+
}
|
|
485
460
|
|
|
461
|
+
// 销毁
|
|
486
462
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
487
463
|
viewModel && viewModel.destroy();
|
|
488
464
|
});
|
|
489
|
-
|
|
490
465
|
__expose({});
|
|
491
|
-
|
|
492
466
|
return (_ctx, _cache) => {
|
|
493
467
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
494
|
-
|
|
495
468
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
496
|
-
|
|
497
469
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
498
|
-
|
|
499
470
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
500
|
-
|
|
501
471
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
502
|
-
|
|
503
472
|
const _component_kq_switch = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-switch");
|
|
504
|
-
|
|
505
473
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
506
|
-
|
|
507
474
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
508
|
-
|
|
509
475
|
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
510
|
-
|
|
511
476
|
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
512
|
-
|
|
513
477
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
514
|
-
|
|
515
478
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
516
|
-
|
|
517
479
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
518
480
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-scene-to-hd-image", {
|
|
519
481
|
'kq-box-shadow': __props.showShadow
|
|
@@ -524,9 +486,7 @@ const __default__ = {
|
|
|
524
486
|
key: 0,
|
|
525
487
|
ref_key: "headerTempRef",
|
|
526
488
|
ref: headerTempRef
|
|
527
|
-
}, null, 512
|
|
528
|
-
/* NEED_PATCH */
|
|
529
|
-
)) : (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_collapse, {
|
|
489
|
+
}, 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_collapse, {
|
|
530
490
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue
|
|
531
491
|
}, {
|
|
532
492
|
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_collapse_item, {
|
|
@@ -557,12 +517,8 @@ const __default__ = {
|
|
|
557
517
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minScreenWidth,
|
|
558
518
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxScreenWidth,
|
|
559
519
|
onChange: _cache[1] || (_cache[1] = $event => paramsChanged('screenWidth'))
|
|
560
|
-
}, null, 8
|
|
561
|
-
/*
|
|
562
|
-
, ["modelValue", "min", "max"])]),
|
|
563
|
-
_: 1
|
|
564
|
-
/* STABLE */
|
|
565
|
-
|
|
520
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
521
|
+
_: 1 /* STABLE */
|
|
566
522
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
567
523
|
span: 8
|
|
568
524
|
}, {
|
|
@@ -574,26 +530,14 @@ const __default__ = {
|
|
|
574
530
|
step: 1,
|
|
575
531
|
"controls-position": "right",
|
|
576
532
|
onChange: _cache[3] || (_cache[3] = $event => paramsChanged('screenWidth'))
|
|
577
|
-
}, null, 8
|
|
578
|
-
/*
|
|
579
|
-
, ["modelValue", "min", "max"])]),
|
|
580
|
-
_: 1
|
|
581
|
-
/* STABLE */
|
|
582
|
-
|
|
533
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
534
|
+
_: 1 /* STABLE */
|
|
583
535
|
})]),
|
|
584
|
-
_: 1
|
|
585
|
-
/* STABLE */
|
|
586
|
-
|
|
536
|
+
_: 1 /* STABLE */
|
|
587
537
|
})]),
|
|
588
|
-
_: 1
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
}, 8
|
|
592
|
-
/* PROPS */
|
|
593
|
-
, ["label"])]),
|
|
594
|
-
_: 1
|
|
595
|
-
/* STABLE */
|
|
596
|
-
|
|
538
|
+
_: 1 /* STABLE */
|
|
539
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
540
|
+
_: 1 /* STABLE */
|
|
597
541
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
598
542
|
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, {
|
|
599
543
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).screenHeight
|
|
@@ -613,12 +557,8 @@ const __default__ = {
|
|
|
613
557
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minScreenHeight,
|
|
614
558
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxScreenHeight,
|
|
615
559
|
onChange: _cache[5] || (_cache[5] = $event => paramsChanged('screenHeight'))
|
|
616
|
-
}, null, 8
|
|
617
|
-
/*
|
|
618
|
-
, ["modelValue", "min", "max"])]),
|
|
619
|
-
_: 1
|
|
620
|
-
/* STABLE */
|
|
621
|
-
|
|
560
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
561
|
+
_: 1 /* STABLE */
|
|
622
562
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
623
563
|
span: 8
|
|
624
564
|
}, {
|
|
@@ -630,26 +570,14 @@ const __default__ = {
|
|
|
630
570
|
step: 1,
|
|
631
571
|
"controls-position": "right",
|
|
632
572
|
onChange: _cache[7] || (_cache[7] = $event => paramsChanged('screenHeight'))
|
|
633
|
-
}, null, 8
|
|
634
|
-
/*
|
|
635
|
-
, ["modelValue", "min", "max"])]),
|
|
636
|
-
_: 1
|
|
637
|
-
/* STABLE */
|
|
638
|
-
|
|
573
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
574
|
+
_: 1 /* STABLE */
|
|
639
575
|
})]),
|
|
640
|
-
_: 1
|
|
641
|
-
/* STABLE */
|
|
642
|
-
|
|
576
|
+
_: 1 /* STABLE */
|
|
643
577
|
})]),
|
|
644
|
-
_: 1
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
}, 8
|
|
648
|
-
/* PROPS */
|
|
649
|
-
, ["label"])]),
|
|
650
|
-
_: 1
|
|
651
|
-
/* STABLE */
|
|
652
|
-
|
|
578
|
+
_: 1 /* STABLE */
|
|
579
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
580
|
+
_: 1 /* STABLE */
|
|
653
581
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
654
582
|
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, {
|
|
655
583
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pantographRatio
|
|
@@ -669,12 +597,8 @@ const __default__ = {
|
|
|
669
597
|
min: 0.01,
|
|
670
598
|
max: 1,
|
|
671
599
|
onChange: _cache[9] || (_cache[9] = $event => paramsChanged('pantographRatio'))
|
|
672
|
-
}, null, 8
|
|
673
|
-
/*
|
|
674
|
-
, ["modelValue", "step", "min"])]),
|
|
675
|
-
_: 1
|
|
676
|
-
/* STABLE */
|
|
677
|
-
|
|
600
|
+
}, null, 8 /* PROPS */, ["modelValue", "step", "min"])]),
|
|
601
|
+
_: 1 /* STABLE */
|
|
678
602
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
679
603
|
span: 8
|
|
680
604
|
}, {
|
|
@@ -686,26 +610,14 @@ const __default__ = {
|
|
|
686
610
|
max: 1,
|
|
687
611
|
"controls-position": "right",
|
|
688
612
|
onChange: _cache[11] || (_cache[11] = $event => paramsChanged('pantographRatio'))
|
|
689
|
-
}, null, 8
|
|
690
|
-
/*
|
|
691
|
-
, ["modelValue", "step", "min"])]),
|
|
692
|
-
_: 1
|
|
693
|
-
/* STABLE */
|
|
694
|
-
|
|
613
|
+
}, null, 8 /* PROPS */, ["modelValue", "step", "min"])]),
|
|
614
|
+
_: 1 /* STABLE */
|
|
695
615
|
})]),
|
|
696
|
-
_: 1
|
|
697
|
-
/* STABLE */
|
|
698
|
-
|
|
616
|
+
_: 1 /* STABLE */
|
|
699
617
|
})]),
|
|
700
|
-
_: 1
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
}, 8
|
|
704
|
-
/* PROPS */
|
|
705
|
-
, ["label"])]),
|
|
706
|
-
_: 1
|
|
707
|
-
/* STABLE */
|
|
708
|
-
|
|
618
|
+
_: 1 /* STABLE */
|
|
619
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
620
|
+
_: 1 /* STABLE */
|
|
709
621
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
710
622
|
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, {
|
|
711
623
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).displayArea
|
|
@@ -724,37 +636,19 @@ const __default__ = {
|
|
|
724
636
|
"onUpdate:modelValue": _cache[12] || (_cache[12] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).displayArea = $event),
|
|
725
637
|
"controls-position": "left",
|
|
726
638
|
onChange: _cache[13] || (_cache[13] = $event => paramsChanged('displayArea'))
|
|
727
|
-
}, null, 8
|
|
728
|
-
/*
|
|
729
|
-
, ["modelValue"])]),
|
|
730
|
-
_: 1
|
|
731
|
-
/* STABLE */
|
|
732
|
-
|
|
639
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
640
|
+
_: 1 /* STABLE */
|
|
733
641
|
})]),
|
|
734
|
-
_: 1
|
|
735
|
-
/* STABLE */
|
|
736
|
-
|
|
642
|
+
_: 1 /* STABLE */
|
|
737
643
|
})]),
|
|
738
|
-
_: 1
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
}, 8
|
|
742
|
-
/* PROPS */
|
|
743
|
-
, ["label"])]),
|
|
744
|
-
_: 1
|
|
745
|
-
/* STABLE */
|
|
746
|
-
|
|
644
|
+
_: 1 /* STABLE */
|
|
645
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
646
|
+
_: 1 /* STABLE */
|
|
747
647
|
})]),
|
|
748
|
-
_: 1
|
|
749
|
-
/* STABLE */
|
|
750
|
-
|
|
648
|
+
_: 1 /* STABLE */
|
|
751
649
|
})]),
|
|
752
|
-
_: 1
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
}, 8
|
|
756
|
-
/* PROPS */
|
|
757
|
-
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse_item, {
|
|
650
|
+
_: 1 /* STABLE */
|
|
651
|
+
}, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse_item, {
|
|
758
652
|
class: "kq3d-scene-to-hd-image-collapse-item",
|
|
759
653
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pictureSpecification,
|
|
760
654
|
name: "pictureSpecification"
|
|
@@ -793,25 +687,13 @@ const __default__ = {
|
|
|
793
687
|
label: "JPEG",
|
|
794
688
|
value: "jpeg"
|
|
795
689
|
})]),
|
|
796
|
-
_: 1
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
}, 8
|
|
800
|
-
/* PROPS */
|
|
801
|
-
, ["modelValue"])]),
|
|
802
|
-
_: 1
|
|
803
|
-
/* STABLE */
|
|
804
|
-
|
|
690
|
+
_: 1 /* STABLE */
|
|
691
|
+
}, 8 /* PROPS */, ["modelValue"])]),
|
|
692
|
+
_: 1 /* STABLE */
|
|
805
693
|
})]),
|
|
806
|
-
_: 1
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
}, 8
|
|
810
|
-
/* PROPS */
|
|
811
|
-
, ["label"])]),
|
|
812
|
-
_: 1
|
|
813
|
-
/* STABLE */
|
|
814
|
-
|
|
694
|
+
_: 1 /* STABLE */
|
|
695
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
696
|
+
_: 1 /* STABLE */
|
|
815
697
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
816
698
|
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, {
|
|
817
699
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).imgWidth + '(px)'
|
|
@@ -831,12 +713,8 @@ const __default__ = {
|
|
|
831
713
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minImgWidth,
|
|
832
714
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).screenWidth,
|
|
833
715
|
onChange: _cache[17] || (_cache[17] = $event => paramsChanged('imgWidth'))
|
|
834
|
-
}, null, 8
|
|
835
|
-
/*
|
|
836
|
-
, ["modelValue", "min", "max"])]),
|
|
837
|
-
_: 1
|
|
838
|
-
/* STABLE */
|
|
839
|
-
|
|
716
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
717
|
+
_: 1 /* STABLE */
|
|
840
718
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
841
719
|
span: 8
|
|
842
720
|
}, {
|
|
@@ -848,26 +726,14 @@ const __default__ = {
|
|
|
848
726
|
step: 1,
|
|
849
727
|
"controls-position": "right",
|
|
850
728
|
onChange: _cache[19] || (_cache[19] = $event => paramsChanged('imgWidth'))
|
|
851
|
-
}, null, 8
|
|
852
|
-
/*
|
|
853
|
-
, ["modelValue", "min", "max"])]),
|
|
854
|
-
_: 1
|
|
855
|
-
/* STABLE */
|
|
856
|
-
|
|
729
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
730
|
+
_: 1 /* STABLE */
|
|
857
731
|
})]),
|
|
858
|
-
_: 1
|
|
859
|
-
/* STABLE */
|
|
860
|
-
|
|
732
|
+
_: 1 /* STABLE */
|
|
861
733
|
})]),
|
|
862
|
-
_: 1
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
}, 8
|
|
866
|
-
/* PROPS */
|
|
867
|
-
, ["label"])]),
|
|
868
|
-
_: 1
|
|
869
|
-
/* STABLE */
|
|
870
|
-
|
|
734
|
+
_: 1 /* STABLE */
|
|
735
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
736
|
+
_: 1 /* STABLE */
|
|
871
737
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
872
738
|
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, {
|
|
873
739
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).imgHeight + '(px)'
|
|
@@ -887,12 +753,8 @@ const __default__ = {
|
|
|
887
753
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minImgHeight,
|
|
888
754
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).screenHeight,
|
|
889
755
|
onChange: _cache[21] || (_cache[21] = $event => paramsChanged('imgHeight'))
|
|
890
|
-
}, null, 8
|
|
891
|
-
/*
|
|
892
|
-
, ["modelValue", "min", "max"])]),
|
|
893
|
-
_: 1
|
|
894
|
-
/* STABLE */
|
|
895
|
-
|
|
756
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
757
|
+
_: 1 /* STABLE */
|
|
896
758
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
897
759
|
span: 8
|
|
898
760
|
}, {
|
|
@@ -904,61 +766,30 @@ const __default__ = {
|
|
|
904
766
|
step: 1,
|
|
905
767
|
"controls-position": "right",
|
|
906
768
|
onChange: _cache[23] || (_cache[23] = $event => paramsChanged('imgHeight'))
|
|
907
|
-
}, null, 8
|
|
908
|
-
/*
|
|
909
|
-
, ["modelValue", "min", "max"])]),
|
|
910
|
-
_: 1
|
|
911
|
-
/* STABLE */
|
|
912
|
-
|
|
769
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
770
|
+
_: 1 /* STABLE */
|
|
913
771
|
})]),
|
|
914
|
-
_: 1
|
|
915
|
-
/* STABLE */
|
|
916
|
-
|
|
772
|
+
_: 1 /* STABLE */
|
|
917
773
|
})]),
|
|
918
|
-
_: 1
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
}, 8
|
|
922
|
-
/* PROPS */
|
|
923
|
-
, ["label"])]),
|
|
924
|
-
_: 1
|
|
925
|
-
/* STABLE */
|
|
926
|
-
|
|
774
|
+
_: 1 /* STABLE */
|
|
775
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
776
|
+
_: 1 /* STABLE */
|
|
927
777
|
})]),
|
|
928
|
-
_: 1
|
|
929
|
-
/* STABLE */
|
|
930
|
-
|
|
778
|
+
_: 1 /* STABLE */
|
|
931
779
|
})]),
|
|
932
|
-
_: 1
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
/* PROPS */
|
|
937
|
-
, ["title"])]),
|
|
938
|
-
_: 1
|
|
939
|
-
/* STABLE */
|
|
940
|
-
|
|
941
|
-
}, 8
|
|
942
|
-
/* PROPS */
|
|
943
|
-
, ["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, {
|
|
780
|
+
_: 1 /* STABLE */
|
|
781
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
782
|
+
_: 1 /* STABLE */
|
|
783
|
+
}, 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, {
|
|
944
784
|
onClick: _cache[24] || (_cache[24] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => toHDImageHander(), ["stop"])),
|
|
945
785
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).sceneToHDImageTips,
|
|
946
786
|
type: "primary"
|
|
947
787
|
}, {
|
|
948
|
-
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).sceneToHDImageTips), 1
|
|
949
|
-
/*
|
|
950
|
-
|
|
951
|
-
_: 1
|
|
952
|
-
/* STABLE */
|
|
953
|
-
|
|
954
|
-
}, 8
|
|
955
|
-
/* PROPS */
|
|
956
|
-
, ["title"])])])], 2
|
|
957
|
-
/* CLASS */
|
|
958
|
-
);
|
|
788
|
+
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).sceneToHDImageTips), 1 /* TEXT */)]),
|
|
789
|
+
_: 1 /* STABLE */
|
|
790
|
+
}, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
|
|
959
791
|
};
|
|
960
792
|
}
|
|
961
|
-
|
|
962
793
|
}));
|
|
963
794
|
;// CONCATENATED MODULE: ./src/webgl/scenetohdimage/SceneToHDImage.vue?vue&type=script&setup=true&lang=js
|
|
964
795
|
|
|
@@ -980,13 +811,11 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
|
980
811
|
|
|
981
812
|
|
|
982
813
|
|
|
983
|
-
|
|
984
814
|
SceneToHDImage.install = (Vue, opts) => {
|
|
985
815
|
init_js_default()(Vue, opts);
|
|
986
816
|
Vue.component(SceneToHDImage.name, SceneToHDImage);
|
|
987
817
|
};
|
|
988
818
|
|
|
989
|
-
|
|
990
819
|
}();
|
|
991
820
|
/******/ return __webpack_exports__;
|
|
992
821
|
/******/ })()
|