@kq_npm/client3d_webgl_vue 0.0.1-beta
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 +1503 -0
- package/adddata/style/adddata.css +1 -0
- package/adddata/style/css.js +3 -0
- package/adddata/style/index.js +3 -0
- package/baseterraingallery/index.js +394 -0
- package/baseterraingallery/style/baseterraingallery.css +1 -0
- package/baseterraingallery/style/css.js +3 -0
- package/baseterraingallery/style/index.js +3 -0
- package/boxclip/index.js +1076 -0
- package/boxclip/style/boxclip.css +1 -0
- package/boxclip/style/css.js +3 -0
- package/boxclip/style/index.js +3 -0
- package/comparemap/index.js +466 -0
- package/comparemap/style/comparemap.css +1 -0
- package/comparemap/style/css.js +3 -0
- package/comparemap/style/index.js +3 -0
- package/css.js +3 -0
- package/excavatefillanalysis/index.js +599 -0
- package/excavatefillanalysis/style/css.js +3 -0
- package/excavatefillanalysis/style/excavatefillanalysis.css +1 -0
- package/excavatefillanalysis/style/index.js +3 -0
- package/flight/index.js +963 -0
- package/flight/style/css.js +3 -0
- package/flight/style/flight.css +1 -0
- package/flight/style/index.js +3 -0
- package/floodanalysis/index.js +824 -0
- package/floodanalysis/style/css.js +3 -0
- package/floodanalysis/style/floodanalysis.css +1 -0
- package/floodanalysis/style/index.js +3 -0
- package/gpuspatialquery/index.js +906 -0
- package/gpuspatialquery/style/css.js +3 -0
- package/gpuspatialquery/style/gpuspatialquery.css +1 -0
- package/gpuspatialquery/style/index.js +3 -0
- package/hawkeye/index.js +239 -0
- package/index.js +19807 -0
- package/isolineanalysis/index.js +2476 -0
- package/isolineanalysis/style/css.js +3 -0
- package/isolineanalysis/style/index.js +3 -0
- package/isolineanalysis/style/isolineanalysis.css +1 -0
- package/measure/index.js +560 -0
- package/measure/style/css.js +3 -0
- package/measure/style/index.js +3 -0
- package/measure/style/measure.css +1 -0
- package/modelselect/index.js +375 -0
- package/modelselect/style/css.js +3 -0
- package/modelselect/style/index.js +3 -0
- package/modelselect/style/modelselect.css +1 -0
- package/package.json +1 -0
- package/particleeffect/index.js +1079 -0
- package/particleeffect/style/css.js +3 -0
- package/particleeffect/style/index.js +3 -0
- package/particleeffect/style/particleeffect.css +1 -0
- package/planeclip/index.js +738 -0
- package/planeclip/style/css.js +3 -0
- package/planeclip/style/index.js +3 -0
- package/planeclip/style/planeclip.css +1 -0
- package/profileanalysis/index.js +781 -0
- package/profileanalysis/style/css.js +3 -0
- package/profileanalysis/style/index.js +3 -0
- package/profileanalysis/style/profileanalysis.css +1 -0
- package/roller/index.js +537 -0
- package/roller/style/css.js +3 -0
- package/roller/style/index.js +3 -0
- package/roller/style/roller.css +1 -0
- package/scenceview/index.js +1775 -0
- package/scenceview/style/css.js +3 -0
- package/scenceview/style/index.js +3 -0
- package/scenceview/style/scenceview.css +1 -0
- package/screenshot/index.js +551 -0
- package/screenshot/style/css.js +3 -0
- package/screenshot/style/index.js +3 -0
- package/screenshot/style/screenshot.css +1 -0
- package/shadowanalysis/index.js +1042 -0
- package/shadowanalysis/style/css.js +3 -0
- package/shadowanalysis/style/index.js +3 -0
- package/shadowanalysis/style/shadowanalysis.css +1 -0
- package/sightlineanalysis/index.js +1100 -0
- package/sightlineanalysis/style/css.js +3 -0
- package/sightlineanalysis/style/divpoint.css +1 -0
- package/sightlineanalysis/style/index.js +3 -0
- package/sightlineanalysis/style/sightlineanalysis.css +1 -0
- package/skylineanalysis/index.js +771 -0
- package/skylineanalysis/style/css.js +3 -0
- package/skylineanalysis/style/index.js +3 -0
- package/skylineanalysis/style/skylineanalysis.css +1 -0
- package/slopeanalysis/index.js +1028 -0
- package/slopeanalysis/style/css.js +3 -0
- package/slopeanalysis/style/index.js +3 -0
- package/slopeanalysis/style/slopeanalysis.css +1 -0
- package/style.css +1 -0
- package/style.js +3 -0
- package/terrainoperation/index.js +508 -0
- package/terrainoperation/style/css.js +3 -0
- package/terrainoperation/style/index.js +3 -0
- package/terrainoperation/style/terrainoperation.css +1 -0
- package/viewshedanalysis/index.js +582 -0
- package/viewshedanalysis/style/css.js +3 -0
- package/viewshedanalysis/style/index.js +3 -0
- package/viewshedanalysis/style/viewshedanalysis.css +1 -0
- package/weathereffect/index.js +835 -0
- package/weathereffect/style/css.js +3 -0
- package/weathereffect/style/index.js +3 -0
- package/weathereffect/style/weathereffect.css +1 -0
|
@@ -0,0 +1,781 @@
|
|
|
1
|
+
/******/ (function() { // webpackBootstrap
|
|
2
|
+
/******/ "use strict";
|
|
3
|
+
/******/ // The require scope
|
|
4
|
+
/******/ var __webpack_require__ = {};
|
|
5
|
+
/******/
|
|
6
|
+
/************************************************************************/
|
|
7
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
8
|
+
/******/ !function() {
|
|
9
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
10
|
+
/******/ __webpack_require__.n = function(module) {
|
|
11
|
+
/******/ var getter = module && module.__esModule ?
|
|
12
|
+
/******/ function() { return module['default']; } :
|
|
13
|
+
/******/ function() { return module; };
|
|
14
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
15
|
+
/******/ return getter;
|
|
16
|
+
/******/ };
|
|
17
|
+
/******/ }();
|
|
18
|
+
/******/
|
|
19
|
+
/******/ /* webpack/runtime/define property getters */
|
|
20
|
+
/******/ !function() {
|
|
21
|
+
/******/ // define getter functions for harmony exports
|
|
22
|
+
/******/ __webpack_require__.d = function(exports, definition) {
|
|
23
|
+
/******/ for(var key in definition) {
|
|
24
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
25
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
26
|
+
/******/ }
|
|
27
|
+
/******/ }
|
|
28
|
+
/******/ };
|
|
29
|
+
/******/ }();
|
|
30
|
+
/******/
|
|
31
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
32
|
+
/******/ !function() {
|
|
33
|
+
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
|
34
|
+
/******/ }();
|
|
35
|
+
/******/
|
|
36
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
37
|
+
/******/ !function() {
|
|
38
|
+
/******/ // define __esModule on exports
|
|
39
|
+
/******/ __webpack_require__.r = function(exports) {
|
|
40
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
41
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
42
|
+
/******/ }
|
|
43
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
44
|
+
/******/ };
|
|
45
|
+
/******/ }();
|
|
46
|
+
/******/
|
|
47
|
+
/************************************************************************/
|
|
48
|
+
var __webpack_exports__ = {};
|
|
49
|
+
// ESM COMPAT FLAG
|
|
50
|
+
__webpack_require__.r(__webpack_exports__);
|
|
51
|
+
|
|
52
|
+
// EXPORTS
|
|
53
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
54
|
+
"ProfileAnalysisViewModel": function() { return /* reexport */ ProfileAnalysisViewModel; },
|
|
55
|
+
"default": function() { return /* reexport */ ProfileAnalysis; }
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
;// CONCATENATED MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
|
|
59
|
+
var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject = require("vue");
|
|
60
|
+
;// CONCATENATED MODULE: external "@zpc_npm/vue-iclient-common/_utils/gis-utils"
|
|
61
|
+
var gis_utils_namespaceObject = require("@zpc_npm/vue-iclient-common/_utils/gis-utils");
|
|
62
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
63
|
+
function _defineProperty(obj, key, value) {
|
|
64
|
+
if (key in obj) {
|
|
65
|
+
Object.defineProperty(obj, key, {
|
|
66
|
+
value: value,
|
|
67
|
+
enumerable: true,
|
|
68
|
+
configurable: true,
|
|
69
|
+
writable: true
|
|
70
|
+
});
|
|
71
|
+
} else {
|
|
72
|
+
obj[key] = value;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
return obj;
|
|
76
|
+
}
|
|
77
|
+
;// CONCATENATED MODULE: ./src/webgl/profileanalysis/ProfileAnalysisViewModel.js
|
|
78
|
+
|
|
79
|
+
//分析逻辑类
|
|
80
|
+
let floatingPoint;
|
|
81
|
+
let drawPoints = [];
|
|
82
|
+
let activeShapePoints = [];
|
|
83
|
+
let activeCartographicPoints = [];
|
|
84
|
+
class ProfileAnalysisViewModel {
|
|
85
|
+
constructor(viewer, viewModel, chart) {
|
|
86
|
+
_defineProperty(this, "_profileAnalysis", null);
|
|
87
|
+
|
|
88
|
+
_defineProperty(this, "_ProfileAnalysisChart", null);
|
|
89
|
+
|
|
90
|
+
_defineProperty(this, "_ProfileAnalysisChartVis", null);
|
|
91
|
+
|
|
92
|
+
_defineProperty(this, "_globaOptions", {
|
|
93
|
+
width: 360,
|
|
94
|
+
height: 360
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
this._globaOptions.viewModel = {
|
|
98
|
+
angle: viewModel.perspectiveAngle || 90,
|
|
99
|
+
frustumH: viewModel.targetAreaHeight || 200,
|
|
100
|
+
extendWidth: viewModel.targetAreaWidth || 1,
|
|
101
|
+
isPerspective: viewModel.enablePerspective || true,
|
|
102
|
+
cameraHeight: viewModel.cameraHeight || 0
|
|
103
|
+
};
|
|
104
|
+
this._globaOptions.viewer = viewer;
|
|
105
|
+
this._globaOptions.viewer.scene.postProcessStages._fxaa.enabled = true;
|
|
106
|
+
this._globaOptions.viewer.scene.globe.depthTestAgainstTerrain = true;
|
|
107
|
+
this._ProfileAnalysisChart = chart;
|
|
108
|
+
this._ProfileAnalysisChartVis = chart || {}; // 实例化单线剖面分析对象
|
|
109
|
+
|
|
110
|
+
this._profileAnalysis = new window.Cesium.Kq3dProfileAnalysis({
|
|
111
|
+
viewer: this._globaOptions.viewer,
|
|
112
|
+
width: this._globaOptions.width,
|
|
113
|
+
height: this._globaOptions.height,
|
|
114
|
+
angle: this._globaOptions.viewModel.angle,
|
|
115
|
+
frustumH: this._globaOptions.viewModel.frustumH,
|
|
116
|
+
extendWidth: this._globaOptions.viewModel.extendWidth,
|
|
117
|
+
isPerspective: this._globaOptions.viewModel.isPerspective,
|
|
118
|
+
cameraHeight: this._globaOptions.viewModel.cameraHeight,
|
|
119
|
+
isShowDown: false,
|
|
120
|
+
debugCamera: {
|
|
121
|
+
show: true,
|
|
122
|
+
color: window.Cesium.Color.fromBytes(0, 255, 255, 200)
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
this._globaOptions._handler = new window.Cesium.ScreenSpaceEventHandler(this._globaOptions.viewer.canvas); //创建剖面分析结果显示窗口
|
|
126
|
+
|
|
127
|
+
this._globaOptions.canvas = document.createElement("canvas");
|
|
128
|
+
this._globaOptions.canvas.id = "pro";
|
|
129
|
+
this._globaOptions.ctx = this._globaOptions.canvas.getContext("2d");
|
|
130
|
+
|
|
131
|
+
this._ProfileAnalysisChart.appendChild(this._globaOptions.canvas);
|
|
132
|
+
} //开始分析
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
start() {
|
|
136
|
+
//清空绘制结果
|
|
137
|
+
this.remove();
|
|
138
|
+
let that = this;
|
|
139
|
+
|
|
140
|
+
this._globaOptions._handler.removeInputAction(window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
141
|
+
|
|
142
|
+
this._globaOptions._handler.setInputAction(function (event) {
|
|
143
|
+
var earthPosition = that._globaOptions.viewer.scene.pickPosition(event.position);
|
|
144
|
+
|
|
145
|
+
if (window.Cesium.defined(earthPosition)) {
|
|
146
|
+
//绘制点
|
|
147
|
+
floatingPoint = that.createPoint(earthPosition);
|
|
148
|
+
drawPoints.push(floatingPoint);
|
|
149
|
+
activeShapePoints.push(earthPosition);
|
|
150
|
+
let earthPositionCarto = window.Cesium.Cartographic.fromCartesian(earthPosition);
|
|
151
|
+
activeCartographicPoints.push(earthPositionCarto); //单线分析结果显示
|
|
152
|
+
|
|
153
|
+
if (activeShapePoints.length == 2) {
|
|
154
|
+
var newPositions = [];
|
|
155
|
+
activeShapePoints.forEach(position => {
|
|
156
|
+
var newPosition = window.Cesium.Cartographic.fromCartesian(position);
|
|
157
|
+
newPositions.push(newPosition);
|
|
158
|
+
});
|
|
159
|
+
that._profileAnalysis.elevation = newPositions;
|
|
160
|
+
that.updatePorfileAnalysis();
|
|
161
|
+
drawPoints.forEach(function (point) {
|
|
162
|
+
that._globaOptions.viewer.entities.remove(point);
|
|
163
|
+
});
|
|
164
|
+
drawPoints = [];
|
|
165
|
+
activeShapePoints = [];
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}, window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
169
|
+
} //绘制点
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
createPoint(worldPosition) {
|
|
173
|
+
var point = this._globaOptions.viewer.entities.add({
|
|
174
|
+
position: worldPosition,
|
|
175
|
+
point: {
|
|
176
|
+
color: window.Cesium.Color.YELLOW,
|
|
177
|
+
pixelSize: 5
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
|
|
181
|
+
return point;
|
|
182
|
+
} //更新单线剖面分析结果
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
updatePorfileAnalysis() {
|
|
186
|
+
if (this._profileAnalysis) {
|
|
187
|
+
this._profileAnalysis.frustumH = this._globaOptions.viewModel.frustumH;
|
|
188
|
+
this._profileAnalysis.angle = this._globaOptions.viewModel.angle;
|
|
189
|
+
this._profileAnalysis.extendWidth = this._globaOptions.viewModel.extendWidth;
|
|
190
|
+
this._profileAnalysis.cameraHeight = this._globaOptions.viewModel.cameraHeight;
|
|
191
|
+
this._profileAnalysis.isPerspective = this._globaOptions.viewModel.isPerspective;
|
|
192
|
+
|
|
193
|
+
if (this._globaOptions._handler) {
|
|
194
|
+
let buffer = this._profileAnalysis.updateBuffer();
|
|
195
|
+
|
|
196
|
+
this._ProfileAnalysisChartVis.value = true;
|
|
197
|
+
setTimeout(() => {
|
|
198
|
+
this.getPorfileAnalysisTexture(buffer);
|
|
199
|
+
|
|
200
|
+
this._globaOptions._handler.removeInputAction(window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
201
|
+
}, 500);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
} //获取单线剖面分析纹理
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
getPorfileAnalysisTexture(buffer) {
|
|
208
|
+
if (buffer) {
|
|
209
|
+
this._globaOptions.canvas.height = this._globaOptions.height;
|
|
210
|
+
this._globaOptions.canvas.width = this._globaOptions.width;
|
|
211
|
+
|
|
212
|
+
let imgData = this._globaOptions.ctx.createImageData(this._globaOptions.width, this._globaOptions.height); // flipY
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
var line = this._globaOptions.width * 4;
|
|
216
|
+
|
|
217
|
+
for (let h = 0; h < this._globaOptions.height; h++) {
|
|
218
|
+
for (let w = 0; w < this._globaOptions.width; w++) {
|
|
219
|
+
for (let n = 0; n < 4; n++) {
|
|
220
|
+
imgData.data[(this._globaOptions.height - 1 - h) * line + w * 4 + n] = buffer[h * line + w * 4 + n];
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
this._globaOptions.ctx.putImageData(imgData, 0, 0); //=====================
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
this._globaOptions.ctx.setLineDash([20, 5]);
|
|
229
|
+
|
|
230
|
+
this._globaOptions.ctx.lineWidth = 1;
|
|
231
|
+
this._globaOptions.ctx.strokeStyle = "#ff2";
|
|
232
|
+
let fTop = (1.0 - this._profileAnalysis._frustumH / this._profileAnalysis._maxH) * 360;
|
|
233
|
+
let fLeft = (1.0 - this._profileAnalysis._frustumW / this._profileAnalysis._maxW) / 2 * 360;
|
|
234
|
+
|
|
235
|
+
this._globaOptions.ctx.moveTo(fLeft, 360); // bottom
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
this._globaOptions.ctx.lineTo(fLeft, fTop);
|
|
239
|
+
|
|
240
|
+
this._globaOptions.ctx.lineTo(360 - fLeft, fTop);
|
|
241
|
+
|
|
242
|
+
this._globaOptions.ctx.lineTo(360 - fLeft, 360);
|
|
243
|
+
|
|
244
|
+
this._globaOptions.ctx.stroke(); //=====================
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
let str = String(this._profileAnalysis._frustumW.toPrecision(7));
|
|
248
|
+
let str1 = "Rect width : " + str;
|
|
249
|
+
str = String(this._profileAnalysis._maxW.toPrecision(7));
|
|
250
|
+
let str2 = "Total width : " + str;
|
|
251
|
+
str = String(this._profileAnalysis._frustumH.toPrecision(7));
|
|
252
|
+
let str3 = "Rect height : " + str;
|
|
253
|
+
str = String(this._profileAnalysis._maxH.toPrecision(7));
|
|
254
|
+
let str4 = "Total height : " + str;
|
|
255
|
+
this._globaOptions.ctx.font = "bold 15px Arial";
|
|
256
|
+
this._globaOptions.ctx.textAlign = "left";
|
|
257
|
+
this._globaOptions.ctx.textBaseline = "bottom";
|
|
258
|
+
this._globaOptions.ctx.fillStyle = "#ccc";
|
|
259
|
+
|
|
260
|
+
this._globaOptions.ctx.fillText(str1, 10, 20);
|
|
261
|
+
|
|
262
|
+
this._globaOptions.ctx.fillText(str2, 10, 40);
|
|
263
|
+
|
|
264
|
+
this._globaOptions.ctx.fillText(str3, 10, 60);
|
|
265
|
+
|
|
266
|
+
this._globaOptions.ctx.fillText(str4, 10, 80);
|
|
267
|
+
}
|
|
268
|
+
} // 是否透视
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
setEnablePerspective(val) {
|
|
272
|
+
this._globaOptions.viewModel.isPerspective = val;
|
|
273
|
+
if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
|
|
274
|
+
} // 透视角度
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
setPerspectiveAngle(val) {
|
|
278
|
+
this._globaOptions.viewModel.angle = val;
|
|
279
|
+
if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
|
|
280
|
+
} // 目标区域宽度
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
setTargetAreaWidth(val) {
|
|
284
|
+
this._globaOptions.viewModel.extendWidth = val;
|
|
285
|
+
if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
|
|
286
|
+
} // 目标区域高度
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
setTargetAreaHeight(val) {
|
|
290
|
+
this._globaOptions.viewModel.frustumH = val;
|
|
291
|
+
if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
|
|
292
|
+
} // 相机高度
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
setCameraHeight(val) {
|
|
296
|
+
this._globaOptions.viewModel.cameraHeight = val;
|
|
297
|
+
if (this._ProfileAnalysisChartVis.value) this.updatePorfileAnalysis();
|
|
298
|
+
} // 清理剖面分析
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
remove() {
|
|
302
|
+
this._ProfileAnalysisChartVis.value = false;
|
|
303
|
+
this._profileAnalysis && this._profileAnalysis.clearPrimitives();
|
|
304
|
+
} //清除全部结果
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
clear() {
|
|
308
|
+
this.remove();
|
|
309
|
+
|
|
310
|
+
this._globaOptions._handler.removeInputAction(window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
311
|
+
} // 销毁
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
destroy() {
|
|
315
|
+
this._globaOptions._handler.removeInputAction(window.Cesium.ScreenSpaceEventType.LEFT_CLICK);
|
|
316
|
+
|
|
317
|
+
this._globaOptions._handler = null;
|
|
318
|
+
this._ProfileAnalysisChartVis.value = false;
|
|
319
|
+
this._profileAnalysis && this._profileAnalysis.destroy();
|
|
320
|
+
this._profileAnalysis = null;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
}
|
|
324
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/profileanalysis/ProfileAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
325
|
+
|
|
326
|
+
const _hoisted_1 = {
|
|
327
|
+
class: "kq3d-profile-analysis"
|
|
328
|
+
};
|
|
329
|
+
const _hoisted_2 = {
|
|
330
|
+
class: "kq3d-profile-analysis-footer"
|
|
331
|
+
};
|
|
332
|
+
const _hoisted_3 = {
|
|
333
|
+
class: "kq3d-profile-analysis-result"
|
|
334
|
+
};
|
|
335
|
+
const _hoisted_4 = {
|
|
336
|
+
id: "resultCahrt",
|
|
337
|
+
class: "resultCahrt"
|
|
338
|
+
};
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
const __default__ = {
|
|
343
|
+
name: "Kq3dProfileAnalysis"
|
|
344
|
+
};
|
|
345
|
+
/* harmony default export */ var ProfileAnalysisvue_type_script_setup_true_lang_js = (/*#__PURE__*/Object.assign(__default__, {
|
|
346
|
+
props: {
|
|
347
|
+
// 设置参数
|
|
348
|
+
settingParams: {
|
|
349
|
+
type: Object
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
|
|
353
|
+
setup(__props, {
|
|
354
|
+
expose
|
|
355
|
+
}) {
|
|
356
|
+
const props = __props;
|
|
357
|
+
let language = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)({}); // 设置
|
|
358
|
+
|
|
359
|
+
let collapseValue = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(""); // 分析类
|
|
360
|
+
|
|
361
|
+
let viewModel = null; // chart显示
|
|
362
|
+
|
|
363
|
+
let resultCahrtVis = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.ref)(true); // 获取组件传参
|
|
364
|
+
|
|
365
|
+
let formItem = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.reactive)({
|
|
366
|
+
perspectiveAngle: props.settingParams && props.settingParams.offsetHeight || 90,
|
|
367
|
+
// 透视角度
|
|
368
|
+
targetAreaWidth: props.settingParams && props.settingParams.fovV || 1,
|
|
369
|
+
// 目标区域宽度
|
|
370
|
+
targetAreaHeight: props.settingParams && props.settingParams.fovH || 200,
|
|
371
|
+
// 目标区域高度
|
|
372
|
+
cameraHeight: props.settingParams && props.settingParams.visibleColor || 0,
|
|
373
|
+
// 相机高度
|
|
374
|
+
enablePerspective: props.settingParams && props.settingParams.isLabel !== undefined || true // 是否透视
|
|
375
|
+
|
|
376
|
+
});
|
|
377
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onMounted)(() => {
|
|
378
|
+
gis_utils_namespaceObject.utils.getWebMap(null, scenceView => {
|
|
379
|
+
if (scenceView) {
|
|
380
|
+
language.value = scenceView._language;
|
|
381
|
+
viewModel = new ProfileAnalysisViewModel(scenceView._viewer, formItem, document.getElementById("resultCahrt"));
|
|
382
|
+
viewModel._ProfileAnalysisChartVis = resultCahrtVis;
|
|
383
|
+
resultCahrtVis.value = false;
|
|
384
|
+
}
|
|
385
|
+
});
|
|
386
|
+
}); // 开始分析
|
|
387
|
+
|
|
388
|
+
function startAnalysis() {
|
|
389
|
+
viewModel && viewModel.start();
|
|
390
|
+
} // 清除结果
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
function clearResult() {
|
|
394
|
+
viewModel && viewModel.clear();
|
|
395
|
+
} // 是否透视
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
function onChangeEnablePerspective() {
|
|
399
|
+
viewModel && viewModel.setEnablePerspective(formItem.enablePerspective);
|
|
400
|
+
} // 透视角度
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
function onChangePerspectiveAngle() {
|
|
404
|
+
viewModel && viewModel.setPerspectiveAngle(formItem.perspectiveAngle);
|
|
405
|
+
} // 目标区域宽度
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
function onChangeTargetAreaWidth() {
|
|
409
|
+
viewModel && viewModel.setTargetAreaWidth(formItem.targetAreaWidth);
|
|
410
|
+
} // 目标区域高度
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
function onChangeTargetAreaHeight() {
|
|
414
|
+
viewModel && viewModel.setTargetAreaHeight(formItem.targetAreaHeight);
|
|
415
|
+
} // 相机高度
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
function onChangeCameraHeight() {
|
|
419
|
+
viewModel && viewModel.setCameraHeight(formItem.cameraHeight);
|
|
420
|
+
} // 销毁
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.onBeforeUnmount)(() => {
|
|
424
|
+
viewModel && viewModel.destroy();
|
|
425
|
+
});
|
|
426
|
+
expose({
|
|
427
|
+
clearResult
|
|
428
|
+
});
|
|
429
|
+
return (_ctx, _cache) => {
|
|
430
|
+
const _component_kq_row = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-row");
|
|
431
|
+
|
|
432
|
+
const _component_kq_slider = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-slider");
|
|
433
|
+
|
|
434
|
+
const _component_kq_col = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-col");
|
|
435
|
+
|
|
436
|
+
const _component_kq_input_number = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-input-number");
|
|
437
|
+
|
|
438
|
+
const _component_kq_form_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-form-item");
|
|
439
|
+
|
|
440
|
+
const _component_kq_checkbox = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-checkbox");
|
|
441
|
+
|
|
442
|
+
const _component_kq_form = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-form");
|
|
443
|
+
|
|
444
|
+
const _component_kq_collapse_item = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-collapse-item");
|
|
445
|
+
|
|
446
|
+
const _component_kq_collapse = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-collapse");
|
|
447
|
+
|
|
448
|
+
const _component_kq_button = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.resolveComponent)("kq-button");
|
|
449
|
+
|
|
450
|
+
return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementBlock)("section", _hoisted_1, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, {
|
|
451
|
+
class: "kq3d-profile-analysis-tip"
|
|
452
|
+
}, {
|
|
453
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("p", null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).profileTips), 1
|
|
454
|
+
/* TEXT */
|
|
455
|
+
)]),
|
|
456
|
+
_: 1
|
|
457
|
+
/* STABLE */
|
|
458
|
+
|
|
459
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_collapse, {
|
|
460
|
+
"model-value": (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(collapseValue)
|
|
461
|
+
}, {
|
|
462
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_collapse_item, {
|
|
463
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).analysisSettings,
|
|
464
|
+
name: "setting"
|
|
465
|
+
}, {
|
|
466
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form, {
|
|
467
|
+
"label-width": "135px",
|
|
468
|
+
"label-position": "left"
|
|
469
|
+
}, {
|
|
470
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, null, {
|
|
471
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form_item, {
|
|
472
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).perspectiveAngle
|
|
473
|
+
}, {
|
|
474
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, {
|
|
475
|
+
style: {
|
|
476
|
+
"display": "flex"
|
|
477
|
+
}
|
|
478
|
+
}, {
|
|
479
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, {
|
|
480
|
+
span: 16
|
|
481
|
+
}, {
|
|
482
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_slider, {
|
|
483
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).perspectiveAngle,
|
|
484
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).perspectiveAngle = $event),
|
|
485
|
+
step: 1,
|
|
486
|
+
min: 0,
|
|
487
|
+
max: 90,
|
|
488
|
+
onInput: onChangePerspectiveAngle
|
|
489
|
+
}, null, 8
|
|
490
|
+
/* PROPS */
|
|
491
|
+
, ["modelValue"])]),
|
|
492
|
+
_: 1
|
|
493
|
+
/* STABLE */
|
|
494
|
+
|
|
495
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, {
|
|
496
|
+
span: 8
|
|
497
|
+
}, {
|
|
498
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_input_number, {
|
|
499
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).perspectiveAngle,
|
|
500
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).perspectiveAngle = $event),
|
|
501
|
+
min: 0,
|
|
502
|
+
max: 90,
|
|
503
|
+
step: 1,
|
|
504
|
+
"controls-position": "right"
|
|
505
|
+
}, null, 8
|
|
506
|
+
/* PROPS */
|
|
507
|
+
, ["modelValue"])]),
|
|
508
|
+
_: 1
|
|
509
|
+
/* STABLE */
|
|
510
|
+
|
|
511
|
+
})]),
|
|
512
|
+
_: 1
|
|
513
|
+
/* STABLE */
|
|
514
|
+
|
|
515
|
+
})]),
|
|
516
|
+
_: 1
|
|
517
|
+
/* STABLE */
|
|
518
|
+
|
|
519
|
+
}, 8
|
|
520
|
+
/* PROPS */
|
|
521
|
+
, ["label"])]),
|
|
522
|
+
_: 1
|
|
523
|
+
/* STABLE */
|
|
524
|
+
|
|
525
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, null, {
|
|
526
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form_item, {
|
|
527
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).targetAreaWidth
|
|
528
|
+
}, {
|
|
529
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, {
|
|
530
|
+
style: {
|
|
531
|
+
"display": "flex"
|
|
532
|
+
}
|
|
533
|
+
}, {
|
|
534
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, {
|
|
535
|
+
span: 16
|
|
536
|
+
}, {
|
|
537
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_slider, {
|
|
538
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).targetAreaWidth,
|
|
539
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).targetAreaWidth = $event),
|
|
540
|
+
step: 1,
|
|
541
|
+
min: 0,
|
|
542
|
+
max: 500,
|
|
543
|
+
onInput: onChangeTargetAreaWidth
|
|
544
|
+
}, null, 8
|
|
545
|
+
/* PROPS */
|
|
546
|
+
, ["modelValue"])]),
|
|
547
|
+
_: 1
|
|
548
|
+
/* STABLE */
|
|
549
|
+
|
|
550
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, {
|
|
551
|
+
span: 8
|
|
552
|
+
}, {
|
|
553
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_input_number, {
|
|
554
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).targetAreaWidth,
|
|
555
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).targetAreaWidth = $event),
|
|
556
|
+
min: 0,
|
|
557
|
+
step: 1,
|
|
558
|
+
max: 500,
|
|
559
|
+
"controls-position": "right"
|
|
560
|
+
}, null, 8
|
|
561
|
+
/* PROPS */
|
|
562
|
+
, ["modelValue"])]),
|
|
563
|
+
_: 1
|
|
564
|
+
/* STABLE */
|
|
565
|
+
|
|
566
|
+
})]),
|
|
567
|
+
_: 1
|
|
568
|
+
/* STABLE */
|
|
569
|
+
|
|
570
|
+
})]),
|
|
571
|
+
_: 1
|
|
572
|
+
/* STABLE */
|
|
573
|
+
|
|
574
|
+
}, 8
|
|
575
|
+
/* PROPS */
|
|
576
|
+
, ["label"])]),
|
|
577
|
+
_: 1
|
|
578
|
+
/* STABLE */
|
|
579
|
+
|
|
580
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, null, {
|
|
581
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form_item, {
|
|
582
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).targetAreaHeight
|
|
583
|
+
}, {
|
|
584
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, {
|
|
585
|
+
style: {
|
|
586
|
+
"display": "flex"
|
|
587
|
+
}
|
|
588
|
+
}, {
|
|
589
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, {
|
|
590
|
+
span: 16
|
|
591
|
+
}, {
|
|
592
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_slider, {
|
|
593
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).targetAreaHeight,
|
|
594
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).targetAreaHeight = $event),
|
|
595
|
+
step: 1,
|
|
596
|
+
min: 0,
|
|
597
|
+
max: 500,
|
|
598
|
+
onInput: onChangeTargetAreaHeight
|
|
599
|
+
}, null, 8
|
|
600
|
+
/* PROPS */
|
|
601
|
+
, ["modelValue"])]),
|
|
602
|
+
_: 1
|
|
603
|
+
/* STABLE */
|
|
604
|
+
|
|
605
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, {
|
|
606
|
+
span: 8
|
|
607
|
+
}, {
|
|
608
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_input_number, {
|
|
609
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).targetAreaHeight,
|
|
610
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).targetAreaHeight = $event),
|
|
611
|
+
min: 0,
|
|
612
|
+
step: 1,
|
|
613
|
+
max: 500,
|
|
614
|
+
"controls-position": "right"
|
|
615
|
+
}, null, 8
|
|
616
|
+
/* PROPS */
|
|
617
|
+
, ["modelValue"])]),
|
|
618
|
+
_: 1
|
|
619
|
+
/* STABLE */
|
|
620
|
+
|
|
621
|
+
})]),
|
|
622
|
+
_: 1
|
|
623
|
+
/* STABLE */
|
|
624
|
+
|
|
625
|
+
})]),
|
|
626
|
+
_: 1
|
|
627
|
+
/* STABLE */
|
|
628
|
+
|
|
629
|
+
}, 8
|
|
630
|
+
/* PROPS */
|
|
631
|
+
, ["label"])]),
|
|
632
|
+
_: 1
|
|
633
|
+
/* STABLE */
|
|
634
|
+
|
|
635
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, null, {
|
|
636
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_form_item, {
|
|
637
|
+
label: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).cameraHeight
|
|
638
|
+
}, {
|
|
639
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, {
|
|
640
|
+
style: {
|
|
641
|
+
"display": "flex"
|
|
642
|
+
}
|
|
643
|
+
}, {
|
|
644
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, {
|
|
645
|
+
span: 16
|
|
646
|
+
}, {
|
|
647
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_slider, {
|
|
648
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).cameraHeight,
|
|
649
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).cameraHeight = $event),
|
|
650
|
+
step: 1,
|
|
651
|
+
min: 0,
|
|
652
|
+
max: 500,
|
|
653
|
+
onInput: onChangeCameraHeight
|
|
654
|
+
}, null, 8
|
|
655
|
+
/* PROPS */
|
|
656
|
+
, ["modelValue"])]),
|
|
657
|
+
_: 1
|
|
658
|
+
/* STABLE */
|
|
659
|
+
|
|
660
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_col, {
|
|
661
|
+
span: 8
|
|
662
|
+
}, {
|
|
663
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_input_number, {
|
|
664
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).cameraHeight,
|
|
665
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).cameraHeight = $event),
|
|
666
|
+
min: 0,
|
|
667
|
+
step: 1,
|
|
668
|
+
max: 500,
|
|
669
|
+
"controls-position": "right"
|
|
670
|
+
}, null, 8
|
|
671
|
+
/* PROPS */
|
|
672
|
+
, ["modelValue"])]),
|
|
673
|
+
_: 1
|
|
674
|
+
/* STABLE */
|
|
675
|
+
|
|
676
|
+
})]),
|
|
677
|
+
_: 1
|
|
678
|
+
/* STABLE */
|
|
679
|
+
|
|
680
|
+
})]),
|
|
681
|
+
_: 1
|
|
682
|
+
/* STABLE */
|
|
683
|
+
|
|
684
|
+
}, 8
|
|
685
|
+
/* PROPS */
|
|
686
|
+
, ["label"])]),
|
|
687
|
+
_: 1
|
|
688
|
+
/* STABLE */
|
|
689
|
+
|
|
690
|
+
}), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_row, null, {
|
|
691
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_checkbox, {
|
|
692
|
+
modelValue: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).enablePerspective,
|
|
693
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(formItem).enablePerspective = $event),
|
|
694
|
+
onChange: onChangeEnablePerspective
|
|
695
|
+
}, {
|
|
696
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).enablePerspective), 1
|
|
697
|
+
/* TEXT */
|
|
698
|
+
)]),
|
|
699
|
+
_: 1
|
|
700
|
+
/* STABLE */
|
|
701
|
+
|
|
702
|
+
}, 8
|
|
703
|
+
/* PROPS */
|
|
704
|
+
, ["modelValue"])]),
|
|
705
|
+
_: 1
|
|
706
|
+
/* STABLE */
|
|
707
|
+
|
|
708
|
+
})]),
|
|
709
|
+
_: 1
|
|
710
|
+
/* STABLE */
|
|
711
|
+
|
|
712
|
+
})]),
|
|
713
|
+
_: 1
|
|
714
|
+
/* STABLE */
|
|
715
|
+
|
|
716
|
+
}, 8
|
|
717
|
+
/* PROPS */
|
|
718
|
+
, ["title"])]),
|
|
719
|
+
_: 1
|
|
720
|
+
/* STABLE */
|
|
721
|
+
|
|
722
|
+
}, 8
|
|
723
|
+
/* PROPS */
|
|
724
|
+
, ["model-value"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", _hoisted_2, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_button, {
|
|
725
|
+
onClick: _cache[9] || (_cache[9] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withModifiers)($event => startAnalysis(), ["stop"])),
|
|
726
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).startAnalysis,
|
|
727
|
+
type: "primary"
|
|
728
|
+
}, {
|
|
729
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).startAnalysis), 1
|
|
730
|
+
/* TEXT */
|
|
731
|
+
)]),
|
|
732
|
+
_: 1
|
|
733
|
+
/* STABLE */
|
|
734
|
+
|
|
735
|
+
}, 8
|
|
736
|
+
/* PROPS */
|
|
737
|
+
, ["title"]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createVNode)(_component_kq_button, {
|
|
738
|
+
onClick: _cache[10] || (_cache[10] = (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withModifiers)($event => clearResult(), ["stop"])),
|
|
739
|
+
title: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).clearResult
|
|
740
|
+
}, {
|
|
741
|
+
default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withCtx)(() => [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createTextVNode)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.toDisplayString)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(language).clearResult), 1
|
|
742
|
+
/* TEXT */
|
|
743
|
+
)]),
|
|
744
|
+
_: 1
|
|
745
|
+
/* STABLE */
|
|
746
|
+
|
|
747
|
+
}, 8
|
|
748
|
+
/* PROPS */
|
|
749
|
+
, ["title"])]), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", _hoisted_3, [(0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.withDirectives)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.createElementVNode)("div", _hoisted_4, null, 512
|
|
750
|
+
/* NEED_PATCH */
|
|
751
|
+
), [[external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.vShow, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_namespaceObject.unref)(resultCahrtVis)]])])]);
|
|
752
|
+
};
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
}));
|
|
756
|
+
;// CONCATENATED MODULE: ./src/webgl/profileanalysis/ProfileAnalysis.vue?vue&type=script&setup=true&lang=js
|
|
757
|
+
|
|
758
|
+
;// CONCATENATED MODULE: ./src/webgl/profileanalysis/ProfileAnalysis.vue
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
|
|
762
|
+
const __exports__ = ProfileAnalysisvue_type_script_setup_true_lang_js;
|
|
763
|
+
|
|
764
|
+
/* harmony default export */ var ProfileAnalysis = (__exports__);
|
|
765
|
+
;// CONCATENATED MODULE: external "@zpc_npm/vue-iclient-common/init.js"
|
|
766
|
+
var init_js_namespaceObject = require("@zpc_npm/vue-iclient-common/init.js");
|
|
767
|
+
var init_js_default = /*#__PURE__*/__webpack_require__.n(init_js_namespaceObject);
|
|
768
|
+
;// CONCATENATED MODULE: ./src/webgl/profileanalysis/index.js
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
ProfileAnalysis.install = (Vue, opts) => {
|
|
774
|
+
init_js_default()(Vue, opts);
|
|
775
|
+
Vue.component(ProfileAnalysis.name, ProfileAnalysis);
|
|
776
|
+
};
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
module.exports = __webpack_exports__;
|
|
780
|
+
/******/ })()
|
|
781
|
+
;
|