@kq_npm/client3d_webgl_vue 4.3.3-beta → 4.3.5
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 +4 -35
- package/adddata/style/adddata.css +1 -110
- package/aspectanalysis/style/aspectanalysis.css +1 -101
- package/baseterraingallery/index.js +2 -2
- package/baseterraingallery/style/baseterraingallery.css +1 -88
- package/boxclip/index.js +0 -10
- package/boxclip/style/boxclip.css +1 -97
- package/clientPrint/index.js +15 -5
- package/clientPrint/style/clientPrint.css +1 -461
- package/comparemap/index.js +145 -136
- package/comparemap/style/comparemap.css +1 -35
- package/compass/index.js +2 -2
- package/excavatefillanalysis/index.js +2 -2
- package/excavatefillanalysis/style/excavatefillanalysis.css +1 -140
- package/fixedzoomin/index.js +2 -2
- package/fixedzoomout/index.js +2 -2
- package/flight/index.js +3 -13
- package/flight/style/flight.css +1 -150
- package/floodanalysis/style/floodanalysis.css +1 -95
- package/geologicalbodyanalysis/index.js +0 -10
- package/geologicalbodyanalysis/style/geologicalbodyanalysis.css +1 -64
- package/gpuspatialquery/index.js +0 -10
- package/gpuspatialquery/style/gpuspatialquery.css +1 -88
- package/hawkeye/index.js +2 -2
- package/index.js +1969 -535
- package/isolineanalysis/style/isolineanalysis.css +1 -113
- package/light/index.js +169 -170
- package/light/style/light.css +1 -104
- package/limitheightanalysis/index.js +125 -126
- package/limitheightanalysis/style/limitheightanalysis.css +1 -88
- package/measure/index.js +141 -24
- package/measure/style/measure.css +1 -84
- package/modelFlat/index.js +0 -10
- package/modelFlat/style/modelFlat.css +1 -66
- package/modelexcavate/index.js +98 -60
- package/modelexcavate/style/modelexcavate.css +1 -66
- package/modelfilter/index.js +0 -10
- package/modelfilter/style/modelfilter.css +1 -66
- package/modelprofileanalysis/index.js +164 -165
- package/modelprofileanalysis/style/modelprofileanalysis.css +1 -94
- package/modelselect/index.js +0 -10
- package/modelselect/style/modelselect.css +1 -28
- package/package.json +1 -1
- package/particleeffect/index.js +0 -10
- package/particleeffect/style/particleeffect.css +1 -94
- package/planeclip/index.js +0 -10
- package/planeclip/style/planeclip.css +1 -94
- package/resetview/index.js +2 -2
- package/roller/index.js +170 -171
- package/roller/style/roller.css +1 -59
- package/scaneffect/index.js +0 -10
- package/scaneffect/style/scaneffect.css +1 -101
- package/sceneset/index.js +1 -10
- package/sceneset/style/sceneset.css +1 -86
- package/sceneview/index.js +2029 -567
- package/sceneview/style/sceneview.css +1 -127
- package/screenshot/index.js +158 -159
- package/screenshot/style/screenshot.css +1 -53
- package/shadowanalysis/style/shadowanalysis.css +1 -141
- package/sightlineanalysis/index.js +5 -7
- package/sightlineanalysis/style/divpoint.css +1 -22
- package/sightlineanalysis/style/sightlineanalysis.css +1 -85
- package/skylineanalysis/style/skylineanalysis.css +1 -100
- package/slopeanalysis/index.js +16 -11
- package/slopeanalysis/style/slopeanalysis.css +1 -101
- package/slopeaspectanalysis/index.js +1512 -0
- package/slopeaspectanalysis/style/index.js +3 -0
- package/slopeaspectanalysis/style/slopeaspectanalysis.css +1 -0
- package/statusbar/index.js +3 -12
- package/style.css +1 -3817
- package/terrainoperation/index.js +0 -10
- package/terrainoperation/style/terrainoperation.css +1 -66
- package/terrainprofileanalysis/index.js +0 -10
- package/terrainprofileanalysis/style/terrainprofileanalysis.css +1 -83
- package/underground/index.js +3 -3
- package/underground/style/underground.css +1 -19
- package/videofusion/index.js +5 -35
- package/videofusion/style/videofusion.css +1 -104
- package/videoproject/index.js +5 -35
- package/videoproject/style/videoproject.css +1 -104
- package/viewshedanalysis/style/viewshedanalysis.css +1 -88
- package/weathereffect/style/weathereffect.css +1 -95
- package/wireframesketch/index.js +0 -10
- package/wireframesketch/style/wireframesketch.css +1 -12
package/index.js
CHANGED
|
@@ -12,7 +12,7 @@ return /******/ (function() { // webpackBootstrap
|
|
|
12
12
|
/******/ var __webpack_modules__ = ({
|
|
13
13
|
|
|
14
14
|
/***/ 705:
|
|
15
|
-
/***/ (function(module
|
|
15
|
+
/***/ (function(module) {
|
|
16
16
|
|
|
17
17
|
"use strict";
|
|
18
18
|
|
|
@@ -23,8 +23,6 @@ return /******/ (function() { // webpackBootstrap
|
|
|
23
23
|
// css base code, injected by the css-loader
|
|
24
24
|
// eslint-disable-next-line func-names
|
|
25
25
|
|
|
26
|
-
__webpack_require__(118);
|
|
27
|
-
|
|
28
26
|
module.exports = function (cssWithMappingToString) {
|
|
29
27
|
var list = []; // return the list of modules as css string
|
|
30
28
|
|
|
@@ -87,7 +85,9 @@ module.exports = function (cssWithMappingToString) {
|
|
|
87
85
|
/***/ }),
|
|
88
86
|
|
|
89
87
|
/***/ 961:
|
|
90
|
-
/***/ (function(module) {
|
|
88
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
89
|
+
|
|
90
|
+
__webpack_require__(271);
|
|
91
91
|
|
|
92
92
|
!function (e, t) {
|
|
93
93
|
true ? module.exports = t() : 0;
|
|
@@ -744,11 +744,11 @@ module.exports = function (list, options) {
|
|
|
744
744
|
|
|
745
745
|
/***/ }),
|
|
746
746
|
|
|
747
|
-
/***/
|
|
747
|
+
/***/ 271:
|
|
748
748
|
/***/ (function(module) {
|
|
749
749
|
|
|
750
750
|
"use strict";
|
|
751
|
-
module.exports = require("core-js/modules/es.
|
|
751
|
+
module.exports = require("core-js/modules/es.error.cause.js");
|
|
752
752
|
|
|
753
753
|
/***/ }),
|
|
754
754
|
|
|
@@ -975,6 +975,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
975
975
|
"Kq3dSkylineAnalysisViewModel": function() { return /* reexport */ SkylineAnalysisViewModel; },
|
|
976
976
|
"Kq3dSlopeAnalysis": function() { return /* reexport */ SlopeAnalysis; },
|
|
977
977
|
"Kq3dSlopeAnalysisViewModel": function() { return /* reexport */ SlopeAnalysisViewModel; },
|
|
978
|
+
"Kq3dSlopeAspectAnalysis": function() { return /* reexport */ SlopeAspectAnalysis; },
|
|
979
|
+
"Kq3dSlopeAspectAnalysisViewModel": function() { return /* reexport */ SlopeAspectAnalysisViewModel; },
|
|
978
980
|
"Kq3dStatusBar": function() { return /* reexport */ StatusBar; },
|
|
979
981
|
"Kq3dStatusBarViewModel": function() { return /* reexport */ StatusBarViewModel; },
|
|
980
982
|
"Kq3dTerrainOperation": function() { return /* reexport */ TerrainOperation; },
|
|
@@ -1016,13 +1018,13 @@ function _defineProperty(obj, key, value) {
|
|
|
1016
1018
|
|
|
1017
1019
|
return obj;
|
|
1018
1020
|
}
|
|
1019
|
-
// EXTERNAL MODULE: external "core-js/modules/es.array.push.js"
|
|
1020
|
-
var es_array_push_js_ = __webpack_require__(118);
|
|
1021
1021
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/mitt"
|
|
1022
1022
|
var mitt_ = __webpack_require__(905);
|
|
1023
1023
|
var mitt_default = /*#__PURE__*/__webpack_require__.n(mitt_);
|
|
1024
1024
|
;// CONCATENATED MODULE: external "core-js/modules/web.dom-exception.stack.js"
|
|
1025
1025
|
var web_dom_exception_stack_js_namespaceObject = require("core-js/modules/web.dom-exception.stack.js");
|
|
1026
|
+
;// CONCATENATED MODULE: external "core-js/modules/es.array.includes.js"
|
|
1027
|
+
var es_array_includes_js_namespaceObject = require("core-js/modules/es.array.includes.js");
|
|
1026
1028
|
// EXTERNAL MODULE: external "@kq_npm/client_common_vue/_utils/const-image"
|
|
1027
1029
|
var const_image_ = __webpack_require__(277);
|
|
1028
1030
|
;// CONCATENATED MODULE: ./src/webgl/sceneview/DrawManager.js
|
|
@@ -2326,7 +2328,6 @@ var global_event_default = /*#__PURE__*/__webpack_require__.n(global_event_);
|
|
|
2326
2328
|
|
|
2327
2329
|
|
|
2328
2330
|
|
|
2329
|
-
|
|
2330
2331
|
//图层管理类
|
|
2331
2332
|
|
|
2332
2333
|
class LayerManager {
|
|
@@ -4036,7 +4037,6 @@ function delTreeDataByGuid(data, guid) {
|
|
|
4036
4037
|
}
|
|
4037
4038
|
;// CONCATENATED MODULE: ./src/webgl/sceneview/SceneViewViewModel.js
|
|
4038
4039
|
|
|
4039
|
-
|
|
4040
4040
|
//SceneView逻辑类
|
|
4041
4041
|
|
|
4042
4042
|
|
|
@@ -7804,6 +7804,8 @@ class MeasureViewModel {
|
|
|
7804
7804
|
|
|
7805
7805
|
_defineProperty(this, "activeEvent", null);
|
|
7806
7806
|
|
|
7807
|
+
_defineProperty(this, "nauticalMileUnit", "nmi");
|
|
7808
|
+
|
|
7807
7809
|
this._measureHandler = new Cesium.Kq3dMeasureHandler(viewer);
|
|
7808
7810
|
this._viewer = viewer;
|
|
7809
7811
|
this.measureEvent = this._measureHandler.measureEvent;
|
|
@@ -7912,8 +7914,8 @@ class MeasureViewModel {
|
|
|
7912
7914
|
newValue = (value / 1000).toFixed(2) + " km";
|
|
7913
7915
|
break;
|
|
7914
7916
|
|
|
7915
|
-
case
|
|
7916
|
-
newValue = (value / 1852).toFixed(2) + "
|
|
7917
|
+
case this.nauticalMileUnit:
|
|
7918
|
+
newValue = (value / 1852).toFixed(2) + " " + this.nauticalMileUnit;
|
|
7917
7919
|
break;
|
|
7918
7920
|
|
|
7919
7921
|
case "m²":
|
|
@@ -8081,6 +8083,22 @@ const _hoisted_32 = {
|
|
|
8081
8083
|
const _hoisted_33 = {
|
|
8082
8084
|
class: "res"
|
|
8083
8085
|
};
|
|
8086
|
+
const _hoisted_34 = {
|
|
8087
|
+
class: "tit"
|
|
8088
|
+
};
|
|
8089
|
+
const _hoisted_35 = {
|
|
8090
|
+
class: "res"
|
|
8091
|
+
};
|
|
8092
|
+
const _hoisted_36 = {
|
|
8093
|
+
key: 3,
|
|
8094
|
+
class: "result"
|
|
8095
|
+
};
|
|
8096
|
+
const _hoisted_37 = {
|
|
8097
|
+
class: "tit"
|
|
8098
|
+
};
|
|
8099
|
+
const _hoisted_38 = {
|
|
8100
|
+
class: "res"
|
|
8101
|
+
};
|
|
8084
8102
|
|
|
8085
8103
|
|
|
8086
8104
|
|
|
@@ -8144,11 +8162,15 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
8144
8162
|
|
|
8145
8163
|
let isActive = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
8146
8164
|
let isResult = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
8147
|
-
let
|
|
8148
|
-
let
|
|
8165
|
+
let isTips = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(false);
|
|
8166
|
+
let distanceValue = null; // 默认显示距离的单位
|
|
8167
|
+
|
|
8168
|
+
let distanceUnit = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(props.settingParams && props.settingParams.distanceUnit || ""); // 海里单位选择
|
|
8169
|
+
|
|
8170
|
+
let nauticalMileUnit = props.settingParams && props.settingParams.nauticalMileUnit || "nmi"; // 面积单位
|
|
8149
8171
|
|
|
8150
8172
|
let areaUnit = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(props.settingParams && props.settingParams.areaUnit || "");
|
|
8151
|
-
let result = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(
|
|
8173
|
+
let result = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(0);
|
|
8152
8174
|
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
8153
8175
|
let mode = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("space");
|
|
8154
8176
|
let modeList = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)([]);
|
|
@@ -8178,7 +8200,7 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
8178
8200
|
value: "m"
|
|
8179
8201
|
}, {
|
|
8180
8202
|
label: language.value.nauticalMile,
|
|
8181
|
-
value:
|
|
8203
|
+
value: nauticalMileUnit
|
|
8182
8204
|
}];
|
|
8183
8205
|
};
|
|
8184
8206
|
|
|
@@ -8219,7 +8241,8 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
8219
8241
|
});
|
|
8220
8242
|
gis_utils_.utils.getWebMap(props.target, scenceView => {
|
|
8221
8243
|
if (scenceView) {
|
|
8222
|
-
viewModel = new MeasureViewModel(scenceView._viewer);
|
|
8244
|
+
viewModel = new MeasureViewModel(scenceView._viewer);
|
|
8245
|
+
viewModel.nauticalMileUnit = nauticalMileUnit; //注册测量事件,以获取测量结果
|
|
8223
8246
|
|
|
8224
8247
|
viewModel.measureEvent.addEventListener(function (res) {
|
|
8225
8248
|
if (measureType.value === "distance") {
|
|
@@ -8253,7 +8276,10 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
8253
8276
|
}
|
|
8254
8277
|
} else if (measureType.value === "azimuth" && res) {
|
|
8255
8278
|
if (res.positions && res.positions.length > 0) {
|
|
8256
|
-
result.value =
|
|
8279
|
+
result.value = {
|
|
8280
|
+
azimuth: res.azimuth.toFixed(4),
|
|
8281
|
+
distance: res.distance.toFixed(2)
|
|
8282
|
+
};
|
|
8257
8283
|
} else result.value = 0;
|
|
8258
8284
|
} else if (measureType.value === "slope" && res) {
|
|
8259
8285
|
if (res.positions && res.positions.length > 0) {
|
|
@@ -8278,8 +8304,6 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
8278
8304
|
};
|
|
8279
8305
|
}
|
|
8280
8306
|
|
|
8281
|
-
viewModel.stopMeasure();
|
|
8282
|
-
|
|
8283
8307
|
if (res.measureResult && res.measureResult.labels && res.measureResult.labels.length > 0) {
|
|
8284
8308
|
res.measureResult.labels._labels.forEach(label => {
|
|
8285
8309
|
label.text = label.text.replace('X', language.value.longitude).replace('Y', language.value.latitude).replace('Z', language.value.elevation).replace(/\n/g, '°\n');
|
|
@@ -8294,12 +8318,52 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
8294
8318
|
});
|
|
8295
8319
|
viewModel.activeEvent.addEventListener(function (active) {
|
|
8296
8320
|
if (!active) {
|
|
8297
|
-
isActive.value = null;
|
|
8321
|
+
// isActive.value = null;
|
|
8322
|
+
isTips.value = false;
|
|
8323
|
+
if (result.value === 0) return;
|
|
8298
8324
|
if (measureType.value === "height" && result.value.angle === 0) return;
|
|
8299
8325
|
if (measureType.value === "azimuth" && result.value === 0) return;
|
|
8300
8326
|
isResult.value = true;
|
|
8301
8327
|
}
|
|
8302
8328
|
});
|
|
8329
|
+
let handler = new Cesium.ScreenSpaceEventHandler(scenceView._viewer.scene.canvas);
|
|
8330
|
+
handler.setInputAction(function () {
|
|
8331
|
+
if (!viewModel._measureHandler.active) return;
|
|
8332
|
+
let isDrawing = viewModel._measureHandler.isDrawing;
|
|
8333
|
+
|
|
8334
|
+
if (!isDrawing) {
|
|
8335
|
+
let measureResults = viewModel._measureHandler.measureResults;
|
|
8336
|
+
|
|
8337
|
+
if (measureResults && measureResults.length > 0) {
|
|
8338
|
+
measureResults[0].destroy();
|
|
8339
|
+
}
|
|
8340
|
+
|
|
8341
|
+
if (measureType.value === "coordinate") {
|
|
8342
|
+
isTips.value = false;
|
|
8343
|
+
isResult.value = true;
|
|
8344
|
+
} else {
|
|
8345
|
+
isTips.value = true;
|
|
8346
|
+
isResult.value = false;
|
|
8347
|
+
}
|
|
8348
|
+
}
|
|
8349
|
+
|
|
8350
|
+
if (isDrawing) {
|
|
8351
|
+
if (measureType.value !== 'distance' && measureType.value !== 'area') {
|
|
8352
|
+
continueMeasure();
|
|
8353
|
+
}
|
|
8354
|
+
}
|
|
8355
|
+
}, Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
8356
|
+
handler.setInputAction(function () {
|
|
8357
|
+
let isDrawing = viewModel._measureHandler.isDrawing;
|
|
8358
|
+
|
|
8359
|
+
if (!isDrawing) {
|
|
8360
|
+
isActive.value = null;
|
|
8361
|
+
viewModel.stopMeasure();
|
|
8362
|
+
} else {
|
|
8363
|
+
continueMeasure();
|
|
8364
|
+
}
|
|
8365
|
+
}, Cesium.ScreenSpaceEventType.RIGHT_CLICK);
|
|
8366
|
+
window.measureClickHandler = handler;
|
|
8303
8367
|
}
|
|
8304
8368
|
});
|
|
8305
8369
|
}); // 经纬度转度分秒
|
|
@@ -8396,8 +8460,8 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
8396
8460
|
newValue = (value / 1000).toFixed(2) + " km";
|
|
8397
8461
|
break;
|
|
8398
8462
|
|
|
8399
|
-
case
|
|
8400
|
-
newValue = (value / 1852).toFixed(2) + "
|
|
8463
|
+
case nauticalMileUnit:
|
|
8464
|
+
newValue = (value / 1852).toFixed(2) + " " + nauticalMileUnit;
|
|
8401
8465
|
break;
|
|
8402
8466
|
|
|
8403
8467
|
case "m²":
|
|
@@ -8426,6 +8490,11 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
8426
8490
|
|
|
8427
8491
|
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
8428
8492
|
clearMeasure();
|
|
8493
|
+
|
|
8494
|
+
if (window.measureClickHandler) {
|
|
8495
|
+
window.measureClickHandler.removeInputAction(Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
8496
|
+
window.measureClickHandler.removeInputAction(Cesium.ScreenSpaceEventType.RIGHT_CLICK);
|
|
8497
|
+
}
|
|
8429
8498
|
}); //开始测量
|
|
8430
8499
|
|
|
8431
8500
|
function startMeasure(type) {
|
|
@@ -8450,6 +8519,8 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
8450
8519
|
}
|
|
8451
8520
|
|
|
8452
8521
|
viewModel.clear();
|
|
8522
|
+
result.value = 0;
|
|
8523
|
+
isTips.value = true;
|
|
8453
8524
|
isResult.value = false;
|
|
8454
8525
|
measureType.value = type;
|
|
8455
8526
|
isActive.value = type;
|
|
@@ -8488,6 +8559,44 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
8488
8559
|
break;
|
|
8489
8560
|
}
|
|
8490
8561
|
}
|
|
8562
|
+
|
|
8563
|
+
function continueMeasure() {
|
|
8564
|
+
setTimeout(() => {
|
|
8565
|
+
switch (measureType.value) {
|
|
8566
|
+
case "distance":
|
|
8567
|
+
viewModel.distanceMeasure(mode.value);
|
|
8568
|
+
break;
|
|
8569
|
+
|
|
8570
|
+
case "area":
|
|
8571
|
+
viewModel.areaMeasure(mode.value);
|
|
8572
|
+
break;
|
|
8573
|
+
|
|
8574
|
+
case "height":
|
|
8575
|
+
viewModel.heightMeasure();
|
|
8576
|
+
break;
|
|
8577
|
+
|
|
8578
|
+
case "coordinate":
|
|
8579
|
+
viewModel.coordinateMeasure();
|
|
8580
|
+
break;
|
|
8581
|
+
|
|
8582
|
+
case "azimuth":
|
|
8583
|
+
viewModel.azimuthMeasure();
|
|
8584
|
+
break;
|
|
8585
|
+
|
|
8586
|
+
case "slope":
|
|
8587
|
+
if (mode.value === "ground") {
|
|
8588
|
+
viewModel.terrainSlopeMeasure();
|
|
8589
|
+
} else if (mode.value === "model") {
|
|
8590
|
+
viewModel.sceneSlopeMeasure();
|
|
8591
|
+
}
|
|
8592
|
+
|
|
8593
|
+
break;
|
|
8594
|
+
|
|
8595
|
+
default:
|
|
8596
|
+
break;
|
|
8597
|
+
}
|
|
8598
|
+
}, 300);
|
|
8599
|
+
}
|
|
8491
8600
|
/**
|
|
8492
8601
|
* 清除测量
|
|
8493
8602
|
*/
|
|
@@ -8497,6 +8606,7 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
8497
8606
|
viewModel && viewModel.clear();
|
|
8498
8607
|
measureType.value = null;
|
|
8499
8608
|
isActive.value = null;
|
|
8609
|
+
isTips.value = false;
|
|
8500
8610
|
isResult.value = false;
|
|
8501
8611
|
}
|
|
8502
8612
|
|
|
@@ -8534,8 +8644,7 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
8534
8644
|
/* TEXT */
|
|
8535
8645
|
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_select, {
|
|
8536
8646
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(mode),
|
|
8537
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(mode) ? mode.value = $event : mode = $event)
|
|
8538
|
-
disabled: !!(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isActive)
|
|
8647
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.isRef)(mode) ? mode.value = $event : mode = $event)
|
|
8539
8648
|
}, {
|
|
8540
8649
|
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(modeList), item => {
|
|
8541
8650
|
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_option, {
|
|
@@ -8553,7 +8662,7 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
8553
8662
|
|
|
8554
8663
|
}, 8
|
|
8555
8664
|
/* PROPS */
|
|
8556
|
-
, ["modelValue"
|
|
8665
|
+
, ["modelValue"])])]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", Measurevue_type_script_setup_true_lang_js_hoisted_5, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
8557
8666
|
onClick: _cache[1] || (_cache[1] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startMeasure('distance'), ["stop"])),
|
|
8558
8667
|
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isActive) == 'distance' ? 'is-active' : null),
|
|
8559
8668
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).distance
|
|
@@ -8681,7 +8790,7 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
8681
8790
|
|
|
8682
8791
|
}, 8
|
|
8683
8792
|
/* PROPS */
|
|
8684
|
-
, ["onClick", "title"])]),
|
|
8793
|
+
, ["onClick", "title"])]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(isTips) ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", Measurevue_type_script_setup_true_lang_js_hoisted_6, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_divider), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(measureType) === 'height' || (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(measureType) === 'azimuth' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("p", Measurevue_type_script_setup_true_lang_js_hoisted_7, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).measureTips1), 1
|
|
8685
8794
|
/* TEXT */
|
|
8686
8795
|
)) : ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("p", Measurevue_type_script_setup_true_lang_js_hoisted_8, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).measureTips), 1
|
|
8687
8796
|
/* TEXT */
|
|
@@ -8761,9 +8870,17 @@ const Measurevue_type_script_setup_true_lang_js_default_ = {
|
|
|
8761
8870
|
/* TEXT */
|
|
8762
8871
|
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_30, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(result).height) + " m", 1
|
|
8763
8872
|
/* TEXT */
|
|
8764
|
-
)])) : ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_31, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_32, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language)
|
|
8873
|
+
)])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(measureType) === 'azimuth' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_31, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_32, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).azimuth), 1
|
|
8874
|
+
/* TEXT */
|
|
8875
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_33, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(result).azimuth) + " °", 1
|
|
8765
8876
|
/* TEXT */
|
|
8766
|
-
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p",
|
|
8877
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_34, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).distance), 1
|
|
8878
|
+
/* TEXT */
|
|
8879
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_35, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(result).distance) + " m", 1
|
|
8880
|
+
/* TEXT */
|
|
8881
|
+
)])) : ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", _hoisted_36, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_37, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language)[(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(measureType)]), 1
|
|
8882
|
+
/* TEXT */
|
|
8883
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("p", _hoisted_38, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(result)), 1
|
|
8767
8884
|
/* TEXT */
|
|
8768
8885
|
)]))])])])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)])], 2
|
|
8769
8886
|
/* CLASS */
|
|
@@ -8900,7 +9017,6 @@ class FlightViewModel {
|
|
|
8900
9017
|
}
|
|
8901
9018
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/flight/Flight.vue?vue&type=script&setup=true&lang=js
|
|
8902
9019
|
|
|
8903
|
-
|
|
8904
9020
|
const Flightvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
8905
9021
|
class: "kq-flight3d-box"
|
|
8906
9022
|
};
|
|
@@ -9850,7 +9966,6 @@ var external_xe_utils_namespaceObject = require("xe-utils");
|
|
|
9850
9966
|
var external_xe_utils_default = /*#__PURE__*/__webpack_require__.n(external_xe_utils_namespaceObject);
|
|
9851
9967
|
;// CONCATENATED MODULE: ./src/webgl/gpuspatialquery/GPUSpatialQueryViewModel.js
|
|
9852
9968
|
|
|
9853
|
-
|
|
9854
9969
|
//GPU空间查询逻辑类
|
|
9855
9970
|
|
|
9856
9971
|
class GPUSpatialQueryViewModel {
|
|
@@ -10932,7 +11047,6 @@ class ModelSelectViewModel {
|
|
|
10932
11047
|
}
|
|
10933
11048
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/modelselect/ModelSelect.vue?vue&type=script&setup=true&lang=js
|
|
10934
11049
|
|
|
10935
|
-
|
|
10936
11050
|
const ModelSelectvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
10937
11051
|
class: "title"
|
|
10938
11052
|
};
|
|
@@ -11250,7 +11364,6 @@ ModelSelect.install = (Vue, opts) => {
|
|
|
11250
11364
|
|
|
11251
11365
|
;// CONCATENATED MODULE: ./src/webgl/modelfilter/ModelFilterViewModel.js
|
|
11252
11366
|
|
|
11253
|
-
|
|
11254
11367
|
//模型滤镜逻辑类
|
|
11255
11368
|
|
|
11256
11369
|
class ModelFilterViewModel {
|
|
@@ -12034,7 +12147,6 @@ class WireframeSketchViewModel {
|
|
|
12034
12147
|
|
|
12035
12148
|
|
|
12036
12149
|
|
|
12037
|
-
|
|
12038
12150
|
//语言
|
|
12039
12151
|
|
|
12040
12152
|
const WireframeSketchvue_type_script_setup_true_lang_js_default_ = {
|
|
@@ -12290,7 +12402,6 @@ WireframeSketch.install = (Vue, opts) => {
|
|
|
12290
12402
|
|
|
12291
12403
|
;// CONCATENATED MODULE: ./src/webgl/limitheightanalysis/LimitHeightAnalysisViewModel.js
|
|
12292
12404
|
|
|
12293
|
-
|
|
12294
12405
|
//限高分析逻辑类
|
|
12295
12406
|
class LimitHeightAnalysisViewModel {
|
|
12296
12407
|
//三维viewer对象
|
|
@@ -12868,7 +12979,6 @@ LimitHeightAnalysis.install = (Vue, opts) => {
|
|
|
12868
12979
|
;// CONCATENATED MODULE: ./src/webgl/terrainprofileanalysis/TerrainProfileAnalysisViewModel.js
|
|
12869
12980
|
|
|
12870
12981
|
|
|
12871
|
-
|
|
12872
12982
|
class TerrainProfileAnalysisViewModel {
|
|
12873
12983
|
// 三维viewer对象
|
|
12874
12984
|
//绘制管理对象
|
|
@@ -13294,7 +13404,6 @@ TerrainProfileAnalysis.install = (Vue, opts) => {
|
|
|
13294
13404
|
|
|
13295
13405
|
|
|
13296
13406
|
|
|
13297
|
-
|
|
13298
13407
|
class ScanEffectViewModel {
|
|
13299
13408
|
//参数
|
|
13300
13409
|
// 绘制对象
|
|
@@ -14818,7 +14927,6 @@ ScanEffect.install = (Vue, opts) => {
|
|
|
14818
14927
|
|
|
14819
14928
|
;// CONCATENATED MODULE: ./src/webgl/modelexcavate/ModelExcavateViewModel.js
|
|
14820
14929
|
|
|
14821
|
-
|
|
14822
14930
|
//模型开挖逻辑类
|
|
14823
14931
|
|
|
14824
14932
|
class ModelExcavateViewModel {
|
|
@@ -14862,6 +14970,8 @@ class ModelExcavateViewModel {
|
|
|
14862
14970
|
|
|
14863
14971
|
_defineProperty(this, "intervalId", null);
|
|
14864
14972
|
|
|
14973
|
+
_defineProperty(this, "tileset1", null);
|
|
14974
|
+
|
|
14865
14975
|
_defineProperty(this, "g_flattenedPolygonTexture", null);
|
|
14866
14976
|
|
|
14867
14977
|
this._viewer = scenceView._viewer;
|
|
@@ -14870,12 +14980,43 @@ class ModelExcavateViewModel {
|
|
|
14870
14980
|
this._viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
14871
14981
|
|
|
14872
14982
|
let kq3dFlattenning = new window.Cesium.Kq3dFlattenning(this._viewer, {});
|
|
14873
|
-
this.g_flattenedPolygonTexture = kq3dFlattenning.createFlattenedPolygonTexture();
|
|
14983
|
+
this.g_flattenedPolygonTexture = kq3dFlattenning.createFlattenedPolygonTexture(); // this.tileset1 = this._viewer.scene.primitives.add(new Cesium.Cesium3DTileset({
|
|
14984
|
+
// url: "http://support.kqgeo.com:18700/SampleData/3DTiles/Oblique/tileset.json"
|
|
14985
|
+
// }));
|
|
14986
|
+
// this.tileset1.readyPromise.then(function (tileset) {
|
|
14987
|
+
// that._viewer.zoomTo(tileset);
|
|
14988
|
+
// }).otherwise(function (error) {
|
|
14989
|
+
// console.log(error);
|
|
14990
|
+
// });
|
|
14991
|
+
// this.tileset1.enableFlattenning = true;
|
|
14992
|
+
// this.tileset1.flattenDiscard = true;
|
|
14993
|
+
// this.g_flattenedPolygonTexture.attachTileset(this.tileset1);
|
|
14994
|
+
|
|
14874
14995
|
var that = this;
|
|
14996
|
+
var models = this._viewer.scene.primitives._primitives;
|
|
14997
|
+
|
|
14998
|
+
for (let i = 0; i < models.length; i++) {
|
|
14999
|
+
if (models[1] instanceof Cesium.Cesium3DTileset && models[i]._url) {
|
|
15000
|
+
models[i].enableFlattenning = true;
|
|
15001
|
+
models[i].flattenDiscard = true;
|
|
15002
|
+
models[i].readyPromise.then(function (tileset) {
|
|
15003
|
+
that.g_flattenedPolygonTexture.attachTileset(tileset);
|
|
15004
|
+
});
|
|
15005
|
+
}
|
|
15006
|
+
}
|
|
15007
|
+
|
|
14875
15008
|
this._removeEventListener = this._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
14876
15009
|
if (shape) {
|
|
14877
15010
|
that._options.positions = shape._controlPoints;
|
|
14878
|
-
|
|
15011
|
+
|
|
15012
|
+
if (shape._controlPoints && shape._controlPoints.length > 3 || shape._controlPoints && shape._controlPoints.length == 3 && shape._controlPoints[2] != shape._controlPoints[0]) {
|
|
15013
|
+
that.createDynamicExcavationEffect();
|
|
15014
|
+
} else {
|
|
15015
|
+
message({
|
|
15016
|
+
message: "请至少绘制3个点!",
|
|
15017
|
+
type: "warning"
|
|
15018
|
+
});
|
|
15019
|
+
}
|
|
14879
15020
|
|
|
14880
15021
|
that._drawManager.clear();
|
|
14881
15022
|
}
|
|
@@ -14884,12 +15025,20 @@ class ModelExcavateViewModel {
|
|
|
14884
15025
|
|
|
14885
15026
|
|
|
14886
15027
|
createDynamicExcavationEffect() {
|
|
15028
|
+
this._Kq3dTerrainExcavation && this._Kq3dTerrainExcavation.destroy();
|
|
14887
15029
|
this._Kq3dTerrainExcavation = new window.Cesium.Kq3dTerrainExcavation({
|
|
14888
15030
|
viewer: this._viewer,
|
|
14889
15031
|
height: this._options.height,
|
|
14890
15032
|
positions: this._options.positions,
|
|
14891
15033
|
hasWall: false
|
|
14892
15034
|
});
|
|
15035
|
+
|
|
15036
|
+
if (this._wallPrimitive) {
|
|
15037
|
+
this._viewer.scene.primitives.remove(this._wallPrimitive);
|
|
15038
|
+
|
|
15039
|
+
this._wallPrimitive = undefined;
|
|
15040
|
+
}
|
|
15041
|
+
|
|
14893
15042
|
this._wallPrimitive = new window.Cesium.Kq3dWallPrimitive({
|
|
14894
15043
|
viewer: this._viewer,
|
|
14895
15044
|
height: this._options.height,
|
|
@@ -14906,43 +15055,40 @@ class ModelExcavateViewModel {
|
|
|
14906
15055
|
return;
|
|
14907
15056
|
}
|
|
14908
15057
|
|
|
14909
|
-
that.
|
|
14910
|
-
|
|
14911
|
-
|
|
14912
|
-
|
|
14913
|
-
|
|
14914
|
-
|
|
14915
|
-
|
|
14916
|
-
|
|
14917
|
-
|
|
14918
|
-
|
|
14919
|
-
|
|
14920
|
-
|
|
14921
|
-
|
|
14922
|
-
|
|
14923
|
-
|
|
14924
|
-
|
|
14925
|
-
|
|
14926
|
-
|
|
14927
|
-
|
|
14928
|
-
|
|
14929
|
-
|
|
14930
|
-
|
|
14931
|
-
|
|
14932
|
-
|
|
14933
|
-
|
|
14934
|
-
|
|
14935
|
-
|
|
14936
|
-
|
|
14937
|
-
|
|
14938
|
-
|
|
14939
|
-
|
|
14940
|
-
|
|
14941
|
-
|
|
14942
|
-
|
|
14943
|
-
});
|
|
14944
|
-
that.g_flattenedPolygonTexture.addFlattenedPolygon(myPolygon);
|
|
14945
|
-
}, 100);
|
|
15058
|
+
that.g_flattenedPolygonTexture && that.g_flattenedPolygonTexture.removeAllFlattenedPolygon();
|
|
15059
|
+
var myPolygon = window.Cesium.PolygonGeometry.fromPositions({
|
|
15060
|
+
positions: that._options.positions,
|
|
15061
|
+
height: window.Cesium.Cartographic.fromCartesian(that._options.positions[0]).height
|
|
15062
|
+
});
|
|
15063
|
+
that.g_flattenedPolygonTexture && that.g_flattenedPolygonTexture.addFlattenedPolygon(myPolygon); // that.intervalId = setInterval(function () {
|
|
15064
|
+
// if (that.ii > 100) {
|
|
15065
|
+
// if (that.entity0) {
|
|
15066
|
+
// that._viewer.scene.primitives.remove(that.entity0);
|
|
15067
|
+
// that.entity0 = undefined;
|
|
15068
|
+
// }
|
|
15069
|
+
// if (that.wall) {
|
|
15070
|
+
// that._viewer.scene.primitives.remove(that.wall);
|
|
15071
|
+
// that.wall = undefined;
|
|
15072
|
+
// }
|
|
15073
|
+
// clearInterval(that.intervalId);
|
|
15074
|
+
// that.ii = 0;
|
|
15075
|
+
// return;
|
|
15076
|
+
// }
|
|
15077
|
+
// var carto2 = window.Cesium.Cartesian3.lerp(that._options.positions[0], that._options.positions[3], that.ratio * that.ii, that.scratchCartesian2);
|
|
15078
|
+
// var carto3 = window.Cesium.Cartesian3.lerp(that._options.positions[1], that._options.positions[2], that.ratio * that.ii, that.scratchCartesian3);
|
|
15079
|
+
// if (that.entity0) {
|
|
15080
|
+
// that._viewer.scene.primitives.remove(that.entity0);
|
|
15081
|
+
// that.entity0 = undefined;
|
|
15082
|
+
// }
|
|
15083
|
+
// that.entity0 = that.createPolyline([carto2, carto3]);
|
|
15084
|
+
// that.ii++;
|
|
15085
|
+
// that.g_flattenedPolygonTexture.removeAllFlattenedPolygon();
|
|
15086
|
+
// var myPolygon = window.Cesium.PolygonGeometry.fromPositions({
|
|
15087
|
+
// positions: [that._options.positions[0], that._options.positions[1], carto3, carto2],
|
|
15088
|
+
// height: window.Cesium.Cartographic.fromCartesian(that._options.positions[0]).height
|
|
15089
|
+
// });
|
|
15090
|
+
// that.g_flattenedPolygonTexture.addFlattenedPolygon(myPolygon);
|
|
15091
|
+
// }, 100);
|
|
14946
15092
|
});
|
|
14947
15093
|
}
|
|
14948
15094
|
|
|
@@ -14994,19 +15140,22 @@ class ModelExcavateViewModel {
|
|
|
14994
15140
|
start() {
|
|
14995
15141
|
// 判断是否添加了模型
|
|
14996
15142
|
var flag = false;
|
|
15143
|
+
var that = this;
|
|
14997
15144
|
var models = this._viewer.scene.primitives._primitives;
|
|
14998
15145
|
|
|
14999
15146
|
for (let i = 0; i < models.length; i++) {
|
|
15000
|
-
if (models[i]._url) {
|
|
15001
|
-
models[i].enableFlattenning = true;
|
|
15002
|
-
models[i].flattenDiscard = true;
|
|
15003
|
-
|
|
15147
|
+
if (models[i] instanceof Cesium.Cesium3DTileset && models[i]._url) {
|
|
15148
|
+
// models[i].enableFlattenning = true;
|
|
15149
|
+
// models[i].flattenDiscard = true;
|
|
15150
|
+
// models[i].readyPromise.then(function (tileset) {
|
|
15151
|
+
// that.g_flattenedPolygonTexture.attachTileset(tileset);
|
|
15152
|
+
// });
|
|
15004
15153
|
flag = true;
|
|
15005
15154
|
}
|
|
15006
15155
|
}
|
|
15007
15156
|
|
|
15008
15157
|
if (flag) {
|
|
15009
|
-
this.
|
|
15158
|
+
this.remove();
|
|
15010
15159
|
|
|
15011
15160
|
this._drawManager.startDraw("polygon", {
|
|
15012
15161
|
clampToGround: true
|
|
@@ -15022,13 +15171,10 @@ class ModelExcavateViewModel {
|
|
|
15022
15171
|
|
|
15023
15172
|
setHeight(val) {
|
|
15024
15173
|
this._options.height = Number(val);
|
|
15025
|
-
}
|
|
15026
|
-
|
|
15027
|
-
|
|
15028
|
-
clear() {
|
|
15029
|
-
this._drawManager.stopDraw(); // 销毁地形开挖
|
|
15030
|
-
|
|
15174
|
+
}
|
|
15031
15175
|
|
|
15176
|
+
remove() {
|
|
15177
|
+
// 销毁地形开挖
|
|
15032
15178
|
if (this.intervalId) {
|
|
15033
15179
|
clearInterval(this.intervalId);
|
|
15034
15180
|
this.ii = 0;
|
|
@@ -15054,11 +15200,20 @@ class ModelExcavateViewModel {
|
|
|
15054
15200
|
|
|
15055
15201
|
this._Kq3dTerrainExcavation && this._Kq3dTerrainExcavation.destroy();
|
|
15056
15202
|
this.g_flattenedPolygonTexture && this.g_flattenedPolygonTexture.removeAllFlattenedPolygon();
|
|
15203
|
+
} // 清除
|
|
15204
|
+
|
|
15205
|
+
|
|
15206
|
+
clear() {
|
|
15207
|
+
this._drawManager.stopDraw();
|
|
15208
|
+
|
|
15209
|
+
this.remove();
|
|
15057
15210
|
} //销毁
|
|
15058
15211
|
|
|
15059
15212
|
|
|
15060
15213
|
destroy() {
|
|
15061
15214
|
this.clear();
|
|
15215
|
+
this.g_flattenedPolygonTexture && this.g_flattenedPolygonTexture.detachAllTileset();
|
|
15216
|
+
this.g_flattenedPolygonTexture && this.g_flattenedPolygonTexture.destroy();
|
|
15062
15217
|
}
|
|
15063
15218
|
|
|
15064
15219
|
}
|
|
@@ -15174,6 +15329,7 @@ const ModelExcavatevue_type_script_setup_true_lang_js_default_ = {
|
|
|
15174
15329
|
viewModel = new ModelExcavateViewModel(scenceView, {
|
|
15175
15330
|
height: formItem.excavationDepth
|
|
15176
15331
|
});
|
|
15332
|
+
window.scenceView = scenceView;
|
|
15177
15333
|
}
|
|
15178
15334
|
});
|
|
15179
15335
|
});
|
|
@@ -15355,7 +15511,6 @@ ModelExcavate.install = (Vue, opts) => {
|
|
|
15355
15511
|
|
|
15356
15512
|
;// CONCATENATED MODULE: ./src/webgl/modelFlat/ModelFlatViewModel.js
|
|
15357
15513
|
|
|
15358
|
-
|
|
15359
15514
|
//模型拾取逻辑类
|
|
15360
15515
|
|
|
15361
15516
|
class ModelFlatViewModel {
|
|
@@ -18352,7 +18507,6 @@ ShadowAnalysis.install = (Vue, opts) => {
|
|
|
18352
18507
|
|
|
18353
18508
|
;// CONCATENATED MODULE: ./src/webgl/modelprofileanalysis/ModelProfileAnalysisViewModel.js
|
|
18354
18509
|
|
|
18355
|
-
|
|
18356
18510
|
//分析逻辑类
|
|
18357
18511
|
let floatingPoint;
|
|
18358
18512
|
let drawPoints = [];
|
|
@@ -20080,7 +20234,6 @@ SkylineAnalysis.install = (Vue, opts) => {
|
|
|
20080
20234
|
|
|
20081
20235
|
;// CONCATENATED MODULE: ./src/webgl/terrainoperation/TerrainOperationViewModel.js
|
|
20082
20236
|
|
|
20083
|
-
|
|
20084
20237
|
//地形淹没分析逻辑类
|
|
20085
20238
|
|
|
20086
20239
|
class TerrainOperationViewModel {
|
|
@@ -20861,9 +21014,9 @@ const ExcavateFillAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
20861
21014
|
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
20862
21015
|
altitudeHeight: props.settingParams && props.settingParams.altitudeHeight || 2920,
|
|
20863
21016
|
// 基准高度
|
|
20864
|
-
minAltitudeHeight: props.settingParams && props.settingParams.
|
|
21017
|
+
minAltitudeHeight: props.settingParams && props.settingParams.minAltitudeHeight || 0,
|
|
20865
21018
|
// 基准高度区间最小值
|
|
20866
|
-
maxAltitudeHeight: props.settingParams && props.settingParams.
|
|
21019
|
+
maxAltitudeHeight: props.settingParams && props.settingParams.maxAltitudeHeight || 5000,
|
|
20867
21020
|
// 基准高度区间最大值
|
|
20868
21021
|
excavateColor: props.settingParams && props.settingParams.excavateColor || "#67C23A",
|
|
20869
21022
|
// 挖方颜色
|
|
@@ -22262,18 +22415,23 @@ class SlopeAnalysisViewModel {
|
|
|
22262
22415
|
// this._globaOptions.viewer.scene.globe.enableLighting = true;
|
|
22263
22416
|
|
|
22264
22417
|
this._globaOptions._drawManager = scenceView._drawManager;
|
|
22265
|
-
var that = this;
|
|
22266
|
-
that.
|
|
22267
|
-
|
|
22268
|
-
|
|
22269
|
-
|
|
22270
|
-
|
|
22271
|
-
|
|
22272
|
-
|
|
22273
|
-
|
|
22274
|
-
|
|
22418
|
+
var that = this; // that._slopeAnalysis = new Cesium.Kq3dSlope({
|
|
22419
|
+
// viewer: that._globaOptions.viewer,
|
|
22420
|
+
// positions: [
|
|
22421
|
+
// new Cesium.Cartesian3(528486.4951355414, 5591866.071664512, 3011848.5874731047),
|
|
22422
|
+
// new Cesium.Cartesian3(511851.92328430264, 5590161.386242805, 3017839.604729828),
|
|
22423
|
+
// new Cesium.Cartesian3(512863.7934440037, 5579087.150988879, 3037957.9974059854),
|
|
22424
|
+
// new Cesium.Cartesian3(526764.7827270611, 5574253.865524863, 3044401.4321003747),
|
|
22425
|
+
// new Cesium.Cartesian3(544782.217496756, 5578126.194618411, 3034189.5478781504),
|
|
22426
|
+
// new Cesium.Cartesian3(546626.3798432688, 5588179.698741777, 3015426.663665117)
|
|
22427
|
+
// ],
|
|
22428
|
+
// isFilter: false,
|
|
22429
|
+
// colorTableDegree: that._globaOptions.viewModel.colorTableDegree,
|
|
22430
|
+
// colorTable: that._globaOptions.viewModel.colorTable
|
|
22431
|
+
// });
|
|
22432
|
+
// that._slopeAnalysis.destroy();
|
|
22433
|
+
// that._slopeAnalysis = null;
|
|
22275
22434
|
|
|
22276
|
-
that._slopeAnalysis = null;
|
|
22277
22435
|
this._globaOptions._drawFinishedEventListener = this._globaOptions._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
22278
22436
|
if (shape) {
|
|
22279
22437
|
that._globaOptions.viewModel.positions = shape._controlPoints; // 实例化分析对象
|
|
@@ -23245,392 +23403,1687 @@ const SlopeAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
23245
23403
|
|
|
23246
23404
|
}, 8
|
|
23247
23405
|
/* PROPS */
|
|
23248
|
-
, ["title"])]),
|
|
23249
|
-
_: 1
|
|
23250
|
-
/* STABLE */
|
|
23251
|
-
|
|
23252
|
-
}, 8
|
|
23253
|
-
/* PROPS */
|
|
23254
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", SlopeAnalysisvue_type_script_setup_true_lang_js_hoisted_10, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
23255
|
-
onClick: _cache[23] || (_cache[23] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
23256
|
-
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
|
|
23257
|
-
type: "primary"
|
|
23258
|
-
}, {
|
|
23259
|
-
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
|
|
23260
|
-
/* TEXT */
|
|
23261
|
-
)]),
|
|
23262
|
-
_: 1
|
|
23263
|
-
/* STABLE */
|
|
23264
|
-
|
|
23265
|
-
}, 8
|
|
23266
|
-
/* PROPS */
|
|
23267
|
-
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
23268
|
-
onClick: _cache[24] || (_cache[24] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
|
|
23269
|
-
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
|
|
23270
|
-
}, {
|
|
23271
|
-
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
|
|
23272
|
-
/* TEXT */
|
|
23273
|
-
)]),
|
|
23274
|
-
_: 1
|
|
23275
|
-
/* STABLE */
|
|
23276
|
-
|
|
23277
|
-
}, 8
|
|
23278
|
-
/* PROPS */
|
|
23279
|
-
, ["title"])])])], 2
|
|
23280
|
-
/* CLASS */
|
|
23281
|
-
);
|
|
23282
|
-
};
|
|
23283
|
-
}
|
|
23284
|
-
|
|
23285
|
-
}));
|
|
23286
|
-
;// CONCATENATED MODULE: ./src/webgl/slopeanalysis/SlopeAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
23287
|
-
|
|
23288
|
-
;// CONCATENATED MODULE: ./src/webgl/slopeanalysis/SlopeAnalysis.vue
|
|
23289
|
-
|
|
23290
|
-
|
|
23291
|
-
|
|
23292
|
-
const SlopeAnalysis_exports_ = SlopeAnalysisvue_type_script_setup_true_lang_js;
|
|
23293
|
-
|
|
23294
|
-
/* harmony default export */ var SlopeAnalysis = (SlopeAnalysis_exports_);
|
|
23295
|
-
;// CONCATENATED MODULE: ./src/webgl/slopeanalysis/index.js
|
|
23296
|
-
|
|
23297
|
-
|
|
23298
|
-
|
|
23299
|
-
|
|
23300
|
-
SlopeAnalysis.install = (Vue, opts) => {
|
|
23301
|
-
init_js_default()(Vue, opts);
|
|
23302
|
-
Vue.component(SlopeAnalysis.name, SlopeAnalysis);
|
|
23303
|
-
};
|
|
23304
|
-
|
|
23305
|
-
|
|
23306
|
-
;// CONCATENATED MODULE: ./src/webgl/aspectanalysis/AspectAnalysisViewModel.js
|
|
23307
|
-
|
|
23308
|
-
|
|
23309
|
-
/**
|
|
23310
|
-
* 坡向逻辑类
|
|
23311
|
-
**/
|
|
23312
|
-
|
|
23313
|
-
class AspectAnalysisViewModel {
|
|
23314
|
-
// 坡向三维对象
|
|
23315
|
-
constructor(scenceView, aspect) {
|
|
23316
|
-
_defineProperty(this, "_aspectAnalysis", null);
|
|
23317
|
-
|
|
23318
|
-
_defineProperty(this, "_globaOptions", {
|
|
23319
|
-
//全局参数
|
|
23320
|
-
viewer: null,
|
|
23321
|
-
_drawManager: null
|
|
23322
|
-
});
|
|
23323
|
-
|
|
23324
|
-
this._globaOptions.viewer = scenceView._viewer;
|
|
23325
|
-
let options = {
|
|
23326
|
-
interval: aspect.interval || 500,
|
|
23327
|
-
// 采样间隔
|
|
23328
|
-
width: aspect.arrowWidth || 20,
|
|
23329
|
-
// 箭头宽度
|
|
23330
|
-
color: Cesium.Color.fromCssColorString(aspect.color || "#FFFF00"),
|
|
23331
|
-
// 箭头颜色
|
|
23332
|
-
viewer: scenceView._viewer
|
|
23333
|
-
};
|
|
23334
|
-
this._globaOptions.viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
23335
|
-
// this._globaOptions.viewer.scene.globe.enableLighting = true;
|
|
23336
|
-
|
|
23337
|
-
this._globaOptions._drawManager = scenceView._drawManager;
|
|
23338
|
-
var that = this;
|
|
23339
|
-
this._aspectAnalysis = new Cesium.Kq3dAspect(options);
|
|
23340
|
-
this._globaOptions._drawFinishedEventListener = this._globaOptions._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
23341
|
-
if (shape) {
|
|
23342
|
-
that._aspectAnalysis.positions = shape._controlPoints;
|
|
23343
|
-
|
|
23344
|
-
that._globaOptions._drawManager.clear();
|
|
23345
|
-
}
|
|
23346
|
-
});
|
|
23347
|
-
} // 开始分析
|
|
23348
|
-
|
|
23349
|
-
|
|
23350
|
-
start() {
|
|
23351
|
-
// 判断是否添加了地形
|
|
23352
|
-
if (this._globaOptions.viewer.terrainProvider.availability) {
|
|
23353
|
-
if (this._globaOptions.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
23354
|
-
if (this._globaOptions._drawManager) {
|
|
23355
|
-
this.clear();
|
|
23356
|
-
|
|
23357
|
-
this._globaOptions._drawManager.startDraw("polygon", {
|
|
23358
|
-
clampToGround: true
|
|
23359
|
-
});
|
|
23360
|
-
}
|
|
23361
|
-
} else {
|
|
23362
|
-
message({
|
|
23363
|
-
message: "只支持STK类型的地形分析!",
|
|
23364
|
-
type: "warning"
|
|
23365
|
-
});
|
|
23366
|
-
}
|
|
23367
|
-
} else {
|
|
23368
|
-
message({
|
|
23369
|
-
message: "请加载地形后分析!",
|
|
23370
|
-
type: "warning"
|
|
23371
|
-
});
|
|
23372
|
-
}
|
|
23373
|
-
} // 设置采样间隔
|
|
23374
|
-
|
|
23375
|
-
|
|
23376
|
-
setInterval(newValue) {
|
|
23377
|
-
if (this._aspectAnalysis) this._aspectAnalysis._interval = newValue;
|
|
23378
|
-
} // 设置箭头宽度
|
|
23379
|
-
|
|
23380
|
-
|
|
23381
|
-
setArrowWidth(newValue) {
|
|
23382
|
-
if (this._aspectAnalysis) this._aspectAnalysis._width = newValue;
|
|
23383
|
-
} // 设置箭头颜色
|
|
23384
|
-
|
|
23385
|
-
|
|
23386
|
-
setArrowColor(newValue) {
|
|
23387
|
-
if (this._aspectAnalysis) this._aspectAnalysis._color = Cesium.Color.fromCssColorString(newValue);
|
|
23388
|
-
} // 清除全部结果
|
|
23389
|
-
|
|
23390
|
-
|
|
23391
|
-
clear() {
|
|
23392
|
-
this._globaOptions._drawManager && this._globaOptions._drawManager.stopDraw();
|
|
23393
|
-
this._aspectAnalysis && this._aspectAnalysis.clear();
|
|
23394
|
-
} // 销毁
|
|
23395
|
-
|
|
23396
|
-
|
|
23397
|
-
destroy() {
|
|
23398
|
-
// 移除监听事件
|
|
23399
|
-
this._globaOptions._drawFinishedEventListener && this._globaOptions._drawFinishedEventListener();
|
|
23400
|
-
this._globaOptions._drawFinishedEventListener = null;
|
|
23401
|
-
this._aspectAnalysis && this._aspectAnalysis.clear();
|
|
23402
|
-
this._aspectAnalysis = null;
|
|
23403
|
-
}
|
|
23404
|
-
|
|
23405
|
-
}
|
|
23406
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/aspectanalysis/AspectAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
23407
|
-
|
|
23408
|
-
const AspectAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
23409
|
-
class: "kq3d-aspect-analysis-box"
|
|
23410
|
-
};
|
|
23411
|
-
const AspectAnalysisvue_type_script_setup_true_lang_js_hoisted_2 = {
|
|
23412
|
-
class: "kq3d-aspect-analysis-footer"
|
|
23413
|
-
};
|
|
23414
|
-
|
|
23415
|
-
|
|
23416
|
-
|
|
23417
|
-
|
|
23418
|
-
|
|
23419
|
-
|
|
23420
|
-
const AspectAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
23421
|
-
name: "Kq3dAspectAnalysis"
|
|
23422
|
-
};
|
|
23423
|
-
/* harmony default export */ var AspectAnalysisvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(AspectAnalysisvue_type_script_setup_true_lang_js_default_, {
|
|
23424
|
-
props: {
|
|
23425
|
-
// 设置参数
|
|
23426
|
-
settingParams: {
|
|
23427
|
-
type: Object
|
|
23428
|
-
},
|
|
23429
|
-
// 是否显示阴影效果
|
|
23430
|
-
showShadow: {
|
|
23431
|
-
type: Boolean,
|
|
23432
|
-
default: true
|
|
23433
|
-
},
|
|
23434
|
-
|
|
23435
|
-
/**
|
|
23436
|
-
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
23437
|
-
*/
|
|
23438
|
-
position: [String, Object],
|
|
23439
|
-
// 是否生成HeaderTemp
|
|
23440
|
-
showHeaderTemp: {
|
|
23441
|
-
type: Boolean,
|
|
23442
|
-
default: false
|
|
23443
|
-
},
|
|
23444
|
-
// 是否折叠HeaderTemp,showHeaderTemp为true时生效
|
|
23445
|
-
isCollapseHeaderTemp: {
|
|
23446
|
-
type: Boolean,
|
|
23447
|
-
default: false
|
|
23448
|
-
},
|
|
23449
|
-
// HeaderTemp标题
|
|
23450
|
-
headerTempTitle: {
|
|
23451
|
-
type: String
|
|
23452
|
-
},
|
|
23453
|
-
// HeaderTemp图标
|
|
23454
|
-
headerTempIcon: {
|
|
23455
|
-
type: [Object, String],
|
|
23456
|
-
default: client_icons_vue_namespaceObject.IconAspectAnalysis
|
|
23457
|
-
},
|
|
23458
|
-
// HeaderTemp Title&Icon的位置
|
|
23459
|
-
isRight: {
|
|
23460
|
-
type: Boolean,
|
|
23461
|
-
default: true
|
|
23462
|
-
}
|
|
23463
|
-
},
|
|
23464
|
-
|
|
23465
|
-
setup(__props, {
|
|
23466
|
-
expose
|
|
23467
|
-
}) {
|
|
23468
|
-
const props = __props;
|
|
23469
|
-
const {
|
|
23470
|
-
proxy
|
|
23471
|
-
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
23472
|
-
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
23473
|
-
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({}); // 获取组件传参
|
|
23474
|
-
// 分析类
|
|
23475
|
-
|
|
23476
|
-
let viewModel = null; // 默认参数
|
|
23477
|
-
|
|
23478
|
-
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
23479
|
-
interval: props.settingParams && props.settingParams.interval || 500,
|
|
23480
|
-
// 采样间隔
|
|
23481
|
-
minInterval: props.settingParams && props.settingParams.minInterval || 100,
|
|
23482
|
-
// 采样间隔最小值
|
|
23483
|
-
maxInterval: props.settingParams && props.settingParams.maxInterval || 1000,
|
|
23484
|
-
// 采样间隔最大值
|
|
23485
|
-
arrowWidth: props.settingParams && props.settingParams.arrowWidth || 20,
|
|
23486
|
-
// 箭头宽度
|
|
23487
|
-
minArrowWidth: props.settingParams && props.settingParams.minArrowWidth || 1,
|
|
23488
|
-
// 箭头宽度最小值
|
|
23489
|
-
maxArrowWidth: props.settingParams && props.settingParams.maxArrowWidth || 30,
|
|
23490
|
-
// 箭头宽度最大值
|
|
23491
|
-
arrowColor: props.settingParams && props.settingParams.arrowColor || "#FFFF00" // 箭头颜色
|
|
23492
|
-
|
|
23493
|
-
}); // 组件容器Ref
|
|
23494
|
-
|
|
23495
|
-
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
23496
|
-
|
|
23497
|
-
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
23498
|
-
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
23499
|
-
|
|
23500
|
-
let {
|
|
23501
|
-
locale,
|
|
23502
|
-
messages
|
|
23503
|
-
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
23504
|
-
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
23505
|
-
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
23506
|
-
language.value = messages.value[newVal]["webgl"];
|
|
23507
|
-
headerTempTitle.value = language.value.aspectAnalysis;
|
|
23508
|
-
});
|
|
23509
|
-
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
23510
|
-
(0,util_.updatePosition)(boxRef.value, props);
|
|
23511
|
-
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
23512
|
-
(0,util_.updatePosition)(boxRef.value, props);
|
|
23513
|
-
});
|
|
23514
|
-
watchCreateHeaderTemp();
|
|
23515
|
-
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
23516
|
-
watchCreateHeaderTemp();
|
|
23517
|
-
});
|
|
23518
|
-
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
23519
|
-
|
|
23520
|
-
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
23521
|
-
if (scenceView) {
|
|
23522
|
-
viewModel = new AspectAnalysisViewModel(scenceView, {
|
|
23523
|
-
interval: formItem.interval,
|
|
23524
|
-
// 采样间隔
|
|
23525
|
-
arrowWidth: formItem.arrowWidth,
|
|
23526
|
-
// 箭头宽度
|
|
23527
|
-
arrowColor: formItem.arrowColor // 箭头颜色
|
|
23528
|
-
|
|
23529
|
-
});
|
|
23530
|
-
}
|
|
23531
|
-
});
|
|
23532
|
-
});
|
|
23533
|
-
/**
|
|
23534
|
-
* @description 监听header生成
|
|
23535
|
-
*/
|
|
23536
|
-
|
|
23537
|
-
const watchCreateHeaderTemp = () => {
|
|
23538
|
-
if (props.showHeaderTemp) {
|
|
23539
|
-
// 生成headerTemp
|
|
23540
|
-
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
23541
|
-
}
|
|
23542
|
-
}; // 参数改变
|
|
23543
|
-
|
|
23544
|
-
|
|
23545
|
-
function paramsChanged(key) {
|
|
23546
|
-
switch (key) {
|
|
23547
|
-
case "interval":
|
|
23548
|
-
// 采样间隔
|
|
23549
|
-
viewModel.setInterval(formItem.interval);
|
|
23550
|
-
break;
|
|
23551
|
-
|
|
23552
|
-
case "arrowWidth":
|
|
23553
|
-
// 箭头间隔
|
|
23554
|
-
viewModel.setArrowWidth(formItem.arrowWidth);
|
|
23555
|
-
break;
|
|
23556
|
-
|
|
23557
|
-
case "arrowColor":
|
|
23558
|
-
// 箭头颜色
|
|
23559
|
-
viewModel.setArrowColor(formItem.arrowColor);
|
|
23560
|
-
break;
|
|
23561
|
-
|
|
23562
|
-
default:
|
|
23563
|
-
break;
|
|
23564
|
-
}
|
|
23565
|
-
} // 开始分析
|
|
23566
|
-
|
|
23567
|
-
|
|
23568
|
-
function startAnalysis() {
|
|
23569
|
-
viewModel && viewModel.start();
|
|
23570
|
-
} //清除结果
|
|
23571
|
-
|
|
23572
|
-
|
|
23573
|
-
function clearResult() {
|
|
23574
|
-
viewModel && viewModel.clear();
|
|
23575
|
-
} // 销毁
|
|
23576
|
-
|
|
23577
|
-
|
|
23578
|
-
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
23579
|
-
viewModel && viewModel.destroy();
|
|
23580
|
-
});
|
|
23581
|
-
expose({
|
|
23582
|
-
paramsChanged,
|
|
23583
|
-
startAnalysis,
|
|
23584
|
-
clearResult
|
|
23585
|
-
});
|
|
23586
|
-
return (_ctx, _cache) => {
|
|
23587
|
-
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
23588
|
-
|
|
23589
|
-
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
23590
|
-
|
|
23591
|
-
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
23592
|
-
|
|
23593
|
-
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
23594
|
-
|
|
23595
|
-
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
23596
|
-
|
|
23597
|
-
const _component_kq_color_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-color-picker");
|
|
23598
|
-
|
|
23599
|
-
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
23600
|
-
|
|
23601
|
-
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
23602
|
-
|
|
23603
|
-
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
23604
|
-
|
|
23605
|
-
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
23606
|
-
|
|
23607
|
-
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
23608
|
-
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-aspect-analysis", {
|
|
23609
|
-
'kq-box-shadow': __props.showShadow
|
|
23610
|
-
}]),
|
|
23611
|
-
ref_key: "boxRef",
|
|
23612
|
-
ref: boxRef
|
|
23613
|
-
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
23614
|
-
key: 0,
|
|
23615
|
-
ref_key: "headerTempRef",
|
|
23616
|
-
ref: headerTempRef
|
|
23617
|
-
}, null, 512
|
|
23618
|
-
/* NEED_PATCH */
|
|
23619
|
-
)) : (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", AspectAnalysisvue_type_script_setup_true_lang_js_hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
23620
|
-
class: "kq3d-aspect-analysis-tip"
|
|
23621
|
-
}, {
|
|
23622
|
-
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).skylineTips), 1
|
|
23623
|
-
/* TEXT */
|
|
23624
|
-
)]),
|
|
23625
|
-
_: 1
|
|
23626
|
-
/* STABLE */
|
|
23627
|
-
|
|
23628
|
-
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
23629
|
-
"model-value": _ctx.collapseValue
|
|
23630
|
-
}, {
|
|
23631
|
-
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, {
|
|
23632
|
-
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).analysisSettings,
|
|
23633
|
-
name: "setting"
|
|
23406
|
+
, ["title"])]),
|
|
23407
|
+
_: 1
|
|
23408
|
+
/* STABLE */
|
|
23409
|
+
|
|
23410
|
+
}, 8
|
|
23411
|
+
/* PROPS */
|
|
23412
|
+
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", SlopeAnalysisvue_type_script_setup_true_lang_js_hoisted_10, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
23413
|
+
onClick: _cache[23] || (_cache[23] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
23414
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
|
|
23415
|
+
type: "primary"
|
|
23416
|
+
}, {
|
|
23417
|
+
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
|
|
23418
|
+
/* TEXT */
|
|
23419
|
+
)]),
|
|
23420
|
+
_: 1
|
|
23421
|
+
/* STABLE */
|
|
23422
|
+
|
|
23423
|
+
}, 8
|
|
23424
|
+
/* PROPS */
|
|
23425
|
+
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
23426
|
+
onClick: _cache[24] || (_cache[24] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
|
|
23427
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
|
|
23428
|
+
}, {
|
|
23429
|
+
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
|
|
23430
|
+
/* TEXT */
|
|
23431
|
+
)]),
|
|
23432
|
+
_: 1
|
|
23433
|
+
/* STABLE */
|
|
23434
|
+
|
|
23435
|
+
}, 8
|
|
23436
|
+
/* PROPS */
|
|
23437
|
+
, ["title"])])])], 2
|
|
23438
|
+
/* CLASS */
|
|
23439
|
+
);
|
|
23440
|
+
};
|
|
23441
|
+
}
|
|
23442
|
+
|
|
23443
|
+
}));
|
|
23444
|
+
;// CONCATENATED MODULE: ./src/webgl/slopeanalysis/SlopeAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
23445
|
+
|
|
23446
|
+
;// CONCATENATED MODULE: ./src/webgl/slopeanalysis/SlopeAnalysis.vue
|
|
23447
|
+
|
|
23448
|
+
|
|
23449
|
+
|
|
23450
|
+
const SlopeAnalysis_exports_ = SlopeAnalysisvue_type_script_setup_true_lang_js;
|
|
23451
|
+
|
|
23452
|
+
/* harmony default export */ var SlopeAnalysis = (SlopeAnalysis_exports_);
|
|
23453
|
+
;// CONCATENATED MODULE: ./src/webgl/slopeanalysis/index.js
|
|
23454
|
+
|
|
23455
|
+
|
|
23456
|
+
|
|
23457
|
+
|
|
23458
|
+
SlopeAnalysis.install = (Vue, opts) => {
|
|
23459
|
+
init_js_default()(Vue, opts);
|
|
23460
|
+
Vue.component(SlopeAnalysis.name, SlopeAnalysis);
|
|
23461
|
+
};
|
|
23462
|
+
|
|
23463
|
+
|
|
23464
|
+
;// CONCATENATED MODULE: ./src/webgl/aspectanalysis/AspectAnalysisViewModel.js
|
|
23465
|
+
|
|
23466
|
+
|
|
23467
|
+
/**
|
|
23468
|
+
* 坡向逻辑类
|
|
23469
|
+
**/
|
|
23470
|
+
|
|
23471
|
+
class AspectAnalysisViewModel {
|
|
23472
|
+
// 坡向三维对象
|
|
23473
|
+
constructor(scenceView, aspect) {
|
|
23474
|
+
_defineProperty(this, "_aspectAnalysis", null);
|
|
23475
|
+
|
|
23476
|
+
_defineProperty(this, "_globaOptions", {
|
|
23477
|
+
//全局参数
|
|
23478
|
+
viewer: null,
|
|
23479
|
+
_drawManager: null
|
|
23480
|
+
});
|
|
23481
|
+
|
|
23482
|
+
this._globaOptions.viewer = scenceView._viewer;
|
|
23483
|
+
let options = {
|
|
23484
|
+
interval: aspect.interval || 500,
|
|
23485
|
+
// 采样间隔
|
|
23486
|
+
width: aspect.arrowWidth || 20,
|
|
23487
|
+
// 箭头宽度
|
|
23488
|
+
color: Cesium.Color.fromCssColorString(aspect.color || "#FFFF00"),
|
|
23489
|
+
// 箭头颜色
|
|
23490
|
+
viewer: scenceView._viewer
|
|
23491
|
+
};
|
|
23492
|
+
this._globaOptions.viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
23493
|
+
// this._globaOptions.viewer.scene.globe.enableLighting = true;
|
|
23494
|
+
|
|
23495
|
+
this._globaOptions._drawManager = scenceView._drawManager;
|
|
23496
|
+
var that = this;
|
|
23497
|
+
this._aspectAnalysis = new Cesium.Kq3dAspect(options);
|
|
23498
|
+
this._globaOptions._drawFinishedEventListener = this._globaOptions._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
23499
|
+
if (shape) {
|
|
23500
|
+
that._aspectAnalysis.positions = shape._controlPoints;
|
|
23501
|
+
|
|
23502
|
+
that._globaOptions._drawManager.clear();
|
|
23503
|
+
}
|
|
23504
|
+
});
|
|
23505
|
+
} // 开始分析
|
|
23506
|
+
|
|
23507
|
+
|
|
23508
|
+
start() {
|
|
23509
|
+
// 判断是否添加了地形
|
|
23510
|
+
if (this._globaOptions.viewer.terrainProvider.availability) {
|
|
23511
|
+
if (this._globaOptions.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
23512
|
+
if (this._globaOptions._drawManager) {
|
|
23513
|
+
this.clear();
|
|
23514
|
+
|
|
23515
|
+
this._globaOptions._drawManager.startDraw("polygon", {
|
|
23516
|
+
clampToGround: true
|
|
23517
|
+
});
|
|
23518
|
+
}
|
|
23519
|
+
} else {
|
|
23520
|
+
message({
|
|
23521
|
+
message: "只支持STK类型的地形分析!",
|
|
23522
|
+
type: "warning"
|
|
23523
|
+
});
|
|
23524
|
+
}
|
|
23525
|
+
} else {
|
|
23526
|
+
message({
|
|
23527
|
+
message: "请加载地形后分析!",
|
|
23528
|
+
type: "warning"
|
|
23529
|
+
});
|
|
23530
|
+
}
|
|
23531
|
+
} // 设置采样间隔
|
|
23532
|
+
|
|
23533
|
+
|
|
23534
|
+
setInterval(newValue) {
|
|
23535
|
+
if (this._aspectAnalysis) this._aspectAnalysis._interval = newValue;
|
|
23536
|
+
} // 设置箭头宽度
|
|
23537
|
+
|
|
23538
|
+
|
|
23539
|
+
setArrowWidth(newValue) {
|
|
23540
|
+
if (this._aspectAnalysis) this._aspectAnalysis._width = newValue;
|
|
23541
|
+
} // 设置箭头颜色
|
|
23542
|
+
|
|
23543
|
+
|
|
23544
|
+
setArrowColor(newValue) {
|
|
23545
|
+
if (this._aspectAnalysis) this._aspectAnalysis._color = Cesium.Color.fromCssColorString(newValue);
|
|
23546
|
+
} // 清除全部结果
|
|
23547
|
+
|
|
23548
|
+
|
|
23549
|
+
clear() {
|
|
23550
|
+
this._globaOptions._drawManager && this._globaOptions._drawManager.stopDraw();
|
|
23551
|
+
this._aspectAnalysis && this._aspectAnalysis.clear();
|
|
23552
|
+
} // 销毁
|
|
23553
|
+
|
|
23554
|
+
|
|
23555
|
+
destroy() {
|
|
23556
|
+
// 移除监听事件
|
|
23557
|
+
this._globaOptions._drawFinishedEventListener && this._globaOptions._drawFinishedEventListener();
|
|
23558
|
+
this._globaOptions._drawFinishedEventListener = null;
|
|
23559
|
+
this._aspectAnalysis && this._aspectAnalysis.clear();
|
|
23560
|
+
this._aspectAnalysis = null;
|
|
23561
|
+
}
|
|
23562
|
+
|
|
23563
|
+
}
|
|
23564
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/aspectanalysis/AspectAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
23565
|
+
|
|
23566
|
+
const AspectAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
23567
|
+
class: "kq3d-aspect-analysis-box"
|
|
23568
|
+
};
|
|
23569
|
+
const AspectAnalysisvue_type_script_setup_true_lang_js_hoisted_2 = {
|
|
23570
|
+
class: "kq3d-aspect-analysis-footer"
|
|
23571
|
+
};
|
|
23572
|
+
|
|
23573
|
+
|
|
23574
|
+
|
|
23575
|
+
|
|
23576
|
+
|
|
23577
|
+
|
|
23578
|
+
const AspectAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
23579
|
+
name: "Kq3dAspectAnalysis"
|
|
23580
|
+
};
|
|
23581
|
+
/* harmony default export */ var AspectAnalysisvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(AspectAnalysisvue_type_script_setup_true_lang_js_default_, {
|
|
23582
|
+
props: {
|
|
23583
|
+
// 设置参数
|
|
23584
|
+
settingParams: {
|
|
23585
|
+
type: Object
|
|
23586
|
+
},
|
|
23587
|
+
// 是否显示阴影效果
|
|
23588
|
+
showShadow: {
|
|
23589
|
+
type: Boolean,
|
|
23590
|
+
default: true
|
|
23591
|
+
},
|
|
23592
|
+
|
|
23593
|
+
/**
|
|
23594
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
23595
|
+
*/
|
|
23596
|
+
position: [String, Object],
|
|
23597
|
+
// 是否生成HeaderTemp
|
|
23598
|
+
showHeaderTemp: {
|
|
23599
|
+
type: Boolean,
|
|
23600
|
+
default: false
|
|
23601
|
+
},
|
|
23602
|
+
// 是否折叠HeaderTemp,showHeaderTemp为true时生效
|
|
23603
|
+
isCollapseHeaderTemp: {
|
|
23604
|
+
type: Boolean,
|
|
23605
|
+
default: false
|
|
23606
|
+
},
|
|
23607
|
+
// HeaderTemp标题
|
|
23608
|
+
headerTempTitle: {
|
|
23609
|
+
type: String
|
|
23610
|
+
},
|
|
23611
|
+
// HeaderTemp图标
|
|
23612
|
+
headerTempIcon: {
|
|
23613
|
+
type: [Object, String],
|
|
23614
|
+
default: client_icons_vue_namespaceObject.IconAspectAnalysis
|
|
23615
|
+
},
|
|
23616
|
+
// HeaderTemp Title&Icon的位置
|
|
23617
|
+
isRight: {
|
|
23618
|
+
type: Boolean,
|
|
23619
|
+
default: true
|
|
23620
|
+
}
|
|
23621
|
+
},
|
|
23622
|
+
|
|
23623
|
+
setup(__props, {
|
|
23624
|
+
expose
|
|
23625
|
+
}) {
|
|
23626
|
+
const props = __props;
|
|
23627
|
+
const {
|
|
23628
|
+
proxy
|
|
23629
|
+
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
23630
|
+
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
23631
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({}); // 获取组件传参
|
|
23632
|
+
// 分析类
|
|
23633
|
+
|
|
23634
|
+
let viewModel = null; // 默认参数
|
|
23635
|
+
|
|
23636
|
+
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
23637
|
+
interval: props.settingParams && props.settingParams.interval || 500,
|
|
23638
|
+
// 采样间隔
|
|
23639
|
+
minInterval: props.settingParams && props.settingParams.minInterval || 100,
|
|
23640
|
+
// 采样间隔最小值
|
|
23641
|
+
maxInterval: props.settingParams && props.settingParams.maxInterval || 1000,
|
|
23642
|
+
// 采样间隔最大值
|
|
23643
|
+
arrowWidth: props.settingParams && props.settingParams.arrowWidth || 20,
|
|
23644
|
+
// 箭头宽度
|
|
23645
|
+
minArrowWidth: props.settingParams && props.settingParams.minArrowWidth || 1,
|
|
23646
|
+
// 箭头宽度最小值
|
|
23647
|
+
maxArrowWidth: props.settingParams && props.settingParams.maxArrowWidth || 30,
|
|
23648
|
+
// 箭头宽度最大值
|
|
23649
|
+
arrowColor: props.settingParams && props.settingParams.arrowColor || "#FFFF00" // 箭头颜色
|
|
23650
|
+
|
|
23651
|
+
}); // 组件容器Ref
|
|
23652
|
+
|
|
23653
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
23654
|
+
|
|
23655
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
23656
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
23657
|
+
|
|
23658
|
+
let {
|
|
23659
|
+
locale,
|
|
23660
|
+
messages
|
|
23661
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
23662
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
23663
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
23664
|
+
language.value = messages.value[newVal]["webgl"];
|
|
23665
|
+
headerTempTitle.value = language.value.aspectAnalysis;
|
|
23666
|
+
});
|
|
23667
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
23668
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
23669
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
23670
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
23671
|
+
});
|
|
23672
|
+
watchCreateHeaderTemp();
|
|
23673
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
23674
|
+
watchCreateHeaderTemp();
|
|
23675
|
+
});
|
|
23676
|
+
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
23677
|
+
|
|
23678
|
+
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
23679
|
+
if (scenceView) {
|
|
23680
|
+
viewModel = new AspectAnalysisViewModel(scenceView, {
|
|
23681
|
+
interval: formItem.interval,
|
|
23682
|
+
// 采样间隔
|
|
23683
|
+
arrowWidth: formItem.arrowWidth,
|
|
23684
|
+
// 箭头宽度
|
|
23685
|
+
arrowColor: formItem.arrowColor // 箭头颜色
|
|
23686
|
+
|
|
23687
|
+
});
|
|
23688
|
+
}
|
|
23689
|
+
});
|
|
23690
|
+
});
|
|
23691
|
+
/**
|
|
23692
|
+
* @description 监听header生成
|
|
23693
|
+
*/
|
|
23694
|
+
|
|
23695
|
+
const watchCreateHeaderTemp = () => {
|
|
23696
|
+
if (props.showHeaderTemp) {
|
|
23697
|
+
// 生成headerTemp
|
|
23698
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
23699
|
+
}
|
|
23700
|
+
}; // 参数改变
|
|
23701
|
+
|
|
23702
|
+
|
|
23703
|
+
function paramsChanged(key) {
|
|
23704
|
+
switch (key) {
|
|
23705
|
+
case "interval":
|
|
23706
|
+
// 采样间隔
|
|
23707
|
+
viewModel.setInterval(formItem.interval);
|
|
23708
|
+
break;
|
|
23709
|
+
|
|
23710
|
+
case "arrowWidth":
|
|
23711
|
+
// 箭头间隔
|
|
23712
|
+
viewModel.setArrowWidth(formItem.arrowWidth);
|
|
23713
|
+
break;
|
|
23714
|
+
|
|
23715
|
+
case "arrowColor":
|
|
23716
|
+
// 箭头颜色
|
|
23717
|
+
viewModel.setArrowColor(formItem.arrowColor);
|
|
23718
|
+
break;
|
|
23719
|
+
|
|
23720
|
+
default:
|
|
23721
|
+
break;
|
|
23722
|
+
}
|
|
23723
|
+
} // 开始分析
|
|
23724
|
+
|
|
23725
|
+
|
|
23726
|
+
function startAnalysis() {
|
|
23727
|
+
viewModel && viewModel.start();
|
|
23728
|
+
} //清除结果
|
|
23729
|
+
|
|
23730
|
+
|
|
23731
|
+
function clearResult() {
|
|
23732
|
+
viewModel && viewModel.clear();
|
|
23733
|
+
} // 销毁
|
|
23734
|
+
|
|
23735
|
+
|
|
23736
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
23737
|
+
viewModel && viewModel.destroy();
|
|
23738
|
+
});
|
|
23739
|
+
expose({
|
|
23740
|
+
paramsChanged,
|
|
23741
|
+
startAnalysis,
|
|
23742
|
+
clearResult
|
|
23743
|
+
});
|
|
23744
|
+
return (_ctx, _cache) => {
|
|
23745
|
+
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
23746
|
+
|
|
23747
|
+
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
23748
|
+
|
|
23749
|
+
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
23750
|
+
|
|
23751
|
+
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
23752
|
+
|
|
23753
|
+
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
23754
|
+
|
|
23755
|
+
const _component_kq_color_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-color-picker");
|
|
23756
|
+
|
|
23757
|
+
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
23758
|
+
|
|
23759
|
+
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
23760
|
+
|
|
23761
|
+
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
23762
|
+
|
|
23763
|
+
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
23764
|
+
|
|
23765
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
23766
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-aspect-analysis", {
|
|
23767
|
+
'kq-box-shadow': __props.showShadow
|
|
23768
|
+
}]),
|
|
23769
|
+
ref_key: "boxRef",
|
|
23770
|
+
ref: boxRef
|
|
23771
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
23772
|
+
key: 0,
|
|
23773
|
+
ref_key: "headerTempRef",
|
|
23774
|
+
ref: headerTempRef
|
|
23775
|
+
}, null, 512
|
|
23776
|
+
/* NEED_PATCH */
|
|
23777
|
+
)) : (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", AspectAnalysisvue_type_script_setup_true_lang_js_hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
23778
|
+
class: "kq3d-aspect-analysis-tip"
|
|
23779
|
+
}, {
|
|
23780
|
+
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).skylineTips), 1
|
|
23781
|
+
/* TEXT */
|
|
23782
|
+
)]),
|
|
23783
|
+
_: 1
|
|
23784
|
+
/* STABLE */
|
|
23785
|
+
|
|
23786
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
23787
|
+
"model-value": _ctx.collapseValue
|
|
23788
|
+
}, {
|
|
23789
|
+
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, {
|
|
23790
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).analysisSettings,
|
|
23791
|
+
name: "setting"
|
|
23792
|
+
}, {
|
|
23793
|
+
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, {
|
|
23794
|
+
"label-width": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? '90px' : '120px',
|
|
23795
|
+
"label-position": "left"
|
|
23796
|
+
}, {
|
|
23797
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", null, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
23798
|
+
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, {
|
|
23799
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).samplingInterval
|
|
23800
|
+
}, {
|
|
23801
|
+
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_row, {
|
|
23802
|
+
style: {
|
|
23803
|
+
"display": "flex"
|
|
23804
|
+
}
|
|
23805
|
+
}, {
|
|
23806
|
+
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_col, {
|
|
23807
|
+
span: 16
|
|
23808
|
+
}, {
|
|
23809
|
+
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_slider, {
|
|
23810
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).interval,
|
|
23811
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).interval = $event),
|
|
23812
|
+
step: 1,
|
|
23813
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minInterval,
|
|
23814
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxInterval,
|
|
23815
|
+
onInput: _cache[1] || (_cache[1] = $event => paramsChanged('interval'))
|
|
23816
|
+
}, null, 8
|
|
23817
|
+
/* PROPS */
|
|
23818
|
+
, ["modelValue", "min", "max"])]),
|
|
23819
|
+
_: 1
|
|
23820
|
+
/* STABLE */
|
|
23821
|
+
|
|
23822
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
23823
|
+
span: 8
|
|
23824
|
+
}, {
|
|
23825
|
+
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_input_number, {
|
|
23826
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).interval,
|
|
23827
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).interval = $event),
|
|
23828
|
+
step: 1,
|
|
23829
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minInterval,
|
|
23830
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxInterval,
|
|
23831
|
+
"controls-position": "right",
|
|
23832
|
+
onInput: _cache[3] || (_cache[3] = $event => paramsChanged('interval'))
|
|
23833
|
+
}, null, 8
|
|
23834
|
+
/* PROPS */
|
|
23835
|
+
, ["modelValue", "min", "max"])]),
|
|
23836
|
+
_: 1
|
|
23837
|
+
/* STABLE */
|
|
23838
|
+
|
|
23839
|
+
})]),
|
|
23840
|
+
_: 1
|
|
23841
|
+
/* STABLE */
|
|
23842
|
+
|
|
23843
|
+
})]),
|
|
23844
|
+
_: 1
|
|
23845
|
+
/* STABLE */
|
|
23846
|
+
|
|
23847
|
+
}, 8
|
|
23848
|
+
/* PROPS */
|
|
23849
|
+
, ["label"])]),
|
|
23850
|
+
_: 1
|
|
23851
|
+
/* STABLE */
|
|
23852
|
+
|
|
23853
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
23854
|
+
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, {
|
|
23855
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).arrowWidth
|
|
23856
|
+
}, {
|
|
23857
|
+
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_row, {
|
|
23858
|
+
style: {
|
|
23859
|
+
"display": "flex"
|
|
23860
|
+
}
|
|
23861
|
+
}, {
|
|
23862
|
+
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_col, {
|
|
23863
|
+
span: 16
|
|
23864
|
+
}, {
|
|
23865
|
+
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_slider, {
|
|
23866
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).arrowWidth,
|
|
23867
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).arrowWidth = $event),
|
|
23868
|
+
step: 1,
|
|
23869
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minArrowWidth,
|
|
23870
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxArrowWidth,
|
|
23871
|
+
onInput: _cache[5] || (_cache[5] = $event => paramsChanged('arrowWidth'))
|
|
23872
|
+
}, null, 8
|
|
23873
|
+
/* PROPS */
|
|
23874
|
+
, ["modelValue", "min", "max"])]),
|
|
23875
|
+
_: 1
|
|
23876
|
+
/* STABLE */
|
|
23877
|
+
|
|
23878
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
23879
|
+
span: 8
|
|
23880
|
+
}, {
|
|
23881
|
+
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_input_number, {
|
|
23882
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).arrowWidth,
|
|
23883
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).arrowWidth = $event),
|
|
23884
|
+
step: 1,
|
|
23885
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minArrowWidth,
|
|
23886
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxArrowWidth,
|
|
23887
|
+
"controls-position": "right",
|
|
23888
|
+
onInput: _cache[7] || (_cache[7] = $event => paramsChanged('arrowWidth'))
|
|
23889
|
+
}, null, 8
|
|
23890
|
+
/* PROPS */
|
|
23891
|
+
, ["modelValue", "min", "max"])]),
|
|
23892
|
+
_: 1
|
|
23893
|
+
/* STABLE */
|
|
23894
|
+
|
|
23895
|
+
})]),
|
|
23896
|
+
_: 1
|
|
23897
|
+
/* STABLE */
|
|
23898
|
+
|
|
23899
|
+
})]),
|
|
23900
|
+
_: 1
|
|
23901
|
+
/* STABLE */
|
|
23902
|
+
|
|
23903
|
+
}, 8
|
|
23904
|
+
/* PROPS */
|
|
23905
|
+
, ["label"])]),
|
|
23906
|
+
_: 1
|
|
23907
|
+
/* STABLE */
|
|
23908
|
+
|
|
23909
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
23910
|
+
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, {
|
|
23911
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).arrowColor
|
|
23912
|
+
}, {
|
|
23913
|
+
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_color_picker, {
|
|
23914
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).arrowColor,
|
|
23915
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).arrowColor = $event),
|
|
23916
|
+
onChange: _cache[9] || (_cache[9] = $event => paramsChanged('arrowColor'))
|
|
23917
|
+
}, null, 8
|
|
23918
|
+
/* PROPS */
|
|
23919
|
+
, ["modelValue"])]),
|
|
23920
|
+
_: 1
|
|
23921
|
+
/* STABLE */
|
|
23922
|
+
|
|
23923
|
+
}, 8
|
|
23924
|
+
/* PROPS */
|
|
23925
|
+
, ["label"])]),
|
|
23926
|
+
_: 1
|
|
23927
|
+
/* STABLE */
|
|
23928
|
+
|
|
23929
|
+
})])]),
|
|
23930
|
+
_: 1
|
|
23931
|
+
/* STABLE */
|
|
23932
|
+
|
|
23933
|
+
}, 8
|
|
23934
|
+
/* PROPS */
|
|
23935
|
+
, ["label-width"])]),
|
|
23936
|
+
_: 1
|
|
23937
|
+
/* STABLE */
|
|
23938
|
+
|
|
23939
|
+
}, 8
|
|
23940
|
+
/* PROPS */
|
|
23941
|
+
, ["title"])]),
|
|
23942
|
+
_: 1
|
|
23943
|
+
/* STABLE */
|
|
23944
|
+
|
|
23945
|
+
}, 8
|
|
23946
|
+
/* PROPS */
|
|
23947
|
+
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", AspectAnalysisvue_type_script_setup_true_lang_js_hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
23948
|
+
onClick: _cache[10] || (_cache[10] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
23949
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
|
|
23950
|
+
type: "primary"
|
|
23951
|
+
}, {
|
|
23952
|
+
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
|
|
23953
|
+
/* TEXT */
|
|
23954
|
+
)]),
|
|
23955
|
+
_: 1
|
|
23956
|
+
/* STABLE */
|
|
23957
|
+
|
|
23958
|
+
}, 8
|
|
23959
|
+
/* PROPS */
|
|
23960
|
+
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
23961
|
+
onClick: _cache[11] || (_cache[11] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
|
|
23962
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
|
|
23963
|
+
}, {
|
|
23964
|
+
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
|
|
23965
|
+
/* TEXT */
|
|
23966
|
+
)]),
|
|
23967
|
+
_: 1
|
|
23968
|
+
/* STABLE */
|
|
23969
|
+
|
|
23970
|
+
}, 8
|
|
23971
|
+
/* PROPS */
|
|
23972
|
+
, ["title"])])])], 2
|
|
23973
|
+
/* CLASS */
|
|
23974
|
+
);
|
|
23975
|
+
};
|
|
23976
|
+
}
|
|
23977
|
+
|
|
23978
|
+
}));
|
|
23979
|
+
;// CONCATENATED MODULE: ./src/webgl/aspectanalysis/AspectAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
23980
|
+
|
|
23981
|
+
;// CONCATENATED MODULE: ./src/webgl/aspectanalysis/AspectAnalysis.vue
|
|
23982
|
+
|
|
23983
|
+
|
|
23984
|
+
|
|
23985
|
+
const AspectAnalysis_exports_ = AspectAnalysisvue_type_script_setup_true_lang_js;
|
|
23986
|
+
|
|
23987
|
+
/* harmony default export */ var AspectAnalysis = (AspectAnalysis_exports_);
|
|
23988
|
+
;// CONCATENATED MODULE: ./src/webgl/aspectanalysis/index.js
|
|
23989
|
+
|
|
23990
|
+
|
|
23991
|
+
|
|
23992
|
+
|
|
23993
|
+
AspectAnalysis.install = (Vue, opts) => {
|
|
23994
|
+
init_js_default()(Vue, opts);
|
|
23995
|
+
Vue.component(AspectAnalysis.name, AspectAnalysis);
|
|
23996
|
+
};
|
|
23997
|
+
|
|
23998
|
+
|
|
23999
|
+
;// CONCATENATED MODULE: ./src/webgl/slopeaspectanalysis/SlopeAspectAnalysisViewModel.js
|
|
24000
|
+
|
|
24001
|
+
// 分析逻辑类
|
|
24002
|
+
|
|
24003
|
+
|
|
24004
|
+
class SlopeAspectAnalysisViewModel {
|
|
24005
|
+
// 坡度坡向三维对象
|
|
24006
|
+
// 坡向三维对象
|
|
24007
|
+
//全局参数
|
|
24008
|
+
constructor(scenceView, viewModel) {
|
|
24009
|
+
_defineProperty(this, "_slopeAnalysis", null);
|
|
24010
|
+
|
|
24011
|
+
_defineProperty(this, "_aspectAnalysis", null);
|
|
24012
|
+
|
|
24013
|
+
_defineProperty(this, "_globaOptions", {
|
|
24014
|
+
viewer: null,
|
|
24015
|
+
_drawManager: null
|
|
24016
|
+
});
|
|
24017
|
+
|
|
24018
|
+
_defineProperty(this, "_colorImages", [//渐变图片集合
|
|
24019
|
+
{
|
|
24020
|
+
value: "0",
|
|
24021
|
+
src: const_image_.RED_TO_PURPLE_URL
|
|
24022
|
+
}, {
|
|
24023
|
+
value: "1",
|
|
24024
|
+
src: const_image_.PURPLE_TO_YELLOW_URL
|
|
24025
|
+
}, {
|
|
24026
|
+
value: "2",
|
|
24027
|
+
src: const_image_.GREEN_TO_BLUE_URL
|
|
24028
|
+
}]);
|
|
24029
|
+
|
|
24030
|
+
this._globaOptions.viewer = scenceView._viewer;
|
|
24031
|
+
this._globaOptions.viewModel = {
|
|
24032
|
+
fillStyle: viewModel.fillStyle,
|
|
24033
|
+
viewer: this._globaOptions.viewer,
|
|
24034
|
+
isFilter: false,
|
|
24035
|
+
// 自定义颜色
|
|
24036
|
+
colorTableDegree: viewModel.colorTableDegree,
|
|
24037
|
+
colorTable: viewModel.colorTable,
|
|
24038
|
+
// 渐变纹理
|
|
24039
|
+
imageSrc: this.getColorLine(viewModel.colorImage),
|
|
24040
|
+
// 坡度过滤
|
|
24041
|
+
minSlope: viewModel.minSlope,
|
|
24042
|
+
maxSlope: viewModel.maxSlope,
|
|
24043
|
+
slopeColorText: viewModel.slopeColorText,
|
|
24044
|
+
slopeColorAlpha: viewModel.slopeColorAlpha,
|
|
24045
|
+
colorImage: this.getImagePath(viewModel.colorImage)
|
|
24046
|
+
};
|
|
24047
|
+
this._globaOptions.viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
24048
|
+
// this._globaOptions.viewer.scene.globe.enableLighting = true;
|
|
24049
|
+
|
|
24050
|
+
this._globaOptions._drawManager = scenceView._drawManager;
|
|
24051
|
+
var that = this; // 坡度对象
|
|
24052
|
+
|
|
24053
|
+
this._aspectAnalysis = new window.Cesium.Kq3dAspect({
|
|
24054
|
+
interval: viewModel.interval || 500,
|
|
24055
|
+
// 采样间隔
|
|
24056
|
+
width: viewModel.arrowWidth || 20,
|
|
24057
|
+
// 箭头宽度
|
|
24058
|
+
color: window.Cesium.Color.fromCssColorString(viewModel.color || "#FFFF00"),
|
|
24059
|
+
// 箭头颜色
|
|
24060
|
+
viewer: scenceView._viewer
|
|
24061
|
+
});
|
|
24062
|
+
this._globaOptions._drawFinishedEventListener = this._globaOptions._drawManager.drawFinishedEvent.addEventListener(shape => {
|
|
24063
|
+
if (shape) {
|
|
24064
|
+
that._globaOptions.viewModel.positions = shape._controlPoints;
|
|
24065
|
+
if (that._aspectAnalysis) that._aspectAnalysis.positions = shape._controlPoints; // 实例化分析对象
|
|
24066
|
+
|
|
24067
|
+
if (!that._slopeAnalysis) {
|
|
24068
|
+
switch (that._globaOptions.viewModel.fillStyle) {
|
|
24069
|
+
case "tableColor":
|
|
24070
|
+
that._slopeAnalysis = new Cesium.Kq3dSlope({
|
|
24071
|
+
viewer: that._globaOptions.viewer,
|
|
24072
|
+
positions: that._globaOptions.viewModel.positions,
|
|
24073
|
+
isFilter: false,
|
|
24074
|
+
colorTableDegree: that._globaOptions.viewModel.colorTableDegree,
|
|
24075
|
+
colorTable: that._globaOptions.viewModel.colorTable
|
|
24076
|
+
});
|
|
24077
|
+
break;
|
|
24078
|
+
|
|
24079
|
+
case "colorImage":
|
|
24080
|
+
that._slopeAnalysis = new Cesium.Kq3dSlope({
|
|
24081
|
+
viewer: that._globaOptions.viewer,
|
|
24082
|
+
positions: that._globaOptions.viewModel.positions,
|
|
24083
|
+
isFilter: false,
|
|
24084
|
+
colorImage: that._globaOptions.viewModel.imageSrc
|
|
24085
|
+
});
|
|
24086
|
+
break;
|
|
24087
|
+
|
|
24088
|
+
case "slopeFilter":
|
|
24089
|
+
that._slopeAnalysis = new Cesium.Kq3dSlope({
|
|
24090
|
+
viewer: that._globaOptions.viewer,
|
|
24091
|
+
positions: that._globaOptions.viewModel.positions,
|
|
24092
|
+
isFilter: true,
|
|
24093
|
+
minSlope: that._globaOptions.viewModel.minSlope,
|
|
24094
|
+
maxSlope: that._globaOptions.viewModel.maxSlope,
|
|
24095
|
+
color: Cesium.Color.fromCssColorString(that._globaOptions.viewModel.slopeColorText).withAlpha(Number(that._globaOptions.viewModel.slopeColorAlpha))
|
|
24096
|
+
});
|
|
24097
|
+
break;
|
|
24098
|
+
}
|
|
24099
|
+
} else {
|
|
24100
|
+
that._slopeAnalysis.positions = that._globaOptions.viewModel.positions;
|
|
24101
|
+
}
|
|
24102
|
+
|
|
24103
|
+
that._globaOptions._drawManager.clear();
|
|
24104
|
+
}
|
|
24105
|
+
});
|
|
24106
|
+
} //获取图片路径
|
|
24107
|
+
|
|
24108
|
+
|
|
24109
|
+
getImagePath(value) {
|
|
24110
|
+
var imagePath = "";
|
|
24111
|
+
|
|
24112
|
+
var image = this._colorImages.find(item => item.value === value);
|
|
24113
|
+
|
|
24114
|
+
if (image) {
|
|
24115
|
+
imagePath = image.src;
|
|
24116
|
+
}
|
|
24117
|
+
|
|
24118
|
+
return imagePath;
|
|
24119
|
+
} // 开始分析
|
|
24120
|
+
|
|
24121
|
+
|
|
24122
|
+
start() {
|
|
24123
|
+
// 判断是否添加了地形
|
|
24124
|
+
if (this._globaOptions.viewModel.viewer.terrainProvider.availability) {
|
|
24125
|
+
if (this._globaOptions.viewModel.viewer.terrainProvider instanceof Cesium.CesiumTerrainProvider) {
|
|
24126
|
+
if (this._globaOptions.viewModel.fillStyle === "slopeFilter") {
|
|
24127
|
+
// 坡度过滤不需要进行绘制
|
|
24128
|
+
this._slopeAnalysis = new Cesium.Kq3dSlope({
|
|
24129
|
+
viewer: this._globaOptions.viewer,
|
|
24130
|
+
positions: [],
|
|
24131
|
+
isFilter: true,
|
|
24132
|
+
minSlope: this._globaOptions.viewModel.minSlope,
|
|
24133
|
+
maxSlope: this._globaOptions.viewModel.maxSlope,
|
|
24134
|
+
color: Cesium.Color.fromCssColorString(this._globaOptions.viewModel.slopeColorText).withAlpha(Number(this._globaOptions.viewModel.slopeColorAlpha))
|
|
24135
|
+
});
|
|
24136
|
+
} else {
|
|
24137
|
+
// this.clear();
|
|
24138
|
+
if (this._globaOptions._drawManager) {
|
|
24139
|
+
this._globaOptions._drawManager.startDraw("polygon", {
|
|
24140
|
+
clampToGround: true
|
|
24141
|
+
});
|
|
24142
|
+
}
|
|
24143
|
+
}
|
|
24144
|
+
} else {
|
|
24145
|
+
message({
|
|
24146
|
+
message: "只支持STK类型的地形分析!",
|
|
24147
|
+
type: "warning"
|
|
24148
|
+
});
|
|
24149
|
+
}
|
|
24150
|
+
} else {
|
|
24151
|
+
message({
|
|
24152
|
+
message: "请加载地形后分析!",
|
|
24153
|
+
type: "warning"
|
|
24154
|
+
});
|
|
24155
|
+
}
|
|
24156
|
+
} //修改填充样式
|
|
24157
|
+
|
|
24158
|
+
|
|
24159
|
+
changeFilltyle(key) {
|
|
24160
|
+
this._globaOptions.viewModel.fillStyle = key;
|
|
24161
|
+
if (!this._slopeAnalysis) return;
|
|
24162
|
+
|
|
24163
|
+
switch (key) {
|
|
24164
|
+
case "tableColor":
|
|
24165
|
+
if (this._slopeAnalysis.isFilter) this._slopeAnalysis.isFilter = false;
|
|
24166
|
+
this._slopeAnalysis.colorImage = null;
|
|
24167
|
+
this._slopeAnalysis.color = null;
|
|
24168
|
+
this._slopeAnalysis.colorTableDegree = this._globaOptions.viewModel.colorTableDegree;
|
|
24169
|
+
this._slopeAnalysis.colorTable = this._globaOptions.viewModel.colorTable;
|
|
24170
|
+
break;
|
|
24171
|
+
|
|
24172
|
+
case "colorImage":
|
|
24173
|
+
if (this._slopeAnalysis.isFilter) this._slopeAnalysis.isFilter = false;
|
|
24174
|
+
this._slopeAnalysis.colorTableDegree = [];
|
|
24175
|
+
this._slopeAnalysis.colorTable = [];
|
|
24176
|
+
this._slopeAnalysis.color = null;
|
|
24177
|
+
this._slopeAnalysis.colorImage = this._globaOptions.viewModel.imageSrc;
|
|
24178
|
+
break;
|
|
24179
|
+
|
|
24180
|
+
case "slopeFilter":
|
|
24181
|
+
this._slopeAnalysis.colorImage = null;
|
|
24182
|
+
this._slopeAnalysis.isFilter = true;
|
|
24183
|
+
this._slopeAnalysis.minSlope = this._globaOptions.viewModel.minSlope, this._slopeAnalysis.maxSlope = this._globaOptions.viewModel.maxSlope, this._slopeAnalysis.color = Cesium.Color.fromCssColorString(this._globaOptions.viewModel.slopeColorText).withAlpha(Number(this._globaOptions.viewModel.slopeColorAlpha));
|
|
24184
|
+
break;
|
|
24185
|
+
}
|
|
24186
|
+
} // 设置填充纹理值
|
|
24187
|
+
|
|
24188
|
+
|
|
24189
|
+
setColorTableDegree(newValue) {
|
|
24190
|
+
this._globaOptions.viewModel.colorTableDegree = newValue;
|
|
24191
|
+
if (this._slopeAnalysis) this._slopeAnalysis.colorTableDegree = this._globaOptions.viewModel.colorTableDegree;
|
|
24192
|
+
} // 设置填充纹理颜色
|
|
24193
|
+
|
|
24194
|
+
|
|
24195
|
+
setColorTable(newValue) {
|
|
24196
|
+
this._globaOptions.viewModel.colorTable = newValue;
|
|
24197
|
+
if (this._slopeAnalysis) this._slopeAnalysis.colorTable = this._globaOptions.viewModel.colorTable;
|
|
24198
|
+
} // 设置填充纹理
|
|
24199
|
+
|
|
24200
|
+
|
|
24201
|
+
setColorImage(newValue) {
|
|
24202
|
+
this._globaOptions.viewModel.imageSrc = newValue;
|
|
24203
|
+
if (this._slopeAnalysis) this._slopeAnalysis.colorImage = this._globaOptions.viewModel.imageSrc;
|
|
24204
|
+
} // 设置渐变纹理
|
|
24205
|
+
|
|
24206
|
+
|
|
24207
|
+
getColorLine(key) {
|
|
24208
|
+
var path = "";
|
|
24209
|
+
|
|
24210
|
+
switch (key) {
|
|
24211
|
+
case 0:
|
|
24212
|
+
path = const_image_.RED_TO_PURPLE_URL;
|
|
24213
|
+
break;
|
|
24214
|
+
|
|
24215
|
+
case 1:
|
|
24216
|
+
path = const_image_.PURPLE_TO_YELLOW_URL;
|
|
24217
|
+
break;
|
|
24218
|
+
|
|
24219
|
+
case 2:
|
|
24220
|
+
path = const_image_.GREEN_TO_BLUE_URL;
|
|
24221
|
+
break;
|
|
24222
|
+
|
|
24223
|
+
default:
|
|
24224
|
+
path = const_image_.RED_TO_PURPLE_URL;
|
|
24225
|
+
break;
|
|
24226
|
+
}
|
|
24227
|
+
|
|
24228
|
+
return path;
|
|
24229
|
+
} // 设置坡度过滤样式
|
|
24230
|
+
|
|
24231
|
+
|
|
24232
|
+
setSlopeFilterColor(slopeColorText, slopeColorAlpha) {
|
|
24233
|
+
this._globaOptions.viewModel.slopeColorText = slopeColorText;
|
|
24234
|
+
this._globaOptions.viewModel.slopeColorAlpha = Number(slopeColorAlpha);
|
|
24235
|
+
if (this._slopeAnalysis) this._slopeAnalysis.color = Cesium.Color.fromCssColorString(slopeColorText).withAlpha(Number(slopeColorAlpha));
|
|
24236
|
+
} // 设置最小坡度值
|
|
24237
|
+
|
|
24238
|
+
|
|
24239
|
+
setSlopeFilterMin(newValue) {
|
|
24240
|
+
this._globaOptions.viewModel.minSlope = Number(newValue);
|
|
24241
|
+
if (this._slopeAnalysis) this._slopeAnalysis.minSlope = this._globaOptions.viewModel.minSlope;
|
|
24242
|
+
} // 设置最大坡度值
|
|
24243
|
+
|
|
24244
|
+
|
|
24245
|
+
setSlopeFilterMax(newValue) {
|
|
24246
|
+
this._globaOptions.viewModel.maxSlope = Number(newValue);
|
|
24247
|
+
if (this._slopeAnalysis) this._slopeAnalysis.maxSlope = this._globaOptions.viewModel.maxSlope;
|
|
24248
|
+
} // 设置采样间隔
|
|
24249
|
+
|
|
24250
|
+
|
|
24251
|
+
setInterval(newValue) {
|
|
24252
|
+
if (this._aspectAnalysis) this._aspectAnalysis._interval = newValue;
|
|
24253
|
+
} // 设置箭头宽度
|
|
24254
|
+
|
|
24255
|
+
|
|
24256
|
+
setArrowWidth(newValue) {
|
|
24257
|
+
if (this._aspectAnalysis) this._aspectAnalysis._width = newValue;
|
|
24258
|
+
} // 设置箭头颜色
|
|
24259
|
+
|
|
24260
|
+
|
|
24261
|
+
setArrowColor(newValue) {
|
|
24262
|
+
if (this._aspectAnalysis) this._aspectAnalysis._color = Cesium.Color.fromCssColorString(newValue);
|
|
24263
|
+
} // 清除全部结果
|
|
24264
|
+
|
|
24265
|
+
|
|
24266
|
+
clear() {
|
|
24267
|
+
this._globaOptions._drawManager && this._globaOptions._drawManager.stopDraw();
|
|
24268
|
+
this._slopeAnalysis && this._slopeAnalysis.destroy();
|
|
24269
|
+
this._slopeAnalysis = null;
|
|
24270
|
+
this._aspectAnalysis && this._aspectAnalysis.clear();
|
|
24271
|
+
} // 销毁
|
|
24272
|
+
|
|
24273
|
+
|
|
24274
|
+
destroy() {
|
|
24275
|
+
// 移除监听事件
|
|
24276
|
+
this._globaOptions._drawFinishedEventListener && this._globaOptions._drawFinishedEventListener();
|
|
24277
|
+
this._globaOptions._drawFinishedEventListener = null;
|
|
24278
|
+
this._slopeAnalysis && this._slopeAnalysis.destroy();
|
|
24279
|
+
this._slopeAnalysis = null;
|
|
24280
|
+
this._aspectAnalysis && this._aspectAnalysis.clear();
|
|
24281
|
+
this._aspectAnalysis = null;
|
|
24282
|
+
}
|
|
24283
|
+
|
|
24284
|
+
}
|
|
24285
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/slopeaspectanalysis/SlopeAspectAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
24286
|
+
|
|
24287
|
+
const SlopeAspectAnalysisvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
24288
|
+
class: "kq3d-slope-aspect-analysis-box"
|
|
24289
|
+
};
|
|
24290
|
+
const SlopeAspectAnalysisvue_type_script_setup_true_lang_js_hoisted_2 = {
|
|
24291
|
+
key: 0
|
|
24292
|
+
};
|
|
24293
|
+
const SlopeAspectAnalysisvue_type_script_setup_true_lang_js_hoisted_3 = {
|
|
24294
|
+
class: "kq3d-slope-aspect-analysis-span"
|
|
24295
|
+
};
|
|
24296
|
+
const SlopeAspectAnalysisvue_type_script_setup_true_lang_js_hoisted_4 = {
|
|
24297
|
+
key: 1
|
|
24298
|
+
};
|
|
24299
|
+
|
|
24300
|
+
const SlopeAspectAnalysisvue_type_script_setup_true_lang_js_hoisted_5 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", null, "0°", -1
|
|
24301
|
+
/* HOISTED */
|
|
24302
|
+
);
|
|
24303
|
+
|
|
24304
|
+
const SlopeAspectAnalysisvue_type_script_setup_true_lang_js_hoisted_6 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", {
|
|
24305
|
+
class: "kq3d-slope-aspect-analysis-line"
|
|
24306
|
+
}, null, -1
|
|
24307
|
+
/* HOISTED */
|
|
24308
|
+
);
|
|
24309
|
+
|
|
24310
|
+
const SlopeAspectAnalysisvue_type_script_setup_true_lang_js_hoisted_7 = /*#__PURE__*/(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", null, "90°", -1
|
|
24311
|
+
/* HOISTED */
|
|
24312
|
+
);
|
|
24313
|
+
|
|
24314
|
+
const SlopeAspectAnalysisvue_type_script_setup_true_lang_js_hoisted_8 = ["src"];
|
|
24315
|
+
const SlopeAspectAnalysisvue_type_script_setup_true_lang_js_hoisted_9 = {
|
|
24316
|
+
key: 2
|
|
24317
|
+
};
|
|
24318
|
+
const SlopeAspectAnalysisvue_type_script_setup_true_lang_js_hoisted_10 = {
|
|
24319
|
+
class: "kq3d-slope-aspect-analysis-footer"
|
|
24320
|
+
};
|
|
24321
|
+
|
|
24322
|
+
|
|
24323
|
+
|
|
24324
|
+
|
|
24325
|
+
|
|
24326
|
+
|
|
24327
|
+
|
|
24328
|
+
const SlopeAspectAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
24329
|
+
name: "Kq3dSlopeAspectAnalysis"
|
|
24330
|
+
};
|
|
24331
|
+
/* harmony default export */ var SlopeAspectAnalysisvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(SlopeAspectAnalysisvue_type_script_setup_true_lang_js_default_, {
|
|
24332
|
+
props: {
|
|
24333
|
+
// 设置参数
|
|
24334
|
+
settingParams: {
|
|
24335
|
+
type: Object
|
|
24336
|
+
},
|
|
24337
|
+
// 是否显示阴影效果
|
|
24338
|
+
showShadow: {
|
|
24339
|
+
type: Boolean,
|
|
24340
|
+
default: true
|
|
24341
|
+
},
|
|
24342
|
+
|
|
24343
|
+
/**
|
|
24344
|
+
* 例:"center","topLeft","topRight","bottomLeft","bottomRight", "topCenter", "bottomCenter" {top:'16px',left:'16px'}, {top:16,left:16}
|
|
24345
|
+
*/
|
|
24346
|
+
position: [String, Object],
|
|
24347
|
+
// 是否生成HeaderTemp
|
|
24348
|
+
showHeaderTemp: {
|
|
24349
|
+
type: Boolean,
|
|
24350
|
+
default: false
|
|
24351
|
+
},
|
|
24352
|
+
// 是否折叠HeaderTemp,showHeaderTemp为true时生效
|
|
24353
|
+
isCollapseHeaderTemp: {
|
|
24354
|
+
type: Boolean,
|
|
24355
|
+
default: false
|
|
24356
|
+
},
|
|
24357
|
+
// HeaderTemp标题
|
|
24358
|
+
headerTempTitle: {
|
|
24359
|
+
type: String
|
|
24360
|
+
},
|
|
24361
|
+
// HeaderTemp图标
|
|
24362
|
+
headerTempIcon: {
|
|
24363
|
+
type: [Object, String],
|
|
24364
|
+
default: client_icons_vue_namespaceObject.IconSlopeAnalysis
|
|
24365
|
+
},
|
|
24366
|
+
// HeaderTemp Title&Icon的位置
|
|
24367
|
+
isRight: {
|
|
24368
|
+
type: Boolean,
|
|
24369
|
+
default: true
|
|
24370
|
+
}
|
|
24371
|
+
},
|
|
24372
|
+
|
|
24373
|
+
setup(__props, {
|
|
24374
|
+
expose
|
|
24375
|
+
}) {
|
|
24376
|
+
const props = __props;
|
|
24377
|
+
const {
|
|
24378
|
+
proxy
|
|
24379
|
+
} = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.getCurrentInstance)();
|
|
24380
|
+
let currentLang = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)("");
|
|
24381
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)({});
|
|
24382
|
+
let dataList = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)([{
|
|
24383
|
+
colorTableDegree: 0,
|
|
24384
|
+
colorTable: null
|
|
24385
|
+
}, {
|
|
24386
|
+
colorTableDegree: 10,
|
|
24387
|
+
colorTable: "#00FF00"
|
|
24388
|
+
}, {
|
|
24389
|
+
colorTableDegree: 20,
|
|
24390
|
+
colorTable: "#0000FF"
|
|
24391
|
+
}, {
|
|
24392
|
+
colorTableDegree: 30,
|
|
24393
|
+
colorTable: "#FFFF00"
|
|
24394
|
+
}, {
|
|
24395
|
+
colorTableDegree: 40,
|
|
24396
|
+
colorTable: "#FF7F00"
|
|
24397
|
+
}, {
|
|
24398
|
+
colorTableDegree: 90,
|
|
24399
|
+
colorTable: "#FF0000"
|
|
24400
|
+
}]);
|
|
24401
|
+
const colorImages = [{
|
|
24402
|
+
value: 0,
|
|
24403
|
+
src: const_image_.RED_TO_PURPLE_URL
|
|
24404
|
+
}, {
|
|
24405
|
+
value: 1,
|
|
24406
|
+
src: const_image_.PURPLE_TO_YELLOW_URL
|
|
24407
|
+
}, {
|
|
24408
|
+
value: 2,
|
|
24409
|
+
src: const_image_.GREEN_TO_BLUE_URL
|
|
24410
|
+
}]; //计算属性
|
|
24411
|
+
// 获取组件传参
|
|
24412
|
+
// 分析类
|
|
24413
|
+
|
|
24414
|
+
let viewModel = null; // 默认参数
|
|
24415
|
+
|
|
24416
|
+
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.reactive)({
|
|
24417
|
+
collapseValue: props.settingParams && props.settingParams.collapseValue || "",
|
|
24418
|
+
// 折叠组件是否折叠,slope:展开坡度设置,aspect:展开破坡向设置
|
|
24419
|
+
fillStyle: props.settingParams && props.settingParams.fillStyle || "tableColor",
|
|
24420
|
+
colorTableDegree: props.settingParams && props.settingParams.colorTableDegree || [10, 20, 30, 40, 90],
|
|
24421
|
+
colorTable: props.settingParams && props.settingParams.colorTable || ["#00FF00", "#0000FF", "#FFFF00", "#FF7F00", "#FF0000"],
|
|
24422
|
+
colorImage: props.settingParams && props.settingParams.colorImage || 0,
|
|
24423
|
+
minSlope: props.settingParams && props.settingParams.minSlope || 10,
|
|
24424
|
+
maxSlope: props.settingParams && props.settingParams.maxSlope || 60,
|
|
24425
|
+
slopeColorAlpha: props.settingParams && props.settingParams.slopeColorAlpha || 0.3,
|
|
24426
|
+
slopeColorText: props.settingParams && props.settingParams.slopeColorText || "#FF0000",
|
|
24427
|
+
// 坡向参数
|
|
24428
|
+
interval: props.settingParams && props.settingParams.interval || 500,
|
|
24429
|
+
// 采样间隔
|
|
24430
|
+
minInterval: props.settingParams && props.settingParams.minInterval || 100,
|
|
24431
|
+
// 采样间隔最小值
|
|
24432
|
+
maxInterval: props.settingParams && props.settingParams.maxInterval || 1000,
|
|
24433
|
+
// 采样间隔最大值
|
|
24434
|
+
arrowWidth: props.settingParams && props.settingParams.arrowWidth || 20,
|
|
24435
|
+
// 箭头宽度
|
|
24436
|
+
minArrowWidth: props.settingParams && props.settingParams.minArrowWidth || 1,
|
|
24437
|
+
// 箭头宽度最小值
|
|
24438
|
+
maxArrowWidth: props.settingParams && props.settingParams.maxArrowWidth || 30,
|
|
24439
|
+
// 箭头宽度最大值
|
|
24440
|
+
arrowColor: props.settingParams && props.settingParams.arrowColor || "#FFFF00" // 箭头颜色
|
|
24441
|
+
|
|
24442
|
+
}); // 组件容器Ref
|
|
24443
|
+
|
|
24444
|
+
let boxRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null); // 生成组件默认header
|
|
24445
|
+
|
|
24446
|
+
let headerTemp = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)();
|
|
24447
|
+
let headerTempRef = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(); // 国际化
|
|
24448
|
+
|
|
24449
|
+
let {
|
|
24450
|
+
locale,
|
|
24451
|
+
messages
|
|
24452
|
+
} = (0,vue_i18n_cjs_js_namespaceObject.useI18n)();
|
|
24453
|
+
let headerTempTitle = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.ref)(null);
|
|
24454
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => locale.value, (newVal, oldVal) => {
|
|
24455
|
+
language.value = messages.value[newVal]["webgl"];
|
|
24456
|
+
headerTempTitle.value = language.value.slopeAspectAnalysisTitle;
|
|
24457
|
+
});
|
|
24458
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
|
|
24459
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
24460
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.position, (newVal, oldVal) => {
|
|
24461
|
+
(0,util_.updatePosition)(boxRef.value, props);
|
|
24462
|
+
});
|
|
24463
|
+
watchCreateHeaderTemp();
|
|
24464
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.watch)(() => props.showHeaderTemp, (newVal, oldVal) => {
|
|
24465
|
+
watchCreateHeaderTemp();
|
|
24466
|
+
});
|
|
24467
|
+
currentLang.value = proxy.$i18n.locale; // 获取当前语言
|
|
24468
|
+
|
|
24469
|
+
gis_utils_.utils.getWebMap(null, scenceView => {
|
|
24470
|
+
if (scenceView) {
|
|
24471
|
+
refactorArr();
|
|
24472
|
+
viewModel = new SlopeAspectAnalysisViewModel(scenceView, formItem); // var imageUrl = getImagePath(formItem.colorImage);
|
|
24473
|
+
// viewModel.setColorImage(imageUrl);
|
|
24474
|
+
}
|
|
24475
|
+
});
|
|
24476
|
+
});
|
|
24477
|
+
/**
|
|
24478
|
+
* @description 监听header生成
|
|
24479
|
+
*/
|
|
24480
|
+
|
|
24481
|
+
const watchCreateHeaderTemp = () => {
|
|
24482
|
+
if (props.showHeaderTemp) {
|
|
24483
|
+
// 生成headerTemp
|
|
24484
|
+
headerTemp.value = (0,util_.createHeaderTemp)(boxRef.value, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toRefs)(props), headerTempRef, headerTempTitle);
|
|
24485
|
+
}
|
|
24486
|
+
}; // 刷新自定义样式数组
|
|
24487
|
+
|
|
24488
|
+
|
|
24489
|
+
function refactorArr(type) {
|
|
24490
|
+
if (!dataList || !dataList.length) return;
|
|
24491
|
+
|
|
24492
|
+
if (type == "degree") {
|
|
24493
|
+
formItem.colorTableDegree = dataList.map(item => {
|
|
24494
|
+
return item.colorTableDegree;
|
|
24495
|
+
});
|
|
24496
|
+
formItem.colorTableDegree.shift();
|
|
24497
|
+
} else if (type == "color") {
|
|
24498
|
+
formItem.colorTable = dataList.map(item => {
|
|
24499
|
+
return item.colorTable;
|
|
24500
|
+
});
|
|
24501
|
+
formItem.colorTable.shift();
|
|
24502
|
+
}
|
|
24503
|
+
} //获取图片路径
|
|
24504
|
+
|
|
24505
|
+
|
|
24506
|
+
function getImagePath(value) {
|
|
24507
|
+
var imagePath = "";
|
|
24508
|
+
var image = colorImages.find(item => item.value === value);
|
|
24509
|
+
|
|
24510
|
+
if (image) {
|
|
24511
|
+
imagePath = image.src;
|
|
24512
|
+
}
|
|
24513
|
+
|
|
24514
|
+
return imagePath;
|
|
24515
|
+
} // 参数改变
|
|
24516
|
+
|
|
24517
|
+
|
|
24518
|
+
function paramsChanged(key) {
|
|
24519
|
+
switch (key) {
|
|
24520
|
+
case "fillStyle":
|
|
24521
|
+
// 填充样式
|
|
24522
|
+
viewModel.changeFilltyle(formItem.fillStyle);
|
|
24523
|
+
break;
|
|
24524
|
+
|
|
24525
|
+
case "colorTableDegree":
|
|
24526
|
+
// 自定义填充样式区间
|
|
24527
|
+
refactorArr("degree");
|
|
24528
|
+
viewModel.setColorTableDegree(formItem.colorTableDegree);
|
|
24529
|
+
break;
|
|
24530
|
+
|
|
24531
|
+
case "colorTable":
|
|
24532
|
+
// 自定义填充样式颜色
|
|
24533
|
+
refactorArr("color");
|
|
24534
|
+
viewModel.setColorTable(formItem.colorTable);
|
|
24535
|
+
break;
|
|
24536
|
+
|
|
24537
|
+
case "colorImage":
|
|
24538
|
+
// 填充样式
|
|
24539
|
+
var imageUrl = getImagePath(formItem.colorImage);
|
|
24540
|
+
viewModel.setColorImage(imageUrl);
|
|
24541
|
+
break;
|
|
24542
|
+
|
|
24543
|
+
case "minSlope":
|
|
24544
|
+
// 填充样式
|
|
24545
|
+
viewModel.setSlopeFilterMin(formItem.minSlope);
|
|
24546
|
+
break;
|
|
24547
|
+
|
|
24548
|
+
case "maxSlope":
|
|
24549
|
+
// 填充样式
|
|
24550
|
+
viewModel.setSlopeFilterMax(formItem.maxSlope);
|
|
24551
|
+
break;
|
|
24552
|
+
|
|
24553
|
+
case "slopeColorAlpha":
|
|
24554
|
+
// 填充样式
|
|
24555
|
+
viewModel.setSlopeFilterColor(formItem.slopeColorText, formItem.slopeColorAlpha);
|
|
24556
|
+
break;
|
|
24557
|
+
|
|
24558
|
+
case "slopeColorText":
|
|
24559
|
+
// 填充样式
|
|
24560
|
+
viewModel.setSlopeFilterColor(formItem.slopeColorText, formItem.slopeColorAlpha);
|
|
24561
|
+
break;
|
|
24562
|
+
|
|
24563
|
+
case "interval":
|
|
24564
|
+
// 采样间隔
|
|
24565
|
+
viewModel.setInterval(formItem.interval);
|
|
24566
|
+
break;
|
|
24567
|
+
|
|
24568
|
+
case "arrowWidth":
|
|
24569
|
+
// 箭头间隔
|
|
24570
|
+
viewModel.setArrowWidth(formItem.arrowWidth);
|
|
24571
|
+
break;
|
|
24572
|
+
|
|
24573
|
+
case "arrowColor":
|
|
24574
|
+
// 箭头颜色
|
|
24575
|
+
viewModel.setArrowColor(formItem.arrowColor);
|
|
24576
|
+
break;
|
|
24577
|
+
|
|
24578
|
+
default:
|
|
24579
|
+
break;
|
|
24580
|
+
}
|
|
24581
|
+
} // 开始分析
|
|
24582
|
+
|
|
24583
|
+
|
|
24584
|
+
function startAnalysis() {
|
|
24585
|
+
clearResult();
|
|
24586
|
+
viewModel && viewModel.start();
|
|
24587
|
+
} //清除结果
|
|
24588
|
+
|
|
24589
|
+
|
|
24590
|
+
function clearResult() {
|
|
24591
|
+
viewModel && viewModel.clear();
|
|
24592
|
+
} // 销毁
|
|
24593
|
+
|
|
24594
|
+
|
|
24595
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onBeforeUnmount)(() => {
|
|
24596
|
+
viewModel && viewModel.destroy();
|
|
24597
|
+
});
|
|
24598
|
+
expose({
|
|
24599
|
+
refactorArr,
|
|
24600
|
+
getImagePath,
|
|
24601
|
+
paramsChanged,
|
|
24602
|
+
startAnalysis,
|
|
24603
|
+
clearResult
|
|
24604
|
+
});
|
|
24605
|
+
return (_ctx, _cache) => {
|
|
24606
|
+
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-row");
|
|
24607
|
+
|
|
24608
|
+
const _component_kq_option = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-option");
|
|
24609
|
+
|
|
24610
|
+
const _component_kq_select = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-select");
|
|
24611
|
+
|
|
24612
|
+
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form-item");
|
|
24613
|
+
|
|
24614
|
+
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-col");
|
|
24615
|
+
|
|
24616
|
+
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-input-number");
|
|
24617
|
+
|
|
24618
|
+
const _component_kq_color_picker = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-color-picker");
|
|
24619
|
+
|
|
24620
|
+
const _component_kq_radio = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio");
|
|
24621
|
+
|
|
24622
|
+
const _component_kq_radio_group = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-radio-group");
|
|
24623
|
+
|
|
24624
|
+
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-slider");
|
|
24625
|
+
|
|
24626
|
+
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-form");
|
|
24627
|
+
|
|
24628
|
+
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse-item");
|
|
24629
|
+
|
|
24630
|
+
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-collapse");
|
|
24631
|
+
|
|
24632
|
+
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveComponent)("kq-button");
|
|
24633
|
+
|
|
24634
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("section", {
|
|
24635
|
+
class: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.normalizeClass)(["kq3d-slope-aspect-analysis", {
|
|
24636
|
+
'kq-box-shadow': __props.showShadow
|
|
24637
|
+
}]),
|
|
24638
|
+
ref_key: "boxRef",
|
|
24639
|
+
ref: boxRef
|
|
24640
|
+
}, [__props.showHeaderTemp ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.resolveDynamicComponent)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(headerTemp)), {
|
|
24641
|
+
key: 0,
|
|
24642
|
+
ref_key: "headerTempRef",
|
|
24643
|
+
ref: headerTempRef
|
|
24644
|
+
}, null, 512
|
|
24645
|
+
/* NEED_PATCH */
|
|
24646
|
+
)) : (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", SlopeAspectAnalysisvue_type_script_setup_true_lang_js_hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle !== 'slopeFilter' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
|
|
24647
|
+
key: 0,
|
|
24648
|
+
class: "kq3d-slope-aspect-analysis-tip"
|
|
24649
|
+
}, {
|
|
24650
|
+
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).skylineTips), 1
|
|
24651
|
+
/* TEXT */
|
|
24652
|
+
)]),
|
|
24653
|
+
_: 1
|
|
24654
|
+
/* STABLE */
|
|
24655
|
+
|
|
24656
|
+
})) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse, {
|
|
24657
|
+
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).collapseValue
|
|
24658
|
+
}, {
|
|
24659
|
+
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, {
|
|
24660
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).slopeAnalysisSettings,
|
|
24661
|
+
name: "slope"
|
|
24662
|
+
}, {
|
|
24663
|
+
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, {
|
|
24664
|
+
"label-width": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? '90px' : '120px',
|
|
24665
|
+
"label-position": "left"
|
|
24666
|
+
}, {
|
|
24667
|
+
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_row, {
|
|
24668
|
+
style: {
|
|
24669
|
+
"display": "block"
|
|
24670
|
+
}
|
|
24671
|
+
}, {
|
|
24672
|
+
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, {
|
|
24673
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).fillStyle
|
|
24674
|
+
}, {
|
|
24675
|
+
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_select, {
|
|
24676
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle,
|
|
24677
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle = $event),
|
|
24678
|
+
onChange: _cache[1] || (_cache[1] = $event => paramsChanged('fillStyle'))
|
|
24679
|
+
}, {
|
|
24680
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
24681
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).customColorScheme,
|
|
24682
|
+
value: "tableColor"
|
|
24683
|
+
}, null, 8
|
|
24684
|
+
/* PROPS */
|
|
24685
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
24686
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).gradientTexture,
|
|
24687
|
+
value: "colorImage"
|
|
24688
|
+
}, null, 8
|
|
24689
|
+
/* PROPS */
|
|
24690
|
+
, ["label"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_option, {
|
|
24691
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).slopeFilter,
|
|
24692
|
+
value: "slopeFilter"
|
|
24693
|
+
}, null, 8
|
|
24694
|
+
/* PROPS */
|
|
24695
|
+
, ["label"])]),
|
|
24696
|
+
_: 1
|
|
24697
|
+
/* STABLE */
|
|
24698
|
+
|
|
24699
|
+
}, 8
|
|
24700
|
+
/* PROPS */
|
|
24701
|
+
, ["modelValue"])]),
|
|
24702
|
+
_: 1
|
|
24703
|
+
/* STABLE */
|
|
24704
|
+
|
|
24705
|
+
}, 8
|
|
24706
|
+
/* PROPS */
|
|
24707
|
+
, ["label"])]),
|
|
24708
|
+
_: 1
|
|
24709
|
+
/* STABLE */
|
|
24710
|
+
|
|
24711
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle === 'tableColor' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", SlopeAspectAnalysisvue_type_script_setup_true_lang_js_hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
24712
|
+
style: {
|
|
24713
|
+
"display": "flex"
|
|
24714
|
+
}
|
|
24715
|
+
}, {
|
|
24716
|
+
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_col, {
|
|
24717
|
+
span: 18
|
|
24718
|
+
}, {
|
|
24719
|
+
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).setSlopeRange), 1
|
|
24720
|
+
/* TEXT */
|
|
24721
|
+
)]),
|
|
24722
|
+
_: 1
|
|
24723
|
+
/* STABLE */
|
|
24724
|
+
|
|
24725
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
24726
|
+
span: 6
|
|
24727
|
+
}, {
|
|
24728
|
+
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).setColor), 1
|
|
24729
|
+
/* TEXT */
|
|
24730
|
+
)]),
|
|
24731
|
+
_: 1
|
|
24732
|
+
/* STABLE */
|
|
24733
|
+
|
|
24734
|
+
})]),
|
|
24735
|
+
_: 1
|
|
24736
|
+
/* STABLE */
|
|
24737
|
+
|
|
24738
|
+
}), ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList), (item, index) => {
|
|
24739
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_row, {
|
|
24740
|
+
key: index,
|
|
24741
|
+
style: {
|
|
24742
|
+
"display": "flex",
|
|
24743
|
+
"padding-bottom": "8px"
|
|
24744
|
+
}
|
|
24745
|
+
}, {
|
|
24746
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [index > 0 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, {
|
|
24747
|
+
key: 0
|
|
24748
|
+
}, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
24749
|
+
span: 18
|
|
24750
|
+
}, {
|
|
24751
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [index === 1 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_input_number, {
|
|
24752
|
+
key: 0,
|
|
24753
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList)[index - 1].colorTableDegree,
|
|
24754
|
+
"onUpdate:modelValue": $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList)[index - 1].colorTableDegree = $event,
|
|
24755
|
+
disabled: true,
|
|
24756
|
+
onInput: _cache[2] || (_cache[2] = $event => paramsChanged('colorTableDegree')),
|
|
24757
|
+
"controls-position": "right"
|
|
24758
|
+
}, null, 8
|
|
24759
|
+
/* PROPS */
|
|
24760
|
+
, ["modelValue", "onUpdate:modelValue"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), index > 1 && index < (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList).length ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_input_number, {
|
|
24761
|
+
key: 1,
|
|
24762
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList)[index - 1].colorTableDegree,
|
|
24763
|
+
"onUpdate:modelValue": $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList)[index - 1].colorTableDegree = $event,
|
|
24764
|
+
disabled: true,
|
|
24765
|
+
step: 1,
|
|
24766
|
+
onInput: _cache[3] || (_cache[3] = $event => paramsChanged('colorTableDegree')),
|
|
24767
|
+
"controls-position": "right"
|
|
24768
|
+
}, null, 8
|
|
24769
|
+
/* PROPS */
|
|
24770
|
+
, ["modelValue", "onUpdate:modelValue"])) : (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)("span", SlopeAspectAnalysisvue_type_script_setup_true_lang_js_hoisted_3, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).to), 1
|
|
24771
|
+
/* TEXT */
|
|
24772
|
+
), index > 0 && index < (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList).length - 1 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_input_number, {
|
|
24773
|
+
key: 2,
|
|
24774
|
+
modelValue: item.colorTableDegree,
|
|
24775
|
+
"onUpdate:modelValue": $event => item.colorTableDegree = $event,
|
|
24776
|
+
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList)[index - 1].colorTableDegree,
|
|
24777
|
+
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList)[index + 1].colorTableDegree,
|
|
24778
|
+
step: 1,
|
|
24779
|
+
onInput: _cache[4] || (_cache[4] = $event => paramsChanged('colorTableDegree')),
|
|
24780
|
+
"controls-position": "right"
|
|
24781
|
+
}, null, 8
|
|
24782
|
+
/* PROPS */
|
|
24783
|
+
, ["modelValue", "onUpdate:modelValue", "min", "max"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), index === (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataList).length - 1 ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_input_number, {
|
|
24784
|
+
key: 3,
|
|
24785
|
+
modelValue: item.colorTableDegree,
|
|
24786
|
+
"onUpdate:modelValue": $event => item.colorTableDegree = $event,
|
|
24787
|
+
step: 1,
|
|
24788
|
+
disabled: true,
|
|
24789
|
+
onInput: _cache[5] || (_cache[5] = $event => paramsChanged('colorTableDegree')),
|
|
24790
|
+
"controls-position": "right"
|
|
24791
|
+
}, null, 8
|
|
24792
|
+
/* PROPS */
|
|
24793
|
+
, ["modelValue", "onUpdate:modelValue"])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
|
|
24794
|
+
_: 2
|
|
24795
|
+
/* DYNAMIC */
|
|
24796
|
+
|
|
24797
|
+
}, 1024
|
|
24798
|
+
/* DYNAMIC_SLOTS */
|
|
24799
|
+
), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
24800
|
+
span: 6
|
|
24801
|
+
}, {
|
|
24802
|
+
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_color_picker, {
|
|
24803
|
+
modelValue: item.colorTable,
|
|
24804
|
+
"onUpdate:modelValue": $event => item.colorTable = $event,
|
|
24805
|
+
onChange: _cache[6] || (_cache[6] = $event => paramsChanged('colorTable'))
|
|
24806
|
+
}, null, 8
|
|
24807
|
+
/* PROPS */
|
|
24808
|
+
, ["modelValue", "onUpdate:modelValue"])]),
|
|
24809
|
+
_: 2
|
|
24810
|
+
/* DYNAMIC */
|
|
24811
|
+
|
|
24812
|
+
}, 1024
|
|
24813
|
+
/* DYNAMIC_SLOTS */
|
|
24814
|
+
)], 64
|
|
24815
|
+
/* STABLE_FRAGMENT */
|
|
24816
|
+
)) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
|
|
24817
|
+
_: 2
|
|
24818
|
+
/* DYNAMIC */
|
|
24819
|
+
|
|
24820
|
+
}, 1024
|
|
24821
|
+
/* DYNAMIC_SLOTS */
|
|
24822
|
+
);
|
|
24823
|
+
}), 128
|
|
24824
|
+
/* KEYED_FRAGMENT */
|
|
24825
|
+
))])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle === 'colorImage' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", SlopeAspectAnalysisvue_type_script_setup_true_lang_js_hoisted_4, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
24826
|
+
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, {
|
|
24827
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).gradientColor
|
|
24828
|
+
}, {
|
|
24829
|
+
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_row, {
|
|
24830
|
+
style: {
|
|
24831
|
+
"display": "flex"
|
|
24832
|
+
}
|
|
24833
|
+
}, {
|
|
24834
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [SlopeAspectAnalysisvue_type_script_setup_true_lang_js_hoisted_5, SlopeAspectAnalysisvue_type_script_setup_true_lang_js_hoisted_6, SlopeAspectAnalysisvue_type_script_setup_true_lang_js_hoisted_7]),
|
|
24835
|
+
_: 1
|
|
24836
|
+
/* STABLE */
|
|
24837
|
+
|
|
24838
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio_group, {
|
|
24839
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).colorImage,
|
|
24840
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).colorImage = $event),
|
|
24841
|
+
onChange: _cache[8] || (_cache[8] = $event => paramsChanged('colorImage'))
|
|
24842
|
+
}, {
|
|
24843
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)(colorImages, (item, index) => {
|
|
24844
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_radio, {
|
|
24845
|
+
key: index,
|
|
24846
|
+
label: index
|
|
24847
|
+
}, {
|
|
24848
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("img", {
|
|
24849
|
+
class: "kq3d-slope-aspect-analysis-legend",
|
|
24850
|
+
src: item.src,
|
|
24851
|
+
alt: ""
|
|
24852
|
+
}, null, 8
|
|
24853
|
+
/* PROPS */
|
|
24854
|
+
, SlopeAspectAnalysisvue_type_script_setup_true_lang_js_hoisted_8)]),
|
|
24855
|
+
_: 2
|
|
24856
|
+
/* DYNAMIC */
|
|
24857
|
+
|
|
24858
|
+
}, 1032
|
|
24859
|
+
/* PROPS, DYNAMIC_SLOTS */
|
|
24860
|
+
, ["label"]);
|
|
24861
|
+
}), 64
|
|
24862
|
+
/* STABLE_FRAGMENT */
|
|
24863
|
+
))]),
|
|
24864
|
+
_: 1
|
|
24865
|
+
/* STABLE */
|
|
24866
|
+
|
|
24867
|
+
}, 8
|
|
24868
|
+
/* PROPS */
|
|
24869
|
+
, ["modelValue"])]),
|
|
24870
|
+
_: 1
|
|
24871
|
+
/* STABLE */
|
|
24872
|
+
|
|
24873
|
+
}, 8
|
|
24874
|
+
/* PROPS */
|
|
24875
|
+
, ["label"])]),
|
|
24876
|
+
_: 1
|
|
24877
|
+
/* STABLE */
|
|
24878
|
+
|
|
24879
|
+
})])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).fillStyle === 'slopeFilter' ? ((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)("div", SlopeAspectAnalysisvue_type_script_setup_true_lang_js_hoisted_9, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
24880
|
+
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, {
|
|
24881
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).minSlope
|
|
24882
|
+
}, {
|
|
24883
|
+
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_row, {
|
|
24884
|
+
style: {
|
|
24885
|
+
"display": "flex"
|
|
24886
|
+
}
|
|
24887
|
+
}, {
|
|
24888
|
+
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_col, {
|
|
24889
|
+
span: 16
|
|
24890
|
+
}, {
|
|
24891
|
+
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_slider, {
|
|
24892
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minSlope,
|
|
24893
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minSlope = $event),
|
|
24894
|
+
step: 1,
|
|
24895
|
+
min: 0,
|
|
24896
|
+
max: 90,
|
|
24897
|
+
onInput: _cache[10] || (_cache[10] = $event => paramsChanged('minSlope'))
|
|
24898
|
+
}, null, 8
|
|
24899
|
+
/* PROPS */
|
|
24900
|
+
, ["modelValue"])]),
|
|
24901
|
+
_: 1
|
|
24902
|
+
/* STABLE */
|
|
24903
|
+
|
|
24904
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
24905
|
+
span: 8
|
|
24906
|
+
}, {
|
|
24907
|
+
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_input_number, {
|
|
24908
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minSlope,
|
|
24909
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minSlope = $event),
|
|
24910
|
+
step: 1,
|
|
24911
|
+
min: 0,
|
|
24912
|
+
max: 90,
|
|
24913
|
+
"controls-position": "right",
|
|
24914
|
+
onInput: _cache[12] || (_cache[12] = $event => paramsChanged('minSlope'))
|
|
24915
|
+
}, null, 8
|
|
24916
|
+
/* PROPS */
|
|
24917
|
+
, ["modelValue"])]),
|
|
24918
|
+
_: 1
|
|
24919
|
+
/* STABLE */
|
|
24920
|
+
|
|
24921
|
+
})]),
|
|
24922
|
+
_: 1
|
|
24923
|
+
/* STABLE */
|
|
24924
|
+
|
|
24925
|
+
})]),
|
|
24926
|
+
_: 1
|
|
24927
|
+
/* STABLE */
|
|
24928
|
+
|
|
24929
|
+
}, 8
|
|
24930
|
+
/* PROPS */
|
|
24931
|
+
, ["label"])]),
|
|
24932
|
+
_: 1
|
|
24933
|
+
/* STABLE */
|
|
24934
|
+
|
|
24935
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
24936
|
+
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, {
|
|
24937
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).maxSlope
|
|
24938
|
+
}, {
|
|
24939
|
+
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_row, {
|
|
24940
|
+
style: {
|
|
24941
|
+
"display": "flex"
|
|
24942
|
+
}
|
|
24943
|
+
}, {
|
|
24944
|
+
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_col, {
|
|
24945
|
+
span: 16
|
|
24946
|
+
}, {
|
|
24947
|
+
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_slider, {
|
|
24948
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxSlope,
|
|
24949
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxSlope = $event),
|
|
24950
|
+
step: 1,
|
|
24951
|
+
min: 0,
|
|
24952
|
+
max: 90,
|
|
24953
|
+
onInput: _cache[14] || (_cache[14] = $event => paramsChanged('maxSlope'))
|
|
24954
|
+
}, null, 8
|
|
24955
|
+
/* PROPS */
|
|
24956
|
+
, ["modelValue"])]),
|
|
24957
|
+
_: 1
|
|
24958
|
+
/* STABLE */
|
|
24959
|
+
|
|
24960
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
24961
|
+
span: 8
|
|
24962
|
+
}, {
|
|
24963
|
+
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_input_number, {
|
|
24964
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxSlope,
|
|
24965
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxSlope = $event),
|
|
24966
|
+
step: 1,
|
|
24967
|
+
min: 0,
|
|
24968
|
+
max: 90,
|
|
24969
|
+
"controls-position": "right",
|
|
24970
|
+
onInput: _cache[16] || (_cache[16] = $event => paramsChanged('maxSlope'))
|
|
24971
|
+
}, null, 8
|
|
24972
|
+
/* PROPS */
|
|
24973
|
+
, ["modelValue"])]),
|
|
24974
|
+
_: 1
|
|
24975
|
+
/* STABLE */
|
|
24976
|
+
|
|
24977
|
+
})]),
|
|
24978
|
+
_: 1
|
|
24979
|
+
/* STABLE */
|
|
24980
|
+
|
|
24981
|
+
})]),
|
|
24982
|
+
_: 1
|
|
24983
|
+
/* STABLE */
|
|
24984
|
+
|
|
24985
|
+
}, 8
|
|
24986
|
+
/* PROPS */
|
|
24987
|
+
, ["label"])]),
|
|
24988
|
+
_: 1
|
|
24989
|
+
/* STABLE */
|
|
24990
|
+
|
|
24991
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, null, {
|
|
24992
|
+
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, {
|
|
24993
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).transparents
|
|
24994
|
+
}, {
|
|
24995
|
+
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_row, {
|
|
24996
|
+
style: {
|
|
24997
|
+
"display": "flex"
|
|
24998
|
+
}
|
|
24999
|
+
}, {
|
|
25000
|
+
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_col, {
|
|
25001
|
+
span: 16
|
|
25002
|
+
}, {
|
|
25003
|
+
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_slider, {
|
|
25004
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slopeColorAlpha,
|
|
25005
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slopeColorAlpha = $event),
|
|
25006
|
+
min: 0,
|
|
25007
|
+
max: 1,
|
|
25008
|
+
step: 0.01,
|
|
25009
|
+
onInput: _cache[18] || (_cache[18] = $event => paramsChanged('slopeColorAlpha'))
|
|
25010
|
+
}, null, 8
|
|
25011
|
+
/* PROPS */
|
|
25012
|
+
, ["modelValue", "step"])]),
|
|
25013
|
+
_: 1
|
|
25014
|
+
/* STABLE */
|
|
25015
|
+
|
|
25016
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_col, {
|
|
25017
|
+
span: 8
|
|
25018
|
+
}, {
|
|
25019
|
+
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_input_number, {
|
|
25020
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slopeColorAlpha,
|
|
25021
|
+
"onUpdate:modelValue": _cache[19] || (_cache[19] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slopeColorAlpha = $event),
|
|
25022
|
+
min: 0,
|
|
25023
|
+
max: 1,
|
|
25024
|
+
step: 0.01,
|
|
25025
|
+
"controls-position": "right",
|
|
25026
|
+
onInput: _cache[20] || (_cache[20] = $event => paramsChanged('slopeColorAlpha'))
|
|
25027
|
+
}, null, 8
|
|
25028
|
+
/* PROPS */
|
|
25029
|
+
, ["modelValue", "step"])]),
|
|
25030
|
+
_: 1
|
|
25031
|
+
/* STABLE */
|
|
25032
|
+
|
|
25033
|
+
})]),
|
|
25034
|
+
_: 1
|
|
25035
|
+
/* STABLE */
|
|
25036
|
+
|
|
25037
|
+
})]),
|
|
25038
|
+
_: 1
|
|
25039
|
+
/* STABLE */
|
|
25040
|
+
|
|
25041
|
+
}, 8
|
|
25042
|
+
/* PROPS */
|
|
25043
|
+
, ["label"])]),
|
|
25044
|
+
_: 1
|
|
25045
|
+
/* STABLE */
|
|
25046
|
+
|
|
25047
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_row, {
|
|
25048
|
+
style: {
|
|
25049
|
+
"padding-bottom": "8px"
|
|
25050
|
+
}
|
|
25051
|
+
}, {
|
|
25052
|
+
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, {
|
|
25053
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).color
|
|
25054
|
+
}, {
|
|
25055
|
+
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_color_picker, {
|
|
25056
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slopeColorText,
|
|
25057
|
+
"onUpdate:modelValue": _cache[21] || (_cache[21] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).slopeColorText = $event),
|
|
25058
|
+
onChange: _cache[22] || (_cache[22] = $event => paramsChanged('slopeColorText'))
|
|
25059
|
+
}, null, 8
|
|
25060
|
+
/* PROPS */
|
|
25061
|
+
, ["modelValue"])]),
|
|
25062
|
+
_: 1
|
|
25063
|
+
/* STABLE */
|
|
25064
|
+
|
|
25065
|
+
}, 8
|
|
25066
|
+
/* PROPS */
|
|
25067
|
+
, ["label"])]),
|
|
25068
|
+
_: 1
|
|
25069
|
+
/* STABLE */
|
|
25070
|
+
|
|
25071
|
+
})])) : (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createCommentVNode)("v-if", true)]),
|
|
25072
|
+
_: 1
|
|
25073
|
+
/* STABLE */
|
|
25074
|
+
|
|
25075
|
+
}, 8
|
|
25076
|
+
/* PROPS */
|
|
25077
|
+
, ["label-width"])]),
|
|
25078
|
+
_: 1
|
|
25079
|
+
/* STABLE */
|
|
25080
|
+
|
|
25081
|
+
}, 8
|
|
25082
|
+
/* PROPS */
|
|
25083
|
+
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_collapse_item, {
|
|
25084
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).aspectAnalysisSettings,
|
|
25085
|
+
name: "aspect",
|
|
25086
|
+
class: "kq3d-slope-aspect-analysis-collapse-item"
|
|
23634
25087
|
}, {
|
|
23635
25088
|
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, {
|
|
23636
25089
|
"label-width": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(currentLang) === 'zh' ? '90px' : '120px',
|
|
@@ -23650,11 +25103,11 @@ const AspectAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
23650
25103
|
}, {
|
|
23651
25104
|
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_slider, {
|
|
23652
25105
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).interval,
|
|
23653
|
-
"onUpdate:modelValue": _cache[
|
|
25106
|
+
"onUpdate:modelValue": _cache[23] || (_cache[23] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).interval = $event),
|
|
23654
25107
|
step: 1,
|
|
23655
25108
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minInterval,
|
|
23656
25109
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxInterval,
|
|
23657
|
-
onInput: _cache[
|
|
25110
|
+
onInput: _cache[24] || (_cache[24] = $event => paramsChanged('interval'))
|
|
23658
25111
|
}, null, 8
|
|
23659
25112
|
/* PROPS */
|
|
23660
25113
|
, ["modelValue", "min", "max"])]),
|
|
@@ -23666,12 +25119,12 @@ const AspectAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
23666
25119
|
}, {
|
|
23667
25120
|
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_input_number, {
|
|
23668
25121
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).interval,
|
|
23669
|
-
"onUpdate:modelValue": _cache[
|
|
25122
|
+
"onUpdate:modelValue": _cache[25] || (_cache[25] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).interval = $event),
|
|
23670
25123
|
step: 1,
|
|
23671
25124
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minInterval,
|
|
23672
25125
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxInterval,
|
|
23673
25126
|
"controls-position": "right",
|
|
23674
|
-
onInput: _cache[
|
|
25127
|
+
onInput: _cache[26] || (_cache[26] = $event => paramsChanged('interval'))
|
|
23675
25128
|
}, null, 8
|
|
23676
25129
|
/* PROPS */
|
|
23677
25130
|
, ["modelValue", "min", "max"])]),
|
|
@@ -23706,11 +25159,11 @@ const AspectAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
23706
25159
|
}, {
|
|
23707
25160
|
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_slider, {
|
|
23708
25161
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).arrowWidth,
|
|
23709
|
-
"onUpdate:modelValue": _cache[
|
|
25162
|
+
"onUpdate:modelValue": _cache[27] || (_cache[27] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).arrowWidth = $event),
|
|
23710
25163
|
step: 1,
|
|
23711
25164
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minArrowWidth,
|
|
23712
25165
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxArrowWidth,
|
|
23713
|
-
onInput: _cache[
|
|
25166
|
+
onInput: _cache[28] || (_cache[28] = $event => paramsChanged('arrowWidth'))
|
|
23714
25167
|
}, null, 8
|
|
23715
25168
|
/* PROPS */
|
|
23716
25169
|
, ["modelValue", "min", "max"])]),
|
|
@@ -23722,12 +25175,12 @@ const AspectAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
23722
25175
|
}, {
|
|
23723
25176
|
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_input_number, {
|
|
23724
25177
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).arrowWidth,
|
|
23725
|
-
"onUpdate:modelValue": _cache[
|
|
25178
|
+
"onUpdate:modelValue": _cache[29] || (_cache[29] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).arrowWidth = $event),
|
|
23726
25179
|
step: 1,
|
|
23727
25180
|
min: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).minArrowWidth,
|
|
23728
25181
|
max: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).maxArrowWidth,
|
|
23729
25182
|
"controls-position": "right",
|
|
23730
|
-
onInput: _cache[
|
|
25183
|
+
onInput: _cache[30] || (_cache[30] = $event => paramsChanged('arrowWidth'))
|
|
23731
25184
|
}, null, 8
|
|
23732
25185
|
/* PROPS */
|
|
23733
25186
|
, ["modelValue", "min", "max"])]),
|
|
@@ -23754,8 +25207,8 @@ const AspectAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
23754
25207
|
}, {
|
|
23755
25208
|
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_color_picker, {
|
|
23756
25209
|
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).arrowColor,
|
|
23757
|
-
"onUpdate:modelValue": _cache[
|
|
23758
|
-
onChange: _cache[
|
|
25210
|
+
"onUpdate:modelValue": _cache[31] || (_cache[31] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(formItem).arrowColor = $event),
|
|
25211
|
+
onChange: _cache[32] || (_cache[32] = $event => paramsChanged('arrowColor'))
|
|
23759
25212
|
}, null, 8
|
|
23760
25213
|
/* PROPS */
|
|
23761
25214
|
, ["modelValue"])]),
|
|
@@ -23786,8 +25239,8 @@ const AspectAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
23786
25239
|
|
|
23787
25240
|
}, 8
|
|
23788
25241
|
/* PROPS */
|
|
23789
|
-
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div",
|
|
23790
|
-
onClick: _cache[
|
|
25242
|
+
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementVNode)("div", SlopeAspectAnalysisvue_type_script_setup_true_lang_js_hoisted_10, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
25243
|
+
onClick: _cache[33] || (_cache[33] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
23791
25244
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).startAnalysis,
|
|
23792
25245
|
type: "primary"
|
|
23793
25246
|
}, {
|
|
@@ -23800,7 +25253,7 @@ const AspectAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
23800
25253
|
}, 8
|
|
23801
25254
|
/* PROPS */
|
|
23802
25255
|
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createVNode)(_component_kq_button, {
|
|
23803
|
-
onClick: _cache[
|
|
25256
|
+
onClick: _cache[34] || (_cache[34] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withModifiers)($event => clearResult(), ["stop"])),
|
|
23804
25257
|
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(language).clearResult
|
|
23805
25258
|
}, {
|
|
23806
25259
|
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
|
|
@@ -23818,23 +25271,23 @@ const AspectAnalysisvue_type_script_setup_true_lang_js_default_ = {
|
|
|
23818
25271
|
}
|
|
23819
25272
|
|
|
23820
25273
|
}));
|
|
23821
|
-
;// CONCATENATED MODULE: ./src/webgl/
|
|
25274
|
+
;// CONCATENATED MODULE: ./src/webgl/slopeaspectanalysis/SlopeAspectAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
23822
25275
|
|
|
23823
|
-
;// CONCATENATED MODULE: ./src/webgl/
|
|
25276
|
+
;// CONCATENATED MODULE: ./src/webgl/slopeaspectanalysis/SlopeAspectAnalysis.vue
|
|
23824
25277
|
|
|
23825
25278
|
|
|
23826
25279
|
|
|
23827
|
-
const
|
|
25280
|
+
const SlopeAspectAnalysis_exports_ = SlopeAspectAnalysisvue_type_script_setup_true_lang_js;
|
|
23828
25281
|
|
|
23829
|
-
/* harmony default export */ var
|
|
23830
|
-
;// CONCATENATED MODULE: ./src/webgl/
|
|
25282
|
+
/* harmony default export */ var SlopeAspectAnalysis = (SlopeAspectAnalysis_exports_);
|
|
25283
|
+
;// CONCATENATED MODULE: ./src/webgl/slopeaspectanalysis/index.js
|
|
23831
25284
|
|
|
23832
25285
|
|
|
23833
25286
|
|
|
23834
25287
|
|
|
23835
|
-
|
|
25288
|
+
SlopeAspectAnalysis.install = (Vue, opts) => {
|
|
23836
25289
|
init_js_default()(Vue, opts);
|
|
23837
|
-
Vue.component(
|
|
25290
|
+
Vue.component(SlopeAspectAnalysis.name, SlopeAspectAnalysis);
|
|
23838
25291
|
};
|
|
23839
25292
|
|
|
23840
25293
|
|
|
@@ -26589,7 +28042,6 @@ IsolineAnalysis.install = (Vue, opts) => {
|
|
|
26589
28042
|
|
|
26590
28043
|
;// CONCATENATED MODULE: ./src/webgl/boxclip/BoxClipViewModel.js
|
|
26591
28044
|
|
|
26592
|
-
|
|
26593
28045
|
//Box裁剪逻辑类
|
|
26594
28046
|
|
|
26595
28047
|
class BoxClipViewModel {
|
|
@@ -27698,7 +29150,6 @@ BoxClip.install = (Vue, opts) => {
|
|
|
27698
29150
|
|
|
27699
29151
|
;// CONCATENATED MODULE: ./src/webgl/planeclip/PlaneClipViewModel.js
|
|
27700
29152
|
|
|
27701
|
-
|
|
27702
29153
|
//平面裁剪逻辑类
|
|
27703
29154
|
|
|
27704
29155
|
class PlaneClipViewModel {
|
|
@@ -28465,12 +29916,6 @@ PlaneClip.install = (Vue, opts) => {
|
|
|
28465
29916
|
};
|
|
28466
29917
|
|
|
28467
29918
|
|
|
28468
|
-
;// CONCATENATED MODULE: external "core-js/modules/web.url-search-params.delete.js"
|
|
28469
|
-
var web_url_search_params_delete_js_namespaceObject = require("core-js/modules/web.url-search-params.delete.js");
|
|
28470
|
-
;// CONCATENATED MODULE: external "core-js/modules/web.url-search-params.has.js"
|
|
28471
|
-
var web_url_search_params_has_js_namespaceObject = require("core-js/modules/web.url-search-params.has.js");
|
|
28472
|
-
;// CONCATENATED MODULE: external "core-js/modules/web.url-search-params.size.js"
|
|
28473
|
-
var web_url_search_params_size_js_namespaceObject = require("core-js/modules/web.url-search-params.size.js");
|
|
28474
29919
|
;// CONCATENATED MODULE: external "papaparse"
|
|
28475
29920
|
var external_papaparse_namespaceObject = require("papaparse");
|
|
28476
29921
|
var external_papaparse_default = /*#__PURE__*/__webpack_require__.n(external_papaparse_namespaceObject);
|
|
@@ -28480,10 +29925,6 @@ var external_papaparse_default = /*#__PURE__*/__webpack_require__.n(external_pap
|
|
|
28480
29925
|
|
|
28481
29926
|
|
|
28482
29927
|
|
|
28483
|
-
|
|
28484
|
-
|
|
28485
|
-
|
|
28486
|
-
|
|
28487
29928
|
//添加数据逻辑类
|
|
28488
29929
|
|
|
28489
29930
|
class AddDataViewModel {
|
|
@@ -30608,7 +32049,6 @@ AddData.install = (Vue, opts) => {
|
|
|
30608
32049
|
;// CONCATENATED MODULE: ./src/webgl/particleeffect/ParticleEffectViewModel.js
|
|
30609
32050
|
|
|
30610
32051
|
|
|
30611
|
-
|
|
30612
32052
|
let _gravityScratch = null;
|
|
30613
32053
|
let _gravity = 1.0; //粒子特效逻辑类
|
|
30614
32054
|
|
|
@@ -32557,7 +33997,6 @@ WeatherEffect.install = (Vue, opts) => {
|
|
|
32557
33997
|
|
|
32558
33998
|
;// CONCATENATED MODULE: ./src/webgl/comparemap/CompareMapViewModel.js
|
|
32559
33999
|
|
|
32560
|
-
|
|
32561
34000
|
//多窗口逻辑类
|
|
32562
34001
|
class CompareMapViewModel {
|
|
32563
34002
|
// 三维视图对象
|
|
@@ -32685,6 +34124,7 @@ class CompareMapViewModel {
|
|
|
32685
34124
|
}
|
|
32686
34125
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/comparemap/CompareMapTree.vue?vue&type=script&setup=true&lang=js
|
|
32687
34126
|
|
|
34127
|
+
|
|
32688
34128
|
const CompareMapTreevue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
32689
34129
|
class: "kq3d-compare-map-tree"
|
|
32690
34130
|
};
|
|
@@ -33038,7 +34478,6 @@ CompareMap.install = (Vue, opts) => {
|
|
|
33038
34478
|
|
|
33039
34479
|
;// CONCATENATED MODULE: ./src/webgl/screenshot/ScreenshotViewModel.js
|
|
33040
34480
|
|
|
33041
|
-
|
|
33042
34481
|
//截图逻辑类
|
|
33043
34482
|
class ScreenshotViewModel {
|
|
33044
34483
|
//三维viewer对象
|
|
@@ -33764,7 +35203,6 @@ Hawkeye.install = (Vue, opts) => {
|
|
|
33764
35203
|
|
|
33765
35204
|
;// CONCATENATED MODULE: ./src/webgl/roller/RollerViewModel.js
|
|
33766
35205
|
|
|
33767
|
-
|
|
33768
35206
|
//卷帘逻辑类
|
|
33769
35207
|
class RollerViewModel {
|
|
33770
35208
|
//三维viewer对象
|
|
@@ -34892,9 +36330,6 @@ class VideoProjectViewModel {
|
|
|
34892
36330
|
}
|
|
34893
36331
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/videoproject/VideoProject.vue?vue&type=script&setup=true&lang=js
|
|
34894
36332
|
|
|
34895
|
-
|
|
34896
|
-
|
|
34897
|
-
|
|
34898
36333
|
const VideoProjectvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
34899
36334
|
class: "kq3d-video-project-box"
|
|
34900
36335
|
};
|
|
@@ -36180,9 +37615,6 @@ class VideoFusiontViewModel {
|
|
|
36180
37615
|
}
|
|
36181
37616
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/videofusion/VideoFusion.vue?vue&type=script&setup=true&lang=js
|
|
36182
37617
|
|
|
36183
|
-
|
|
36184
|
-
|
|
36185
|
-
|
|
36186
37618
|
const VideoFusionvue_type_script_setup_true_lang_js_hoisted_1 = {
|
|
36187
37619
|
class: "kq3d-video-fusion-box"
|
|
36188
37620
|
};
|
|
@@ -39347,7 +40779,6 @@ SceneSet.install = (Vue, opts) => {
|
|
|
39347
40779
|
|
|
39348
40780
|
;// CONCATENATED MODULE: ./src/webgl/light/LightViewModel.js
|
|
39349
40781
|
|
|
39350
|
-
|
|
39351
40782
|
//灯光特效逻辑类
|
|
39352
40783
|
class LightViewModel {
|
|
39353
40784
|
//灯光对象
|
|
@@ -40238,7 +41669,6 @@ Light.install = (Vue, opts) => {
|
|
|
40238
41669
|
|
|
40239
41670
|
;// CONCATENATED MODULE: ./src/webgl/geologicalbodyanalysis/GeologicalBodyAnalysisViewModel.js
|
|
40240
41671
|
|
|
40241
|
-
|
|
40242
41672
|
//地质体分析逻辑类
|
|
40243
41673
|
|
|
40244
41674
|
class GeologicalBodyAnalysisViewModel {
|
|
@@ -41015,6 +42445,9 @@ GeologicalBodyAnalysis.install = (Vue, opts) => {
|
|
|
41015
42445
|
|
|
41016
42446
|
|
|
41017
42447
|
|
|
42448
|
+
// 坡度坡向分析
|
|
42449
|
+
|
|
42450
|
+
|
|
41018
42451
|
|
|
41019
42452
|
|
|
41020
42453
|
|
|
@@ -41095,7 +42528,8 @@ const webglComponents = {
|
|
|
41095
42528
|
Kq3dTerrainProfileAnalysis: TerrainProfileAnalysis,
|
|
41096
42529
|
Kq3dScanEffect: ScanEffect,
|
|
41097
42530
|
Kq3dModelExcavate: ModelExcavate,
|
|
41098
|
-
Kq3dModelFlat: ModelFlat
|
|
42531
|
+
Kq3dModelFlat: ModelFlat,
|
|
42532
|
+
Kq3dSlopeAspectAnalysis: SlopeAspectAnalysis
|
|
41099
42533
|
}; // 全局引入
|
|
41100
42534
|
|
|
41101
42535
|
const install = function (Vue, opts = {}) {
|