@kq_npm/client3d_webgl_vue 4.5.28-beta → 4.5.30
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 +518 -262
- package/adddata/style/adddata.css +1 -1
- package/aspectanalysis/index.js +201 -123
- package/baseterraingallery/index.js +123 -94
- package/baseterraingallery/style/baseterraingallery.css +1 -1
- package/boxclip/index.js +442 -249
- package/clientPrint/index.js +27093 -14116
- package/clientPrint/style/clientPrint.css +1 -1
- package/comparemap/index.js +243 -213
- package/compass/index.js +68 -74
- package/excavatefillanalysis/index.js +225 -143
- package/fixedzoomin/index.js +82 -72
- package/fixedzoomout/index.js +80 -71
- package/flight/index.js +371 -257
- package/flight/style/flight.css +1 -1
- package/floodanalysis/index.js +347 -199
- package/geologicalbodyanalysis/index.js +260 -166
- package/gpuspatialquery/index.js +359 -198
- package/hawkeye/index.js +100 -131
- package/headertemp/index.js +25 -14
- package/heatmap3d/index.js +678 -366
- package/heatmap3d/style/heatmap3d.css +1 -1
- package/index.js +20321 -7165
- package/isolineanalysis/index.js +1202 -504
- package/light/index.js +494 -349
- package/limitheightanalysis/index.js +223 -159
- package/measure/index.js +353 -198
- package/modelFlat/index.js +204 -167
- package/modelexcavate/index.js +191 -130
- package/modelfilter/index.js +271 -179
- package/modelprofileanalysis/index.js +316 -206
- package/modelselect/index.js +147 -142
- package/package.json +1 -1
- package/particleeffect/index.js +403 -225
- package/planeclip/index.js +300 -198
- package/resetview/index.js +52 -66
- package/roller/index.js +372 -304
- package/scaneffect/index.js +537 -230
- package/sceneadvancedtoimage/index.js +358 -205
- package/sceneadvancedtoimage/style/sceneadvancedtoimage.css +1 -1
- package/sceneapp/index.js +27093 -14116
- package/sceneset/index.js +864 -350
- package/scenetohdimage/index.js +297 -159
- package/scenetohdimage/style/scenetohdimage.css +1 -1
- package/sceneview/index.js +27093 -14116
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +301 -257
- package/shadowanalysis/index.js +405 -217
- package/sightlineanalysis/index.js +271 -183
- package/sightlineanalysis/style/divpoint.css +1 -1
- package/skylineanalysis/index.js +308 -160
- package/slopeanalysis/index.js +397 -227
- package/slopeaspectanalysis/index.js +485 -259
- package/statusbar/index.js +65 -88
- package/style.css +1 -1
- package/terrainoperation/index.js +237 -176
- package/terrainprofileanalysis/index.js +138 -120
- package/typhoontrac/index.js +970 -234
- package/typhoontrac/style/typhoontrac.css +1 -1
- package/underground/index.js +61 -70
- package/videofusion/index.js +488 -265
- package/videoproject/index.js +490 -271
- package/viewshedanalysis/index.js +255 -151
- package/weathereffect/index.js +317 -166
- package/windyslicing/index.js +1947 -0
- package/windyslicing/style/index.js +3 -0
- package/windyslicing/style/windyslicing.css +1 -0
- package/wireframesketch/index.js +142 -110
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
3
|
module.exports = 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"));
|
|
4
4
|
else if(typeof define === 'function' && define.amd)
|
|
5
|
-
define(["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js", "@kq_npm/client_common_vue/_utils/util"], factory);
|
|
6
|
-
else
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
define("@kq_npm/client3d_webgl_vue", ["vue", "@kq_npm/client_common_vue/_utils/gis-utils", "@kq_npm/client_common_vue/init.js", "@kq_npm/client_common_vue/_utils/util"], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["@kq_npm/client3d_webgl_vue"] = 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"));
|
|
8
|
+
else
|
|
9
|
+
root["@kq_npm/client3d_webgl_vue"] = 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"]);
|
|
10
10
|
})(this, function(__WEBPACK_EXTERNAL_MODULE__1895__, __WEBPACK_EXTERNAL_MODULE__7135__, __WEBPACK_EXTERNAL_MODULE__7997__, __WEBPACK_EXTERNAL_MODULE__3458__) {
|
|
11
11
|
return /******/ (function() { // webpackBootstrap
|
|
12
12
|
/******/ "use strict";
|
|
@@ -25,10 +25,12 @@ return /******/ (function() { // webpackBootstrap
|
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
27
|
|
|
28
|
+
|
|
28
29
|
element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage.install = (Vue, opts) => {
|
|
29
30
|
_init__WEBPACK_IMPORTED_MODULE_1___default()(Vue, opts);
|
|
30
31
|
Vue.component("KqMessage", element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
31
32
|
};
|
|
33
|
+
|
|
32
34
|
/* harmony default export */ __webpack_exports__["Z"] = (element_plus_dist_index_full_js__WEBPACK_IMPORTED_MODULE_0__.ElMessage);
|
|
33
35
|
|
|
34
36
|
/***/ }),
|
|
@@ -40,27 +42,6 @@ module.exports = require("@kq_npm/client_icons_vue");
|
|
|
40
42
|
|
|
41
43
|
/***/ }),
|
|
42
44
|
|
|
43
|
-
/***/ 2118:
|
|
44
|
-
/***/ (function(module) {
|
|
45
|
-
|
|
46
|
-
module.exports = require("core-js/modules/es.array.push.js");
|
|
47
|
-
|
|
48
|
-
/***/ }),
|
|
49
|
-
|
|
50
|
-
/***/ 8470:
|
|
51
|
-
/***/ (function(module) {
|
|
52
|
-
|
|
53
|
-
module.exports = require("core-js/modules/esnext.iterator.constructor.js");
|
|
54
|
-
|
|
55
|
-
/***/ }),
|
|
56
|
-
|
|
57
|
-
/***/ 1058:
|
|
58
|
-
/***/ (function(module) {
|
|
59
|
-
|
|
60
|
-
module.exports = require("core-js/modules/esnext.iterator.for-each.js");
|
|
61
|
-
|
|
62
|
-
/***/ }),
|
|
63
|
-
|
|
64
45
|
/***/ 9389:
|
|
65
46
|
/***/ (function(module) {
|
|
66
47
|
|
|
@@ -103,59 +84,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__1895__;
|
|
|
103
84
|
|
|
104
85
|
/***/ }),
|
|
105
86
|
|
|
106
|
-
/***/
|
|
87
|
+
/***/ 8270:
|
|
107
88
|
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
108
89
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
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.");
|
|
90
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
91
|
+
/* harmony export */ "Z": function() { return /* binding */ _defineProperty; }
|
|
92
|
+
/* harmony export */ });
|
|
93
|
+
function _defineProperty(obj, key, value) {
|
|
94
|
+
if (key in obj) {
|
|
95
|
+
Object.defineProperty(obj, key, {
|
|
96
|
+
value: value,
|
|
97
|
+
enumerable: true,
|
|
98
|
+
configurable: true,
|
|
99
|
+
writable: true
|
|
100
|
+
});
|
|
101
|
+
} else {
|
|
102
|
+
obj[key] = value;
|
|
135
103
|
}
|
|
136
|
-
return ("string" === r ? String : Number)(t);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
function toPropertyKey(t) {
|
|
143
|
-
var i = toPrimitive(t, "string");
|
|
144
|
-
return "symbol" == _typeof(i) ? i : i + "";
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
148
104
|
|
|
149
|
-
|
|
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;
|
|
105
|
+
return obj;
|
|
156
106
|
}
|
|
157
107
|
|
|
158
|
-
|
|
159
108
|
/***/ })
|
|
160
109
|
|
|
161
110
|
/******/ });
|
|
@@ -242,44 +191,43 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
242
191
|
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
|
|
243
192
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/gis-utils"
|
|
244
193
|
var gis_utils_ = __webpack_require__(7135);
|
|
245
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
246
|
-
var defineProperty = __webpack_require__(
|
|
247
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
248
|
-
var es_array_push_js_ = __webpack_require__(2118);
|
|
249
|
-
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.constructor.js"
|
|
250
|
-
var esnext_iterator_constructor_js_ = __webpack_require__(8470);
|
|
251
|
-
// EXTERNAL MODULE: external "core-js/modules/esnext.iterator.for-each.js"
|
|
252
|
-
var esnext_iterator_for_each_js_ = __webpack_require__(1058);
|
|
194
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
195
|
+
var defineProperty = __webpack_require__(8270);
|
|
253
196
|
// EXTERNAL MODULE: ./src/common/_ui/message/index.js
|
|
254
197
|
var message = __webpack_require__(1349);
|
|
255
198
|
;// CONCATENATED MODULE: ./src/webgl/sceneadvancedtoimage/SceneAdvancedToImageViewModel.js
|
|
256
199
|
|
|
257
200
|
|
|
258
|
-
|
|
259
|
-
|
|
260
201
|
/**
|
|
261
202
|
* 场景高级出图
|
|
262
203
|
**/
|
|
263
204
|
|
|
264
205
|
class SceneAdvancedToImageViewModel {
|
|
206
|
+
//场景出图类
|
|
207
|
+
//绘制管理对象
|
|
208
|
+
//绘制完成监听事件
|
|
265
209
|
constructor(scenceView, options) {
|
|
266
210
|
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
211
|
+
|
|
267
212
|
(0,defineProperty/* default */.Z)(this, "_options", null);
|
|
213
|
+
|
|
268
214
|
(0,defineProperty/* default */.Z)(this, "_canvasToImage", null);
|
|
269
|
-
|
|
215
|
+
|
|
270
216
|
(0,defineProperty/* default */.Z)(this, "_drawManager", null);
|
|
271
|
-
|
|
217
|
+
|
|
272
218
|
(0,defineProperty/* default */.Z)(this, "_removeEventListener", null);
|
|
273
|
-
|
|
219
|
+
|
|
274
220
|
(0,defineProperty/* default */.Z)(this, "_satellitePyramidPrimitive", null);
|
|
221
|
+
|
|
275
222
|
(0,defineProperty/* default */.Z)(this, "_language", {});
|
|
223
|
+
|
|
276
224
|
this._language = scenceView._language;
|
|
277
225
|
this._viewer = scenceView._viewer;
|
|
278
226
|
this._options = options;
|
|
279
|
-
this._drawManager = scenceView._drawManager;
|
|
280
|
-
|
|
281
|
-
this._viewer.scene.globe.depthTestAgainstTerrain = true;
|
|
282
|
-
|
|
227
|
+
this._drawManager = scenceView._drawManager; // 开启深度检测
|
|
228
|
+
|
|
229
|
+
this._viewer.scene.globe.depthTestAgainstTerrain = true; //声明场景出图类
|
|
230
|
+
|
|
283
231
|
this._canvasToImage = new Cesium.Kq3dCanvasToImage(this._viewer.container, {
|
|
284
232
|
viewer: this._viewer,
|
|
285
233
|
canvas: this._viewer.scene.canvas
|
|
@@ -289,18 +237,21 @@ class SceneAdvancedToImageViewModel {
|
|
|
289
237
|
if (shape) {
|
|
290
238
|
that._options.position = shape.position;
|
|
291
239
|
that.addSatellitePyramidPrimitive(that._options.position);
|
|
240
|
+
|
|
292
241
|
that._drawManager.clear();
|
|
293
242
|
}
|
|
294
243
|
});
|
|
295
|
-
}
|
|
296
|
-
|
|
244
|
+
} //加载椎体
|
|
245
|
+
|
|
246
|
+
|
|
297
247
|
addSatellitePyramidPrimitive(position) {
|
|
298
248
|
// 实例化
|
|
299
249
|
let cartographic = Cesium.Cartographic.fromCartesian(position);
|
|
300
250
|
let lat = Cesium.Math.toDegrees(cartographic.latitude);
|
|
301
251
|
let lng = Cesium.Math.toDegrees(cartographic.longitude);
|
|
302
252
|
let pos = Cesium.Cartesian3.fromDegrees(lng, lat, this._options.height);
|
|
303
|
-
this._satellitePyramidPrimitive = this._viewer.scene.primitives.add(new
|
|
253
|
+
this._satellitePyramidPrimitive = this._viewer.scene.primitives.add(new Cesium.Kq3dSatellitePyramidPrimitive(this._viewer, {
|
|
254
|
+
// new SatellitePyramidPrimitive(this._viewer, {
|
|
304
255
|
position: pos,
|
|
305
256
|
angle1: this._options.leftRightAngle,
|
|
306
257
|
angle2: this._options.frontAndRearAngle,
|
|
@@ -309,8 +260,9 @@ class SceneAdvancedToImageViewModel {
|
|
|
309
260
|
lineColor: Cesium.Color.fromCssColorString(this._options.lineColor).withAlpha(this._options.lineColorAlpha),
|
|
310
261
|
outline: this._options.outline
|
|
311
262
|
}));
|
|
312
|
-
}
|
|
313
|
-
|
|
263
|
+
} //导出
|
|
264
|
+
|
|
265
|
+
|
|
314
266
|
exportPicture() {
|
|
315
267
|
if (this._satellitePyramidPrimitive) {
|
|
316
268
|
try {
|
|
@@ -332,8 +284,9 @@ class SceneAdvancedToImageViewModel {
|
|
|
332
284
|
type: "warning"
|
|
333
285
|
});
|
|
334
286
|
}
|
|
335
|
-
}
|
|
336
|
-
|
|
287
|
+
} //获取范围
|
|
288
|
+
|
|
289
|
+
|
|
337
290
|
getBounds() {
|
|
338
291
|
if (this._satellitePyramidPrimitive) {
|
|
339
292
|
let positions = this._satellitePyramidPrimitive.groundPositions;
|
|
@@ -346,15 +299,19 @@ class SceneAdvancedToImageViewModel {
|
|
|
346
299
|
});
|
|
347
300
|
return this.getRect(list);
|
|
348
301
|
}
|
|
302
|
+
|
|
349
303
|
return {};
|
|
350
|
-
}
|
|
351
|
-
|
|
304
|
+
} // 获取矩阵
|
|
305
|
+
|
|
306
|
+
|
|
352
307
|
getRect(points) {
|
|
353
308
|
let xmin, ymin, xmax, ymax;
|
|
309
|
+
|
|
354
310
|
for (let i in points) {
|
|
355
311
|
const coordinates = points[i];
|
|
356
312
|
const x = coordinates[0];
|
|
357
313
|
const y = coordinates[1];
|
|
314
|
+
|
|
358
315
|
if (!xmin) {
|
|
359
316
|
xmin = x;
|
|
360
317
|
} else {
|
|
@@ -362,6 +319,7 @@ class SceneAdvancedToImageViewModel {
|
|
|
362
319
|
xmin = x;
|
|
363
320
|
}
|
|
364
321
|
}
|
|
322
|
+
|
|
365
323
|
if (!ymin) {
|
|
366
324
|
ymin = y;
|
|
367
325
|
} else {
|
|
@@ -369,6 +327,7 @@ class SceneAdvancedToImageViewModel {
|
|
|
369
327
|
ymin = y;
|
|
370
328
|
}
|
|
371
329
|
}
|
|
330
|
+
|
|
372
331
|
if (!xmax) {
|
|
373
332
|
xmax = x;
|
|
374
333
|
} else {
|
|
@@ -376,6 +335,7 @@ class SceneAdvancedToImageViewModel {
|
|
|
376
335
|
xmax = x;
|
|
377
336
|
}
|
|
378
337
|
}
|
|
338
|
+
|
|
379
339
|
if (!ymax) {
|
|
380
340
|
ymax = y;
|
|
381
341
|
} else {
|
|
@@ -384,6 +344,7 @@ class SceneAdvancedToImageViewModel {
|
|
|
384
344
|
}
|
|
385
345
|
}
|
|
386
346
|
}
|
|
347
|
+
|
|
387
348
|
return {
|
|
388
349
|
xmin,
|
|
389
350
|
ymin,
|
|
@@ -391,6 +352,7 @@ class SceneAdvancedToImageViewModel {
|
|
|
391
352
|
ymax
|
|
392
353
|
};
|
|
393
354
|
}
|
|
355
|
+
|
|
394
356
|
// 视野飞行
|
|
395
357
|
setView() {
|
|
396
358
|
let {
|
|
@@ -399,8 +361,10 @@ class SceneAdvancedToImageViewModel {
|
|
|
399
361
|
xmax,
|
|
400
362
|
ymax
|
|
401
363
|
} = this.getBounds();
|
|
364
|
+
|
|
402
365
|
if (xmin && ymin && xmax && ymax) {
|
|
403
366
|
let rectangle = Cesium.Rectangle.fromDegrees(Number(xmin), Number(ymin), Number(xmax), Number(ymax));
|
|
367
|
+
|
|
404
368
|
this._viewer.camera.setView({
|
|
405
369
|
destination: rectangle,
|
|
406
370
|
orientation: {
|
|
@@ -408,25 +372,30 @@ class SceneAdvancedToImageViewModel {
|
|
|
408
372
|
// 方向
|
|
409
373
|
pitch: Cesium.Math.toRadians(-90.0) // 倾斜角度
|
|
410
374
|
// roll: Cesium.Math.toRadians(0.0)
|
|
375
|
+
|
|
411
376
|
}
|
|
412
377
|
});
|
|
413
378
|
}
|
|
414
|
-
}
|
|
415
|
-
|
|
379
|
+
} //出图计算
|
|
380
|
+
|
|
381
|
+
|
|
416
382
|
markPic() {
|
|
417
383
|
let leftBottom = Cesium.SceneTransforms.wgs84ToWindowCoordinates(this._viewer.scene, this._satellitePyramidPrimitive.groundPositions[0]);
|
|
418
384
|
let rightBottom = Cesium.SceneTransforms.wgs84ToWindowCoordinates(this._viewer.scene, this._satellitePyramidPrimitive.groundPositions[1]);
|
|
419
385
|
let rightTop = Cesium.SceneTransforms.wgs84ToWindowCoordinates(this._viewer.scene, this._satellitePyramidPrimitive.groundPositions[2]);
|
|
420
386
|
let leftTop = Cesium.SceneTransforms.wgs84ToWindowCoordinates(this._viewer.scene, this._satellitePyramidPrimitive.groundPositions[3]);
|
|
421
387
|
var bodyW = window.innerWidth,
|
|
422
|
-
|
|
423
|
-
|
|
388
|
+
bodyH = window.innerHeight; //设置宽、高、图片类型
|
|
389
|
+
|
|
424
390
|
var options = {
|
|
425
391
|
width: bodyW,
|
|
426
392
|
height: bodyH,
|
|
427
393
|
type: this._options.imgFormat //图片类型
|
|
394
|
+
|
|
428
395
|
};
|
|
396
|
+
|
|
429
397
|
this._viewer.render();
|
|
398
|
+
|
|
430
399
|
let canvas = document.createElement("canvas");
|
|
431
400
|
canvas.width = this._viewer.canvas.width;
|
|
432
401
|
canvas.height = this._viewer.canvas.height;
|
|
@@ -441,20 +410,25 @@ class SceneAdvancedToImageViewModel {
|
|
|
441
410
|
newCtx.restore();
|
|
442
411
|
newCtx.save();
|
|
443
412
|
newCtx.drawImage(this._viewer.canvas, 0, 0);
|
|
413
|
+
|
|
444
414
|
this._canvasToImage.saveAsimages(canvas, options);
|
|
445
|
-
}
|
|
446
|
-
|
|
415
|
+
} //开始分析
|
|
416
|
+
|
|
417
|
+
|
|
447
418
|
start() {
|
|
448
419
|
this.clear();
|
|
420
|
+
|
|
449
421
|
this._drawManager.startDraw("point", {
|
|
450
422
|
clampToGround: true,
|
|
451
423
|
image: null
|
|
452
424
|
});
|
|
453
425
|
}
|
|
426
|
+
|
|
454
427
|
paramsChanged(key, val) {
|
|
455
428
|
if (!this._options) return;
|
|
456
429
|
this._options[key] = val;
|
|
457
430
|
if (!this._satellitePyramidPrimitive) return;
|
|
431
|
+
|
|
458
432
|
switch (key) {
|
|
459
433
|
case "height":
|
|
460
434
|
var cartographic = Cesium.Cartographic.fromCartesian(this._satellitePyramidPrimitive.position);
|
|
@@ -463,36 +437,45 @@ class SceneAdvancedToImageViewModel {
|
|
|
463
437
|
var pos = Cesium.Cartesian3.fromDegrees(lng, lat, val);
|
|
464
438
|
this._satellitePyramidPrimitive.position = pos;
|
|
465
439
|
break;
|
|
440
|
+
|
|
466
441
|
case "heading":
|
|
467
442
|
case "pitch":
|
|
468
443
|
case "roll":
|
|
469
444
|
this._satellitePyramidPrimitive[key] = Cesium.Math.toRadians(val);
|
|
470
445
|
break;
|
|
446
|
+
|
|
471
447
|
case "leftRightAngle":
|
|
472
448
|
this._satellitePyramidPrimitive.angle1 = val;
|
|
473
449
|
break;
|
|
450
|
+
|
|
474
451
|
case "frontAndRearAngle":
|
|
475
452
|
this._satellitePyramidPrimitive.angle2 = val;
|
|
476
453
|
break;
|
|
454
|
+
|
|
477
455
|
default:
|
|
478
456
|
break;
|
|
479
457
|
}
|
|
480
|
-
}
|
|
481
|
-
|
|
458
|
+
} //清除全部结果
|
|
459
|
+
|
|
460
|
+
|
|
482
461
|
clear() {
|
|
483
462
|
this._drawManager.stopDraw();
|
|
463
|
+
|
|
484
464
|
if (this._satellitePyramidPrimitive) {
|
|
485
465
|
this._viewer.scene.primitives.remove(this._satellitePyramidPrimitive);
|
|
466
|
+
|
|
486
467
|
this._satellitePyramidPrimitive = null;
|
|
487
468
|
}
|
|
488
|
-
}
|
|
489
|
-
|
|
469
|
+
} // 销毁
|
|
470
|
+
|
|
471
|
+
|
|
490
472
|
destroy() {
|
|
491
|
-
this.clear();
|
|
492
|
-
|
|
473
|
+
this.clear(); //移除监听事件
|
|
474
|
+
|
|
493
475
|
this._removeEventListener && this._removeEventListener();
|
|
494
476
|
this._removeEventListener = null;
|
|
495
477
|
}
|
|
478
|
+
|
|
496
479
|
}
|
|
497
480
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
498
481
|
var client_icons_vue_ = __webpack_require__(348);
|
|
@@ -500,7 +483,7 @@ var client_icons_vue_ = __webpack_require__(348);
|
|
|
500
483
|
var util_ = __webpack_require__(3458);
|
|
501
484
|
// EXTERNAL MODULE: external "vue-i18n/dist/vue-i18n.cjs.js"
|
|
502
485
|
var vue_i18n_cjs_js_ = __webpack_require__(7080);
|
|
503
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/sceneadvancedtoimage/SceneAdvancedToImage.vue?vue&type=script&setup=true&lang=js
|
|
486
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/webgl/sceneadvancedtoimage/SceneAdvancedToImage.vue?vue&type=script&setup=true&lang=js
|
|
504
487
|
|
|
505
488
|
const _hoisted_1 = {
|
|
506
489
|
class: "kq3d-scene-advanced-to-image-box"
|
|
@@ -528,6 +511,7 @@ const __default__ = {
|
|
|
528
511
|
type: Boolean,
|
|
529
512
|
default: true
|
|
530
513
|
},
|
|
514
|
+
|
|
531
515
|
/**
|
|
532
516
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
533
517
|
*/
|
|
@@ -557,6 +541,7 @@ const __default__ = {
|
|
|
557
541
|
default: true
|
|
558
542
|
}
|
|
559
543
|
},
|
|
544
|
+
|
|
560
545
|
setup(__props, {
|
|
561
546
|
expose: __expose
|
|
562
547
|
}) {
|
|
@@ -565,13 +550,11 @@ const __default__ = {
|
|
|
565
550
|
proxy
|
|
566
551
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
567
552
|
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
568
|
-
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
|
|
553
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]); // 获取组件传参
|
|
554
|
+
// 分析类
|
|
569
555
|
|
|
570
|
-
//
|
|
556
|
+
let viewModel = null; // 参数
|
|
571
557
|
|
|
572
|
-
// 分析类
|
|
573
|
-
let viewModel = null;
|
|
574
|
-
// 参数
|
|
575
558
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
576
559
|
collapseValue: props.settingParams && props.settingParams.collapseValue || ((props.settingParams && props.settingParams.collapseValue) == '' ? "" : "screenParameter"),
|
|
577
560
|
// 默认展开属性设置
|
|
@@ -622,13 +605,14 @@ const __default__ = {
|
|
|
622
605
|
lineColorAlpha: props.settingParams && props.settingParams.lineColorAlpha || 0.4,
|
|
623
606
|
// 视椎体边界线透明度
|
|
624
607
|
outline: props.settingParams && props.settingParams.outline || false // 是否显示边界线
|
|
625
|
-
|
|
626
|
-
// 组件容器Ref
|
|
627
|
-
|
|
628
|
-
// 生成组件默认header
|
|
608
|
+
|
|
609
|
+
}); // 组件容器Ref
|
|
610
|
+
|
|
611
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
612
|
+
|
|
629
613
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
630
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
631
|
-
|
|
614
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
615
|
+
|
|
632
616
|
let {
|
|
633
617
|
locale,
|
|
634
618
|
messages
|
|
@@ -651,6 +635,7 @@ const __default__ = {
|
|
|
651
635
|
});
|
|
652
636
|
});
|
|
653
637
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
638
|
+
|
|
654
639
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
655
640
|
if (scenceView) {
|
|
656
641
|
// 初始化视图参数
|
|
@@ -658,45 +643,62 @@ const __default__ = {
|
|
|
658
643
|
}
|
|
659
644
|
});
|
|
660
645
|
});
|
|
661
|
-
|
|
662
646
|
/**
|
|
663
647
|
* @description 监听header生成
|
|
664
648
|
*/
|
|
649
|
+
|
|
665
650
|
const watchCreateHeaderTemp = () => {
|
|
666
651
|
if (props.showHeaderTemp) {
|
|
667
652
|
// 生成headerTemp
|
|
668
653
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
669
654
|
}
|
|
670
|
-
};
|
|
671
|
-
|
|
655
|
+
}; // 高级出图
|
|
656
|
+
|
|
657
|
+
|
|
672
658
|
function toImageHander() {
|
|
673
659
|
viewModel && viewModel.exportPicture();
|
|
674
|
-
}
|
|
675
|
-
|
|
660
|
+
} // 绘制
|
|
661
|
+
|
|
662
|
+
|
|
676
663
|
function drawHander() {
|
|
677
664
|
viewModel && viewModel.start();
|
|
678
|
-
}
|
|
679
|
-
|
|
665
|
+
} // 参数改变
|
|
666
|
+
|
|
667
|
+
|
|
680
668
|
function paramsChanged(key) {
|
|
681
669
|
viewModel && viewModel.paramsChanged(key, formItem[key]);
|
|
682
|
-
}
|
|
683
|
-
|
|
670
|
+
} // 销毁
|
|
671
|
+
|
|
672
|
+
|
|
684
673
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
685
674
|
viewModel && viewModel.destroy();
|
|
686
675
|
});
|
|
676
|
+
|
|
687
677
|
__expose({});
|
|
678
|
+
|
|
688
679
|
return (_ctx, _cache) => {
|
|
689
680
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
681
|
+
|
|
690
682
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
683
|
+
|
|
691
684
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
685
|
+
|
|
692
686
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
687
|
+
|
|
693
688
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
689
|
+
|
|
694
690
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
691
|
+
|
|
695
692
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
693
|
+
|
|
696
694
|
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
695
|
+
|
|
697
696
|
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
697
|
+
|
|
698
698
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
699
|
+
|
|
699
700
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
701
|
+
|
|
700
702
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
701
703
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-scene-advanced-to-image", {
|
|
702
704
|
'kq-box-shadow': __props.showShadow
|
|
@@ -707,11 +709,17 @@ const __default__ = {
|
|
|
707
709
|
key: 0,
|
|
708
710
|
ref_key: "headerTempRef",
|
|
709
711
|
ref: headerTempRef
|
|
710
|
-
}, null, 512
|
|
712
|
+
}, null, 512
|
|
713
|
+
/* NEED_PATCH */
|
|
714
|
+
)) : (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, {
|
|
711
715
|
class: "kq3d-scene-advanced-to-image-tip"
|
|
712
716
|
}, {
|
|
713
|
-
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).sceneAdvancedToImageTips), 1
|
|
714
|
-
|
|
717
|
+
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).sceneAdvancedToImageTips), 1
|
|
718
|
+
/* TEXT */
|
|
719
|
+
)]),
|
|
720
|
+
_: 1
|
|
721
|
+
/* STABLE */
|
|
722
|
+
|
|
715
723
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
716
724
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue
|
|
717
725
|
}, {
|
|
@@ -743,8 +751,12 @@ const __default__ = {
|
|
|
743
751
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minHeight,
|
|
744
752
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxHeight,
|
|
745
753
|
onChange: _cache[1] || (_cache[1] = $event => paramsChanged('height'))
|
|
746
|
-
}, null, 8
|
|
747
|
-
|
|
754
|
+
}, null, 8
|
|
755
|
+
/* PROPS */
|
|
756
|
+
, ["modelValue", "min", "max"])]),
|
|
757
|
+
_: 1
|
|
758
|
+
/* STABLE */
|
|
759
|
+
|
|
748
760
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
749
761
|
span: 8
|
|
750
762
|
}, {
|
|
@@ -756,14 +768,26 @@ const __default__ = {
|
|
|
756
768
|
step: 1,
|
|
757
769
|
"controls-position": "right",
|
|
758
770
|
onChange: _cache[3] || (_cache[3] = $event => paramsChanged('height'))
|
|
759
|
-
}, null, 8
|
|
760
|
-
|
|
771
|
+
}, null, 8
|
|
772
|
+
/* PROPS */
|
|
773
|
+
, ["modelValue", "min", "max"])]),
|
|
774
|
+
_: 1
|
|
775
|
+
/* STABLE */
|
|
776
|
+
|
|
761
777
|
})]),
|
|
762
|
-
_: 1
|
|
778
|
+
_: 1
|
|
779
|
+
/* STABLE */
|
|
780
|
+
|
|
763
781
|
})]),
|
|
764
|
-
_: 1
|
|
765
|
-
|
|
766
|
-
|
|
782
|
+
_: 1
|
|
783
|
+
/* STABLE */
|
|
784
|
+
|
|
785
|
+
}, 8
|
|
786
|
+
/* PROPS */
|
|
787
|
+
, ["label"])]),
|
|
788
|
+
_: 1
|
|
789
|
+
/* STABLE */
|
|
790
|
+
|
|
767
791
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
768
792
|
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, {
|
|
769
793
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).heading
|
|
@@ -783,8 +807,12 @@ const __default__ = {
|
|
|
783
807
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minHeading,
|
|
784
808
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxHeading,
|
|
785
809
|
onChange: _cache[5] || (_cache[5] = $event => paramsChanged('heading'))
|
|
786
|
-
}, null, 8
|
|
787
|
-
|
|
810
|
+
}, null, 8
|
|
811
|
+
/* PROPS */
|
|
812
|
+
, ["modelValue", "min", "max"])]),
|
|
813
|
+
_: 1
|
|
814
|
+
/* STABLE */
|
|
815
|
+
|
|
788
816
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
789
817
|
span: 8
|
|
790
818
|
}, {
|
|
@@ -796,14 +824,26 @@ const __default__ = {
|
|
|
796
824
|
step: 1,
|
|
797
825
|
"controls-position": "right",
|
|
798
826
|
onChange: _cache[7] || (_cache[7] = $event => paramsChanged('screenHeight'))
|
|
799
|
-
}, null, 8
|
|
800
|
-
|
|
827
|
+
}, null, 8
|
|
828
|
+
/* PROPS */
|
|
829
|
+
, ["modelValue", "min", "max"])]),
|
|
830
|
+
_: 1
|
|
831
|
+
/* STABLE */
|
|
832
|
+
|
|
801
833
|
})]),
|
|
802
|
-
_: 1
|
|
834
|
+
_: 1
|
|
835
|
+
/* STABLE */
|
|
836
|
+
|
|
803
837
|
})]),
|
|
804
|
-
_: 1
|
|
805
|
-
|
|
806
|
-
|
|
838
|
+
_: 1
|
|
839
|
+
/* STABLE */
|
|
840
|
+
|
|
841
|
+
}, 8
|
|
842
|
+
/* PROPS */
|
|
843
|
+
, ["label"])]),
|
|
844
|
+
_: 1
|
|
845
|
+
/* STABLE */
|
|
846
|
+
|
|
807
847
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
808
848
|
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, {
|
|
809
849
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pitch
|
|
@@ -823,8 +863,12 @@ const __default__ = {
|
|
|
823
863
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minPitch,
|
|
824
864
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxPitch,
|
|
825
865
|
onChange: _cache[9] || (_cache[9] = $event => paramsChanged('pitch'))
|
|
826
|
-
}, null, 8
|
|
827
|
-
|
|
866
|
+
}, null, 8
|
|
867
|
+
/* PROPS */
|
|
868
|
+
, ["modelValue", "min", "max"])]),
|
|
869
|
+
_: 1
|
|
870
|
+
/* STABLE */
|
|
871
|
+
|
|
828
872
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
829
873
|
span: 8
|
|
830
874
|
}, {
|
|
@@ -836,14 +880,26 @@ const __default__ = {
|
|
|
836
880
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxPitch,
|
|
837
881
|
"controls-position": "right",
|
|
838
882
|
onChange: _cache[11] || (_cache[11] = $event => paramsChanged('pitch'))
|
|
839
|
-
}, null, 8
|
|
840
|
-
|
|
883
|
+
}, null, 8
|
|
884
|
+
/* PROPS */
|
|
885
|
+
, ["modelValue", "min", "max"])]),
|
|
886
|
+
_: 1
|
|
887
|
+
/* STABLE */
|
|
888
|
+
|
|
841
889
|
})]),
|
|
842
|
-
_: 1
|
|
890
|
+
_: 1
|
|
891
|
+
/* STABLE */
|
|
892
|
+
|
|
843
893
|
})]),
|
|
844
|
-
_: 1
|
|
845
|
-
|
|
846
|
-
|
|
894
|
+
_: 1
|
|
895
|
+
/* STABLE */
|
|
896
|
+
|
|
897
|
+
}, 8
|
|
898
|
+
/* PROPS */
|
|
899
|
+
, ["label"])]),
|
|
900
|
+
_: 1
|
|
901
|
+
/* STABLE */
|
|
902
|
+
|
|
847
903
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
848
904
|
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, {
|
|
849
905
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).roll
|
|
@@ -863,8 +919,12 @@ const __default__ = {
|
|
|
863
919
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minPitch,
|
|
864
920
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxPitch,
|
|
865
921
|
onChange: _cache[13] || (_cache[13] = $event => paramsChanged('roll'))
|
|
866
|
-
}, null, 8
|
|
867
|
-
|
|
922
|
+
}, null, 8
|
|
923
|
+
/* PROPS */
|
|
924
|
+
, ["modelValue", "min", "max"])]),
|
|
925
|
+
_: 1
|
|
926
|
+
/* STABLE */
|
|
927
|
+
|
|
868
928
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
869
929
|
span: 8
|
|
870
930
|
}, {
|
|
@@ -876,14 +936,26 @@ const __default__ = {
|
|
|
876
936
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxRoll,
|
|
877
937
|
"controls-position": "right",
|
|
878
938
|
onChange: _cache[15] || (_cache[15] = $event => paramsChanged('roll'))
|
|
879
|
-
}, null, 8
|
|
880
|
-
|
|
939
|
+
}, null, 8
|
|
940
|
+
/* PROPS */
|
|
941
|
+
, ["modelValue", "min", "max"])]),
|
|
942
|
+
_: 1
|
|
943
|
+
/* STABLE */
|
|
944
|
+
|
|
881
945
|
})]),
|
|
882
|
-
_: 1
|
|
946
|
+
_: 1
|
|
947
|
+
/* STABLE */
|
|
948
|
+
|
|
883
949
|
})]),
|
|
884
|
-
_: 1
|
|
885
|
-
|
|
886
|
-
|
|
950
|
+
_: 1
|
|
951
|
+
/* STABLE */
|
|
952
|
+
|
|
953
|
+
}, 8
|
|
954
|
+
/* PROPS */
|
|
955
|
+
, ["label"])]),
|
|
956
|
+
_: 1
|
|
957
|
+
/* STABLE */
|
|
958
|
+
|
|
887
959
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
888
960
|
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, {
|
|
889
961
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).leftRightAngle
|
|
@@ -903,8 +975,12 @@ const __default__ = {
|
|
|
903
975
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minLeftRightAngle,
|
|
904
976
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxLeftRightAngle,
|
|
905
977
|
onChange: _cache[17] || (_cache[17] = $event => paramsChanged('leftRightAngle'))
|
|
906
|
-
}, null, 8
|
|
907
|
-
|
|
978
|
+
}, null, 8
|
|
979
|
+
/* PROPS */
|
|
980
|
+
, ["modelValue", "min", "max"])]),
|
|
981
|
+
_: 1
|
|
982
|
+
/* STABLE */
|
|
983
|
+
|
|
908
984
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
909
985
|
span: 8
|
|
910
986
|
}, {
|
|
@@ -916,14 +992,26 @@ const __default__ = {
|
|
|
916
992
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxLeftRightAngle,
|
|
917
993
|
"controls-position": "right",
|
|
918
994
|
onChange: _cache[19] || (_cache[19] = $event => paramsChanged('leftRightAngle'))
|
|
919
|
-
}, null, 8
|
|
920
|
-
|
|
995
|
+
}, null, 8
|
|
996
|
+
/* PROPS */
|
|
997
|
+
, ["modelValue", "min", "max"])]),
|
|
998
|
+
_: 1
|
|
999
|
+
/* STABLE */
|
|
1000
|
+
|
|
921
1001
|
})]),
|
|
922
|
-
_: 1
|
|
1002
|
+
_: 1
|
|
1003
|
+
/* STABLE */
|
|
1004
|
+
|
|
923
1005
|
})]),
|
|
924
|
-
_: 1
|
|
925
|
-
|
|
926
|
-
|
|
1006
|
+
_: 1
|
|
1007
|
+
/* STABLE */
|
|
1008
|
+
|
|
1009
|
+
}, 8
|
|
1010
|
+
/* PROPS */
|
|
1011
|
+
, ["label"])]),
|
|
1012
|
+
_: 1
|
|
1013
|
+
/* STABLE */
|
|
1014
|
+
|
|
927
1015
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
928
1016
|
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, {
|
|
929
1017
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).frontAndRearAngle
|
|
@@ -943,8 +1031,12 @@ const __default__ = {
|
|
|
943
1031
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minFrontAndRearAngle,
|
|
944
1032
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFrontAndRearAngle,
|
|
945
1033
|
onChange: _cache[21] || (_cache[21] = $event => paramsChanged('frontAndRearAngle'))
|
|
946
|
-
}, null, 8
|
|
947
|
-
|
|
1034
|
+
}, null, 8
|
|
1035
|
+
/* PROPS */
|
|
1036
|
+
, ["modelValue", "min", "max"])]),
|
|
1037
|
+
_: 1
|
|
1038
|
+
/* STABLE */
|
|
1039
|
+
|
|
948
1040
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
949
1041
|
span: 8
|
|
950
1042
|
}, {
|
|
@@ -956,19 +1048,39 @@ const __default__ = {
|
|
|
956
1048
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFrontAndRearAngle,
|
|
957
1049
|
"controls-position": "right",
|
|
958
1050
|
onChange: _cache[23] || (_cache[23] = $event => paramsChanged('frontAndRearAngle'))
|
|
959
|
-
}, null, 8
|
|
960
|
-
|
|
1051
|
+
}, null, 8
|
|
1052
|
+
/* PROPS */
|
|
1053
|
+
, ["modelValue", "min", "max"])]),
|
|
1054
|
+
_: 1
|
|
1055
|
+
/* STABLE */
|
|
1056
|
+
|
|
961
1057
|
})]),
|
|
962
|
-
_: 1
|
|
1058
|
+
_: 1
|
|
1059
|
+
/* STABLE */
|
|
1060
|
+
|
|
963
1061
|
})]),
|
|
964
|
-
_: 1
|
|
965
|
-
|
|
966
|
-
|
|
1062
|
+
_: 1
|
|
1063
|
+
/* STABLE */
|
|
1064
|
+
|
|
1065
|
+
}, 8
|
|
1066
|
+
/* PROPS */
|
|
1067
|
+
, ["label"])]),
|
|
1068
|
+
_: 1
|
|
1069
|
+
/* STABLE */
|
|
1070
|
+
|
|
967
1071
|
})]),
|
|
968
|
-
_: 1
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
1072
|
+
_: 1
|
|
1073
|
+
/* STABLE */
|
|
1074
|
+
|
|
1075
|
+
}, 8
|
|
1076
|
+
/* PROPS */
|
|
1077
|
+
, ["label-width"])]),
|
|
1078
|
+
_: 1
|
|
1079
|
+
/* STABLE */
|
|
1080
|
+
|
|
1081
|
+
}, 8
|
|
1082
|
+
/* PROPS */
|
|
1083
|
+
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse_item, {
|
|
972
1084
|
class: "kq3d-scene-advanced-to-image-collapse-item",
|
|
973
1085
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).pictureSpecification,
|
|
974
1086
|
name: "pictureSpecification"
|
|
@@ -1007,35 +1119,74 @@ const __default__ = {
|
|
|
1007
1119
|
label: "JPEG",
|
|
1008
1120
|
value: "jpeg"
|
|
1009
1121
|
})]),
|
|
1010
|
-
_: 1
|
|
1011
|
-
|
|
1012
|
-
|
|
1122
|
+
_: 1
|
|
1123
|
+
/* STABLE */
|
|
1124
|
+
|
|
1125
|
+
}, 8
|
|
1126
|
+
/* PROPS */
|
|
1127
|
+
, ["modelValue"])]),
|
|
1128
|
+
_: 1
|
|
1129
|
+
/* STABLE */
|
|
1130
|
+
|
|
1013
1131
|
})]),
|
|
1014
|
-
_: 1
|
|
1015
|
-
|
|
1016
|
-
|
|
1132
|
+
_: 1
|
|
1133
|
+
/* STABLE */
|
|
1134
|
+
|
|
1135
|
+
}, 8
|
|
1136
|
+
/* PROPS */
|
|
1137
|
+
, ["label"])]),
|
|
1138
|
+
_: 1
|
|
1139
|
+
/* STABLE */
|
|
1140
|
+
|
|
1017
1141
|
})]),
|
|
1018
|
-
_: 1
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1142
|
+
_: 1
|
|
1143
|
+
/* STABLE */
|
|
1144
|
+
|
|
1145
|
+
}, 8
|
|
1146
|
+
/* PROPS */
|
|
1147
|
+
, ["label-width"])]),
|
|
1148
|
+
_: 1
|
|
1149
|
+
/* STABLE */
|
|
1150
|
+
|
|
1151
|
+
}, 8
|
|
1152
|
+
/* PROPS */
|
|
1153
|
+
, ["title"])]),
|
|
1154
|
+
_: 1
|
|
1155
|
+
/* STABLE */
|
|
1156
|
+
|
|
1157
|
+
}, 8
|
|
1158
|
+
/* PROPS */
|
|
1159
|
+
, ["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, {
|
|
1024
1160
|
onClick: _cache[26] || (_cache[26] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => toImageHander(), ["stop"])),
|
|
1025
1161
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).sceneAdvancedToImageButton,
|
|
1026
1162
|
type: "primary"
|
|
1027
1163
|
}, {
|
|
1028
|
-
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).sceneAdvancedToImageButton), 1
|
|
1029
|
-
|
|
1030
|
-
|
|
1164
|
+
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).sceneAdvancedToImageButton), 1
|
|
1165
|
+
/* TEXT */
|
|
1166
|
+
)]),
|
|
1167
|
+
_: 1
|
|
1168
|
+
/* STABLE */
|
|
1169
|
+
|
|
1170
|
+
}, 8
|
|
1171
|
+
/* PROPS */
|
|
1172
|
+
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
1031
1173
|
onClick: _cache[27] || (_cache[27] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => drawHander(), ["stop"])),
|
|
1032
1174
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).drawButton
|
|
1033
1175
|
}, {
|
|
1034
|
-
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).drawButton), 1
|
|
1035
|
-
|
|
1036
|
-
|
|
1176
|
+
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).drawButton), 1
|
|
1177
|
+
/* TEXT */
|
|
1178
|
+
)]),
|
|
1179
|
+
_: 1
|
|
1180
|
+
/* STABLE */
|
|
1181
|
+
|
|
1182
|
+
}, 8
|
|
1183
|
+
/* PROPS */
|
|
1184
|
+
, ["title"])])])], 2
|
|
1185
|
+
/* CLASS */
|
|
1186
|
+
);
|
|
1037
1187
|
};
|
|
1038
1188
|
}
|
|
1189
|
+
|
|
1039
1190
|
}));
|
|
1040
1191
|
;// CONCATENATED MODULE: ./src/webgl/sceneadvancedtoimage/SceneAdvancedToImage.vue?vue&type=script&setup=true&lang=js
|
|
1041
1192
|
|
|
@@ -1053,11 +1204,13 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
|
1053
1204
|
|
|
1054
1205
|
|
|
1055
1206
|
|
|
1207
|
+
|
|
1056
1208
|
SceneAdvancedToImage.install = (Vue, opts) => {
|
|
1057
1209
|
init_js_default()(Vue, opts);
|
|
1058
1210
|
Vue.component(SceneAdvancedToImage.name, SceneAdvancedToImage);
|
|
1059
1211
|
};
|
|
1060
1212
|
|
|
1213
|
+
|
|
1061
1214
|
}();
|
|
1062
1215
|
/******/ return __webpack_exports__;
|
|
1063
1216
|
/******/ })()
|