@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
|
@@ -78,7 +78,6 @@ function _defineProperty(obj, key, value) {
|
|
|
78
78
|
} else {
|
|
79
79
|
obj[key] = value;
|
|
80
80
|
}
|
|
81
|
-
|
|
82
81
|
return obj;
|
|
83
82
|
}
|
|
84
83
|
|
|
@@ -174,58 +173,48 @@ var defineProperty = __webpack_require__(8270);
|
|
|
174
173
|
var const_image_ = __webpack_require__(6277);
|
|
175
174
|
;// CONCATENATED MODULE: ./src/webgl/viewshedanalysis/ViewshedAnalysisViewModel.js
|
|
176
175
|
|
|
177
|
-
|
|
178
176
|
/*
|
|
179
177
|
* Copyright (C) 2019 KQ GEO Technologies Co., Ltd.
|
|
180
178
|
* All rights reserved.
|
|
181
179
|
*/
|
|
182
|
-
//可视域分析逻辑类
|
|
183
180
|
|
|
181
|
+
//可视域分析逻辑类
|
|
184
182
|
class ViewshedAnalysisViewModel {
|
|
185
|
-
//可视域分析三维对象
|
|
186
|
-
//三维场景对象
|
|
187
|
-
//可视域分析存储参数对象
|
|
188
|
-
//可视域分析初始点图标
|
|
189
183
|
//可视域分析初始点坐标
|
|
184
|
+
|
|
190
185
|
constructor(scenceView, options) {
|
|
191
186
|
(0,defineProperty/* default */.Z)(this, "_viewshedAnalysis", null);
|
|
192
|
-
|
|
187
|
+
//可视域分析三维对象
|
|
193
188
|
(0,defineProperty/* default */.Z)(this, "_viewer", null);
|
|
194
|
-
|
|
195
189
|
(0,defineProperty/* default */.Z)(this, "_scene", null);
|
|
196
|
-
|
|
190
|
+
//三维场景对象
|
|
197
191
|
(0,defineProperty/* default */.Z)(this, "_options", null);
|
|
198
|
-
|
|
192
|
+
//可视域分析存储参数对象
|
|
199
193
|
(0,defineProperty/* default */.Z)(this, "_marker", null);
|
|
200
|
-
|
|
194
|
+
//可视域分析初始点图标
|
|
201
195
|
(0,defineProperty/* default */.Z)(this, "_position", null);
|
|
202
|
-
|
|
203
196
|
this._viewer = scenceView._viewer;
|
|
204
197
|
this._scene = scenceView._viewer.scene;
|
|
205
198
|
this._scene.globe.depthTestAgainstTerrain = true;
|
|
206
199
|
this._options = options;
|
|
207
|
-
|
|
208
200
|
if (this._options.visibleColor) {
|
|
209
201
|
this._options.visibleColor = Cesium.Color.fromCssColorString(this._options.visibleColor);
|
|
210
202
|
}
|
|
211
|
-
|
|
212
203
|
if (this._options.visibleColor) {
|
|
213
204
|
this._options.invisibleColor = Cesium.Color.fromCssColorString(this._options.invisibleColor);
|
|
214
205
|
}
|
|
215
|
-
}
|
|
216
|
-
|
|
206
|
+
}
|
|
217
207
|
|
|
208
|
+
//开始分析
|
|
218
209
|
start() {
|
|
219
210
|
this.clear();
|
|
220
211
|
this._viewshedAnalysis = new Cesium.Kq3dViewshedInteractive(this._scene, this._options);
|
|
221
212
|
let that = this;
|
|
222
|
-
|
|
223
213
|
this._viewshedAnalysis.event.addEventListener((p1, p2) => {
|
|
224
214
|
if (p1 && p2 == undefined) {
|
|
225
215
|
that._position = p1;
|
|
226
216
|
let cartographic = Cesium.Cartographic.fromCartesian(p1);
|
|
227
217
|
let newPos = Cesium.Cartesian3.fromRadians(cartographic.longitude, cartographic.latitude, cartographic.height + that._options.offsetHeight);
|
|
228
|
-
|
|
229
218
|
if (that._marker) {
|
|
230
219
|
that._marker.position = newPos;
|
|
231
220
|
} else {
|
|
@@ -233,85 +222,75 @@ class ViewshedAnalysisViewModel {
|
|
|
233
222
|
position: newPos,
|
|
234
223
|
billboard: {
|
|
235
224
|
image: const_image_.OBSERVATION_POINT,
|
|
236
|
-
verticalOrigin: Cesium.VerticalOrigin.CENTER
|
|
237
|
-
|
|
225
|
+
verticalOrigin: Cesium.VerticalOrigin.CENTER
|
|
226
|
+
// disableDepthTestDistance: Number.POSITIVE_INFINITY //edited by ly
|
|
238
227
|
}
|
|
239
228
|
});
|
|
240
229
|
}
|
|
241
230
|
}
|
|
242
231
|
});
|
|
232
|
+
this._viewshedAnalysis.start();
|
|
243
233
|
|
|
244
|
-
|
|
234
|
+
// if (!this._viewshedAnalysis.isRunning()) {
|
|
245
235
|
// // 绘制完成后,需要释放绘制事件
|
|
246
236
|
// }
|
|
237
|
+
}
|
|
247
238
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
239
|
+
//清除全部结果
|
|
251
240
|
clear() {
|
|
252
241
|
// this._viewshedAnalysis && this._viewshedAnalysis.pause();
|
|
253
242
|
this.destroy();
|
|
254
|
-
}
|
|
255
|
-
|
|
243
|
+
}
|
|
256
244
|
|
|
245
|
+
//销毁
|
|
257
246
|
destroy() {
|
|
258
247
|
this._viewshedAnalysis && this._viewshedAnalysis.destroy();
|
|
259
248
|
this._viewshedAnalysis = null;
|
|
260
|
-
|
|
261
249
|
if (this._marker) {
|
|
262
250
|
this._viewer.entities.remove(this._marker);
|
|
263
|
-
|
|
264
251
|
this._marker = null;
|
|
265
252
|
}
|
|
266
|
-
}
|
|
267
|
-
|
|
253
|
+
}
|
|
268
254
|
|
|
255
|
+
//设置偏移高度
|
|
269
256
|
setOffsetHeight(offsetHeight) {
|
|
270
257
|
this._options.offsetHeight = Number(offsetHeight);
|
|
271
258
|
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.offsetHeight = this._options.offsetHeight;
|
|
272
|
-
|
|
273
259
|
if (this._marker) {
|
|
274
260
|
let cartographic = Cesium.Cartographic.fromCartesian(this._position);
|
|
275
261
|
this._marker.position = Cesium.Cartesian3.fromRadians(cartographic.longitude, cartographic.latitude, cartographic.height + this._options.offsetHeight);
|
|
276
262
|
}
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
|
|
263
|
+
}
|
|
264
|
+
//设置水平角
|
|
280
265
|
setFovH(fovH) {
|
|
281
266
|
this._options.fovH = Number(fovH);
|
|
282
267
|
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.fovH = this._options.fovH;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
|
|
268
|
+
}
|
|
269
|
+
//设置竖直角
|
|
286
270
|
setFovV(fovV) {
|
|
287
271
|
this._options.fovV = Number(fovV);
|
|
288
272
|
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.fovV = this._options.fovV;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
|
|
273
|
+
}
|
|
274
|
+
//设置可视颜色
|
|
292
275
|
setVisibleColor(visibleColor) {
|
|
293
276
|
this._options.visibleColor = Cesium.Color.fromCssColorString(visibleColor);
|
|
294
277
|
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.visibleColor = this._options.visibleColor;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
|
|
278
|
+
}
|
|
279
|
+
//设置不可视颜色
|
|
298
280
|
setInvisibleColor(invisibleColor) {
|
|
299
281
|
this._options.invisibleColor = Cesium.Color.fromCssColorString(invisibleColor);
|
|
300
282
|
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.invisibleColor = this._options.invisibleColor;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
|
|
283
|
+
}
|
|
284
|
+
//设置网格线颜色
|
|
304
285
|
setLineColor(lineColor) {
|
|
305
286
|
this._options.lineColor = lineColor;
|
|
306
287
|
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.lineColor = Cesium.Color.fromCssColorString(lineColor);
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
|
|
288
|
+
}
|
|
289
|
+
//显示/隐藏网格线
|
|
310
290
|
setShowGridLine(showGridLine) {
|
|
311
291
|
this._options.showGridLine = showGridLine;
|
|
312
292
|
if (this._viewshedAnalysis) this._viewshedAnalysis.attachedViewshed.showGridLine = showGridLine;
|
|
313
293
|
}
|
|
314
|
-
|
|
315
294
|
}
|
|
316
295
|
// EXTERNAL MODULE: external "@kq_npm/client_icons_vue"
|
|
317
296
|
var client_icons_vue_ = __webpack_require__(348);
|
|
@@ -347,7 +326,6 @@ const __default__ = {
|
|
|
347
326
|
type: Boolean,
|
|
348
327
|
default: true
|
|
349
328
|
},
|
|
350
|
-
|
|
351
329
|
/**
|
|
352
330
|
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
353
331
|
*/
|
|
@@ -377,7 +355,6 @@ const __default__ = {
|
|
|
377
355
|
default: true
|
|
378
356
|
}
|
|
379
357
|
},
|
|
380
|
-
|
|
381
358
|
setup(__props, {
|
|
382
359
|
expose: __expose
|
|
383
360
|
}) {
|
|
@@ -386,7 +363,9 @@ const __default__ = {
|
|
|
386
363
|
proxy
|
|
387
364
|
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
388
365
|
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
389
|
-
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
|
|
366
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(proxy.$i18n.global.messages[proxy.$i18n.global.locale]["webgl"]);
|
|
367
|
+
|
|
368
|
+
// 获取组件传参
|
|
390
369
|
|
|
391
370
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
392
371
|
collapseValue: props.settingParams && props.settingParams.collapseValue || ((props.settingParams && props.settingParams.collapseValue) == '' ? "" : "setting"),
|
|
@@ -415,13 +394,16 @@ const __default__ = {
|
|
|
415
394
|
// 不可见颜色
|
|
416
395
|
lineColor: props.settingParams && props.settingParams.lineColor || "#E6A23C"
|
|
417
396
|
});
|
|
418
|
-
let viewModel = null;
|
|
397
|
+
let viewModel = null;
|
|
419
398
|
|
|
420
|
-
|
|
399
|
+
// 组件容器Ref
|
|
400
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
421
401
|
|
|
402
|
+
// 生成组件默认header
|
|
422
403
|
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
423
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
404
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
424
405
|
|
|
406
|
+
// 国际化
|
|
425
407
|
let {
|
|
426
408
|
locale,
|
|
427
409
|
messages
|
|
@@ -444,7 +426,6 @@ const __default__ = {
|
|
|
444
426
|
});
|
|
445
427
|
});
|
|
446
428
|
currentLang.value = proxy.$i18n.locale; // 获取当前语言类型
|
|
447
|
-
|
|
448
429
|
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
449
430
|
if (scenceView) {
|
|
450
431
|
viewModel = new ViewshedAnalysisViewModel(scenceView, {
|
|
@@ -458,90 +439,71 @@ const __default__ = {
|
|
|
458
439
|
}
|
|
459
440
|
});
|
|
460
441
|
});
|
|
442
|
+
|
|
461
443
|
/**
|
|
462
444
|
* @description 监听header生成
|
|
463
445
|
*/
|
|
464
|
-
|
|
465
446
|
const watchCreateHeaderTemp = () => {
|
|
466
447
|
if (props.showHeaderTemp) {
|
|
467
448
|
// 生成headerTemp
|
|
468
449
|
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
469
450
|
}
|
|
470
451
|
};
|
|
471
|
-
|
|
472
452
|
function paramsChanged(key) {
|
|
473
453
|
switch (key) {
|
|
474
454
|
case "height":
|
|
475
455
|
viewModel.setOffsetHeight(formItem.offsetHeight);
|
|
476
456
|
break;
|
|
477
|
-
|
|
478
457
|
case "fovV":
|
|
479
458
|
viewModel.setFovV(formItem.fovV);
|
|
480
459
|
break;
|
|
481
|
-
|
|
482
460
|
case "fovH":
|
|
483
461
|
viewModel.setFovH(formItem.fovH);
|
|
484
462
|
break;
|
|
485
|
-
|
|
486
463
|
case "visibleColor":
|
|
487
464
|
viewModel.setVisibleColor(formItem.visibleColor);
|
|
488
465
|
break;
|
|
489
|
-
|
|
490
466
|
case "invisibleColor":
|
|
491
467
|
viewModel.setInvisibleColor(formItem.invisibleColor);
|
|
492
468
|
break;
|
|
493
|
-
|
|
494
469
|
case "lineColor":
|
|
495
470
|
viewModel.setLineColor(formItem.lineColor);
|
|
496
471
|
break;
|
|
497
|
-
|
|
498
472
|
default:
|
|
499
473
|
break;
|
|
500
474
|
}
|
|
501
|
-
}
|
|
502
|
-
|
|
475
|
+
}
|
|
503
476
|
|
|
477
|
+
//开始分析
|
|
504
478
|
function startAnalysis() {
|
|
505
479
|
viewModel && viewModel.start();
|
|
506
|
-
}
|
|
507
|
-
|
|
480
|
+
}
|
|
508
481
|
|
|
482
|
+
//清除结果
|
|
509
483
|
function clearResult() {
|
|
510
484
|
viewModel && viewModel.clear();
|
|
511
|
-
}
|
|
512
|
-
|
|
485
|
+
}
|
|
513
486
|
|
|
487
|
+
// 销毁
|
|
514
488
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
515
489
|
viewModel && viewModel.destroy();
|
|
516
490
|
});
|
|
517
|
-
|
|
518
491
|
__expose({
|
|
519
492
|
paramsChanged,
|
|
520
493
|
startAnalysis,
|
|
521
494
|
clearResult
|
|
522
495
|
});
|
|
523
|
-
|
|
524
496
|
return (_ctx, _cache) => {
|
|
525
497
|
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
526
|
-
|
|
527
498
|
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
528
|
-
|
|
529
499
|
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
530
|
-
|
|
531
500
|
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
532
|
-
|
|
533
501
|
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
534
|
-
|
|
535
502
|
const _component_kq_color_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-color-picker");
|
|
536
|
-
|
|
537
503
|
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
538
|
-
|
|
539
504
|
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
540
|
-
|
|
541
505
|
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
542
|
-
|
|
543
506
|
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
544
|
-
|
|
545
507
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
546
508
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-viewshed-analysis", {
|
|
547
509
|
'kq-box-shadow': __props.showShadow
|
|
@@ -552,17 +514,11 @@ const __default__ = {
|
|
|
552
514
|
key: 0,
|
|
553
515
|
ref_key: "headerTempRef",
|
|
554
516
|
ref: headerTempRef
|
|
555
|
-
}, null, 512
|
|
556
|
-
/* NEED_PATCH */
|
|
557
|
-
)) : (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, {
|
|
517
|
+
}, null, 512 /* NEED_PATCH */)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
558
518
|
class: "kq3d-viewshed-analysis-tip"
|
|
559
519
|
}, {
|
|
560
|
-
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).viewshedTips), 1
|
|
561
|
-
/*
|
|
562
|
-
)]),
|
|
563
|
-
_: 1
|
|
564
|
-
/* STABLE */
|
|
565
|
-
|
|
520
|
+
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).viewshedTips), 1 /* TEXT */)]),
|
|
521
|
+
_: 1 /* STABLE */
|
|
566
522
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
567
523
|
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue
|
|
568
524
|
}, {
|
|
@@ -593,12 +549,8 @@ const __default__ = {
|
|
|
593
549
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minOffsetHeight,
|
|
594
550
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxOffsetHeight,
|
|
595
551
|
onChange: _cache[1] || (_cache[1] = $event => paramsChanged('height'))
|
|
596
|
-
}, null, 8
|
|
597
|
-
/*
|
|
598
|
-
, ["modelValue", "min", "max"])]),
|
|
599
|
-
_: 1
|
|
600
|
-
/* STABLE */
|
|
601
|
-
|
|
552
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
553
|
+
_: 1 /* STABLE */
|
|
602
554
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
603
555
|
span: 8
|
|
604
556
|
}, {
|
|
@@ -610,26 +562,14 @@ const __default__ = {
|
|
|
610
562
|
step: 1,
|
|
611
563
|
"controls-position": "right",
|
|
612
564
|
onChange: _cache[3] || (_cache[3] = $event => paramsChanged('height'))
|
|
613
|
-
}, null, 8
|
|
614
|
-
/*
|
|
615
|
-
, ["modelValue", "min", "max"])]),
|
|
616
|
-
_: 1
|
|
617
|
-
/* STABLE */
|
|
618
|
-
|
|
565
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
566
|
+
_: 1 /* STABLE */
|
|
619
567
|
})]),
|
|
620
|
-
_: 1
|
|
621
|
-
/* STABLE */
|
|
622
|
-
|
|
568
|
+
_: 1 /* STABLE */
|
|
623
569
|
})]),
|
|
624
|
-
_: 1
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
}, 8
|
|
628
|
-
/* PROPS */
|
|
629
|
-
, ["label"])]),
|
|
630
|
-
_: 1
|
|
631
|
-
/* STABLE */
|
|
632
|
-
|
|
570
|
+
_: 1 /* STABLE */
|
|
571
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
572
|
+
_: 1 /* STABLE */
|
|
633
573
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
634
574
|
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, {
|
|
635
575
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).FovV
|
|
@@ -649,12 +589,8 @@ const __default__ = {
|
|
|
649
589
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minFovV,
|
|
650
590
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFovV,
|
|
651
591
|
onChange: _cache[5] || (_cache[5] = $event => paramsChanged('fovV'))
|
|
652
|
-
}, null, 8
|
|
653
|
-
/*
|
|
654
|
-
, ["modelValue", "min", "max"])]),
|
|
655
|
-
_: 1
|
|
656
|
-
/* STABLE */
|
|
657
|
-
|
|
592
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
593
|
+
_: 1 /* STABLE */
|
|
658
594
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
659
595
|
span: 8
|
|
660
596
|
}, {
|
|
@@ -666,26 +602,14 @@ const __default__ = {
|
|
|
666
602
|
step: 1,
|
|
667
603
|
"controls-position": "right",
|
|
668
604
|
onChange: _cache[7] || (_cache[7] = $event => paramsChanged('fovV'))
|
|
669
|
-
}, null, 8
|
|
670
|
-
/*
|
|
671
|
-
, ["modelValue", "min", "max"])]),
|
|
672
|
-
_: 1
|
|
673
|
-
/* STABLE */
|
|
674
|
-
|
|
605
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
606
|
+
_: 1 /* STABLE */
|
|
675
607
|
})]),
|
|
676
|
-
_: 1
|
|
677
|
-
/* STABLE */
|
|
678
|
-
|
|
608
|
+
_: 1 /* STABLE */
|
|
679
609
|
})]),
|
|
680
|
-
_: 1
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
}, 8
|
|
684
|
-
/* PROPS */
|
|
685
|
-
, ["label"])]),
|
|
686
|
-
_: 1
|
|
687
|
-
/* STABLE */
|
|
688
|
-
|
|
610
|
+
_: 1 /* STABLE */
|
|
611
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
612
|
+
_: 1 /* STABLE */
|
|
689
613
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
690
614
|
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, {
|
|
691
615
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).FovH
|
|
@@ -705,12 +629,8 @@ const __default__ = {
|
|
|
705
629
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minFovH,
|
|
706
630
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxFovH,
|
|
707
631
|
onChange: _cache[9] || (_cache[9] = $event => paramsChanged('fovH'))
|
|
708
|
-
}, null, 8
|
|
709
|
-
/*
|
|
710
|
-
, ["modelValue", "min", "max"])]),
|
|
711
|
-
_: 1
|
|
712
|
-
/* STABLE */
|
|
713
|
-
|
|
632
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
633
|
+
_: 1 /* STABLE */
|
|
714
634
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
715
635
|
span: 8
|
|
716
636
|
}, {
|
|
@@ -722,26 +642,14 @@ const __default__ = {
|
|
|
722
642
|
step: 1,
|
|
723
643
|
"controls-position": "right",
|
|
724
644
|
onChange: _cache[11] || (_cache[11] = $event => paramsChanged('fovH'))
|
|
725
|
-
}, null, 8
|
|
726
|
-
/*
|
|
727
|
-
, ["modelValue", "min", "max"])]),
|
|
728
|
-
_: 1
|
|
729
|
-
/* STABLE */
|
|
730
|
-
|
|
645
|
+
}, null, 8 /* PROPS */, ["modelValue", "min", "max"])]),
|
|
646
|
+
_: 1 /* STABLE */
|
|
731
647
|
})]),
|
|
732
|
-
_: 1
|
|
733
|
-
/* STABLE */
|
|
734
|
-
|
|
648
|
+
_: 1 /* STABLE */
|
|
735
649
|
})]),
|
|
736
|
-
_: 1
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
}, 8
|
|
740
|
-
/* PROPS */
|
|
741
|
-
, ["label"])]),
|
|
742
|
-
_: 1
|
|
743
|
-
/* STABLE */
|
|
744
|
-
|
|
650
|
+
_: 1 /* STABLE */
|
|
651
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
652
|
+
_: 1 /* STABLE */
|
|
745
653
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
746
654
|
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, {
|
|
747
655
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).visibleColor
|
|
@@ -750,18 +658,10 @@ const __default__ = {
|
|
|
750
658
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).visibleColor,
|
|
751
659
|
"onUpdate:modelValue": _cache[12] || (_cache[12] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).visibleColor = $event),
|
|
752
660
|
onChange: _cache[13] || (_cache[13] = $event => paramsChanged('visibleColor'))
|
|
753
|
-
}, null, 8
|
|
754
|
-
/*
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
/* STABLE */
|
|
758
|
-
|
|
759
|
-
}, 8
|
|
760
|
-
/* PROPS */
|
|
761
|
-
, ["label"])]),
|
|
762
|
-
_: 1
|
|
763
|
-
/* STABLE */
|
|
764
|
-
|
|
661
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
662
|
+
_: 1 /* STABLE */
|
|
663
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
664
|
+
_: 1 /* STABLE */
|
|
765
665
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
766
666
|
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, {
|
|
767
667
|
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).invisibleColor
|
|
@@ -770,67 +670,32 @@ const __default__ = {
|
|
|
770
670
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).invisibleColor,
|
|
771
671
|
"onUpdate:modelValue": _cache[14] || (_cache[14] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).invisibleColor = $event),
|
|
772
672
|
onChange: _cache[15] || (_cache[15] = $event => paramsChanged('invisibleColor'))
|
|
773
|
-
}, null, 8
|
|
774
|
-
/*
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
/* STABLE */
|
|
778
|
-
|
|
779
|
-
}, 8
|
|
780
|
-
/* PROPS */
|
|
781
|
-
, ["label"])]),
|
|
782
|
-
_: 1
|
|
783
|
-
/* STABLE */
|
|
784
|
-
|
|
673
|
+
}, null, 8 /* PROPS */, ["modelValue"])]),
|
|
674
|
+
_: 1 /* STABLE */
|
|
675
|
+
}, 8 /* PROPS */, ["label"])]),
|
|
676
|
+
_: 1 /* STABLE */
|
|
785
677
|
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)(" <kq-row>\r\n <kq-form-item :label=\"language.lineColor\">\r\n <kq-color-picker v-model=\"formItem.lineColor\" @change=\"paramsChanged('lineColor')\"> </kq-color-picker>\r\n </kq-form-item>\r\n </kq-row> "), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("<kq-row :gutter=\"20\">\r\n <kq-col :span=\"8\">\r\n <kq-checkbox v-model=\"formItem.showVisible\">{{ language.showVisible }}</kq-checkbox>\r\n </kq-col>\r\n <kq-col :span=\"8\">\r\n <kq-checkbox v-model=\"formItem.showInvisible\">{{ language.showInvisible }}</kq-checkbox>\r\n </kq-col>\r\n <kq-col :span=\"8\">\r\n <kq-checkbox v-model=\"formItem.dynamicVisual\">{{ language.dynamicVisual }}</kq-checkbox>\r\n </kq-col>\r\n </kq-row> ")]),
|
|
786
|
-
_: 1
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
_: 1
|
|
793
|
-
/* STABLE */
|
|
794
|
-
|
|
795
|
-
}, 8
|
|
796
|
-
/* PROPS */
|
|
797
|
-
, ["title"])]),
|
|
798
|
-
_: 1
|
|
799
|
-
/* STABLE */
|
|
800
|
-
|
|
801
|
-
}, 8
|
|
802
|
-
/* PROPS */
|
|
803
|
-
, ["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, {
|
|
678
|
+
_: 1 /* STABLE */
|
|
679
|
+
}, 8 /* PROPS */, ["label-width"])]),
|
|
680
|
+
_: 1 /* STABLE */
|
|
681
|
+
}, 8 /* PROPS */, ["title"])]),
|
|
682
|
+
_: 1 /* STABLE */
|
|
683
|
+
}, 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, {
|
|
804
684
|
onClick: _cache[16] || (_cache[16] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
805
685
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
|
|
806
686
|
type: "primary"
|
|
807
687
|
}, {
|
|
808
|
-
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis), 1
|
|
809
|
-
/*
|
|
810
|
-
|
|
811
|
-
_: 1
|
|
812
|
-
/* STABLE */
|
|
813
|
-
|
|
814
|
-
}, 8
|
|
815
|
-
/* PROPS */
|
|
816
|
-
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
688
|
+
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).startAnalysis), 1 /* TEXT */)]),
|
|
689
|
+
_: 1 /* STABLE */
|
|
690
|
+
}, 8 /* PROPS */, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
817
691
|
onClick: _cache[17] || (_cache[17] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
|
|
818
692
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
|
|
819
693
|
}, {
|
|
820
|
-
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).clearResult), 1
|
|
821
|
-
/*
|
|
822
|
-
|
|
823
|
-
_: 1
|
|
824
|
-
/* STABLE */
|
|
825
|
-
|
|
826
|
-
}, 8
|
|
827
|
-
/* PROPS */
|
|
828
|
-
, ["title"])])])], 2
|
|
829
|
-
/* CLASS */
|
|
830
|
-
);
|
|
694
|
+
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).clearResult), 1 /* TEXT */)]),
|
|
695
|
+
_: 1 /* STABLE */
|
|
696
|
+
}, 8 /* PROPS */, ["title"])])])], 2 /* CLASS */);
|
|
831
697
|
};
|
|
832
698
|
}
|
|
833
|
-
|
|
834
699
|
}));
|
|
835
700
|
;// CONCATENATED MODULE: ./src/webgl/viewshedanalysis/ViewshedAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
836
701
|
|
|
@@ -852,13 +717,11 @@ var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_);
|
|
|
852
717
|
|
|
853
718
|
|
|
854
719
|
|
|
855
|
-
|
|
856
720
|
ViewshedAnalysis.install = (Vue, opts) => {
|
|
857
721
|
init_js_default()(Vue, opts);
|
|
858
722
|
Vue.component(ViewshedAnalysis.name, ViewshedAnalysis);
|
|
859
723
|
};
|
|
860
724
|
|
|
861
|
-
|
|
862
725
|
}();
|
|
863
726
|
/******/ return __webpack_exports__;
|
|
864
727
|
/******/ })()
|