@kq_npm/client3d_webgl_vue 4.5.55 → 4.5.57
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 +189 -21
- package/airspacegridoccupancyquery/index.js +1977 -0
- package/airspacegridoccupancyquery/style/airspacegridoccupancyquery.css +1 -0
- package/airspacegridoccupancyquery/style/index.js +3 -0
- package/airspaceprofileanalysis/index.js +1870 -0
- package/airspaceprofileanalysis/style/airspaceprofileanalysis.css +1 -0
- package/airspaceprofileanalysis/style/index.js +3 -0
- package/aspectanalysis/index.js +25 -7
- package/baseterraingallery/index.js +16 -4
- package/boxclip/index.js +58 -16
- package/buildpointmodel/index.js +3207 -230
- package/buildpointmodel/style/buildpointmodel.css +1 -1
- package/buildpolygonmodel/index.js +205 -81
- package/buildpolylinemodel/index.js +346 -70
- package/clientPrint/index.js +32440 -2337
- package/comparemap/index.js +132 -60
- package/compass/index.js +16 -6
- package/excavatefillanalysis/index.js +51 -7
- package/fixedzoomin/index.js +24 -7
- package/fixedzoomout/index.js +25 -7
- package/flight/index.js +113 -26
- package/floodanalysis/index.js +79 -14
- package/geologicalbodyanalysis/index.js +41 -5
- package/gpuspatialquery/index.js +127 -19
- package/gridoccupancyquery/index.js +627 -0
- package/gridoccupancyquery/style/gridoccupancyquery.css +1 -0
- package/gridoccupancyquery/style/index.js +3 -0
- package/hawkeye/index.js +20 -2
- package/headertemp/index.js +7 -2
- package/heatmap3d/index.js +282 -158
- package/index.js +32440 -2337
- package/isolineanalysis/index.js +113 -38
- package/light/index.js +80 -22
- package/limitheightanalysis/index.js +30 -10
- package/lowaltitudefeature/index.js +5027 -0
- package/lowaltitudefeature/style/index.js +3 -0
- package/lowaltitudefeature/style/lowaltitudefeature.css +1 -0
- package/measure/index.js +60 -19
- package/modelFlat/index.js +48 -8
- package/modeledit/index.js +38 -4
- package/modelexcavate/index.js +48 -7
- package/modelfilter/index.js +51 -8
- package/modelmaterialedit/index.js +127 -25
- package/modelprofileanalysis/index.js +51 -14
- package/modelselect/index.js +34 -3
- package/modelstyleedit/index.js +39 -3
- package/modeltransform/index.js +79 -14
- package/package.json +1 -1
- package/particleeffect/index.js +83 -17
- package/planeclip/index.js +66 -17
- package/pointcloudrender/index.js +134 -15
- package/radarscananalysis/index.js +35 -3
- package/resetview/index.js +14 -6
- package/roller/index.js +55 -18
- package/scaneffect/index.js +98 -29
- package/sceneadvancedtoimage/index.js +32 -6
- package/sceneapp/index.js +32440 -2337
- package/sceneset/index.js +141 -71
- package/scenetohdimage/index.js +23 -3
- package/sceneview/index.js +32440 -2337
- package/sceneview/style/sceneview.css +1 -1
- package/screenshot/index.js +44 -11
- package/shadowanalysis/index.js +79 -19
- package/sightlineanalysis/index.js +66 -15
- package/skylineanalysis/index.js +20 -4
- package/slopeanalysis/index.js +75 -16
- package/slopeaspectanalysis/index.js +128 -26
- package/statusbar/index.js +80 -67
- package/style.css +1 -1
- package/terrainoperation/index.js +39 -7
- package/terrainprofileanalysis/index.js +43 -5
- package/toolbarapp/index.js +32440 -2337
- package/toolboxapp/index.js +32440 -2337
- package/typhoontrac/index.js +134 -16
- package/underground/index.js +8 -2
- package/videofusion/index.js +164 -79
- package/videoproject/index.js +77 -23
- package/viewshedanalysis/index.js +61 -14
- package/weathereffect/index.js +73 -18
- package/webgl.es.js +866 -16
- package/windyslicing/index.js +258 -54
- package/wireframesketch/index.js +25 -8
package/wireframesketch/index.js
CHANGED
|
@@ -66,6 +66,10 @@ var _message = _interopRequireDefault(__webpack_require__(71323));
|
|
|
66
66
|
|
|
67
67
|
class WireframeSketchViewModel {
|
|
68
68
|
// 草图模式显示
|
|
69
|
+
/**
|
|
70
|
+
* @description 构造函数,初始化线框模式管理对象
|
|
71
|
+
* @param {Object} scenceView 场景视图对象,包含 _viewer 属性
|
|
72
|
+
*/
|
|
69
73
|
constructor(scenceView) {
|
|
70
74
|
this._viewer = null;
|
|
71
75
|
// 三维viewer对象
|
|
@@ -77,9 +81,15 @@ class WireframeSketchViewModel {
|
|
|
77
81
|
viewer: this._viewer
|
|
78
82
|
}); //声明线框模式类
|
|
79
83
|
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @description 根据渲染模式切换线框/草图/纹理显示
|
|
87
|
+
* @param {String} key 渲染模式标识:1-线框渲染,2-草图渲染,3-纹理渲染
|
|
88
|
+
*/
|
|
80
89
|
changeFrameRender(key) {
|
|
81
90
|
switch (key) {
|
|
82
91
|
case "1":
|
|
92
|
+
// 线框渲染模式:设置线框类型并移除已有的草图效果
|
|
83
93
|
this._wireFrame.type = 1;
|
|
84
94
|
if (this._sketch) {
|
|
85
95
|
this._viewer.effects.remove(this._sketch);
|
|
@@ -87,6 +97,7 @@ class WireframeSketchViewModel {
|
|
|
87
97
|
}
|
|
88
98
|
break;
|
|
89
99
|
case "2":
|
|
100
|
+
// 草图渲染模式:关闭线框并创建草图效果
|
|
90
101
|
this._wireFrame.type = 0;
|
|
91
102
|
if (!this._sketch) {
|
|
92
103
|
this._sketch = new window.Cesium.Kq3dSketch({
|
|
@@ -96,6 +107,7 @@ class WireframeSketchViewModel {
|
|
|
96
107
|
}
|
|
97
108
|
break;
|
|
98
109
|
case "3":
|
|
110
|
+
// 纹理渲染模式:关闭线框并移除已有的草图效果
|
|
99
111
|
this._wireFrame.type = 0;
|
|
100
112
|
if (this._sketch) {
|
|
101
113
|
this._viewer.effects.remove(this._sketch); // 移除草图模式
|
|
@@ -243,9 +255,9 @@ var _default = exports.A = /*@__PURE__*/Object.assign(__default__, {
|
|
|
243
255
|
lang,
|
|
244
256
|
locale
|
|
245
257
|
} = (0, _useGlobalConfig.useLocale)();
|
|
246
|
-
let viewModel = null;
|
|
247
|
-
let ref_box = (0, _vue.ref)();
|
|
248
|
-
let checkbox_data = (0, _vue.ref)(["2"]);
|
|
258
|
+
let viewModel = null; // 视图模型对象
|
|
259
|
+
let ref_box = (0, _vue.ref)(); // 内容容器Ref
|
|
260
|
+
let checkbox_data = (0, _vue.ref)(["2"]); // 当前选中的渲染模式复选框值
|
|
249
261
|
|
|
250
262
|
// 获取组件传参
|
|
251
263
|
const props = __props;
|
|
@@ -253,8 +265,9 @@ var _default = exports.A = /*@__PURE__*/Object.assign(__default__, {
|
|
|
253
265
|
let boxRef = (0, _vue.ref)(null);
|
|
254
266
|
|
|
255
267
|
// 生成组件默认header
|
|
256
|
-
let headerTemp = (0, _vue.ref)();
|
|
257
|
-
let headerTempRef = (0, _vue.ref)();
|
|
268
|
+
let headerTemp = (0, _vue.ref)(); // 动态生成的Header组件
|
|
269
|
+
let headerTempRef = (0, _vue.ref)(); // Header组件Ref
|
|
270
|
+
|
|
258
271
|
(0, _vue.onMounted)(() => {
|
|
259
272
|
(0, _util.updatePosition)(boxRef.value, props);
|
|
260
273
|
(0, _vue.watch)(() => props.position, (newVal, oldVal) => {
|
|
@@ -284,6 +297,10 @@ var _default = exports.A = /*@__PURE__*/Object.assign(__default__, {
|
|
|
284
297
|
headerTemp.value = (0, _util.createHeaderTemp)(boxRef.value, (0, _vue.toRefs)(props), headerTempRef, 'webgl.wireFrameSketch');
|
|
285
298
|
}
|
|
286
299
|
};
|
|
300
|
+
/**
|
|
301
|
+
* @description 切换渲染模式
|
|
302
|
+
* @param {String} val 渲染模式标识:1-线框渲染,2-草图渲染,3-纹理渲染
|
|
303
|
+
*/
|
|
287
304
|
function onChangeFrameRender(val) {
|
|
288
305
|
checkbox_data.value = [];
|
|
289
306
|
checkbox_data.value.push(val);
|
|
@@ -410,11 +427,11 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
410
427
|
value: true
|
|
411
428
|
}));
|
|
412
429
|
exports.kq_npm_client_leaflet_vue = exports.kq_npm_client_common_vue = exports.kq_npm_client3d_webgl_vue = void 0;
|
|
413
|
-
|
|
430
|
+
const kq_npm_client_common_vue = exports.kq_npm_client_common_vue = window.kq_npm_client_common_vue = window.kq_npm_client_common_vue || {};
|
|
414
431
|
__webpack_require__.g.kq_npm_client_common_vue = kq_npm_client_common_vue;
|
|
415
|
-
|
|
432
|
+
const kq_npm_client_leaflet_vue = exports.kq_npm_client_leaflet_vue = window.kq_npm_client_leaflet_vue = window.kq_npm_client_leaflet_vue || {};
|
|
416
433
|
__webpack_require__.g.kq_npm_client_leaflet_vue = kq_npm_client_leaflet_vue;
|
|
417
|
-
|
|
434
|
+
const kq_npm_client3d_webgl_vue = exports.kq_npm_client3d_webgl_vue = window.kq_npm_client3d_webgl_vue = window.kq_npm_client3d_webgl_vue || {};
|
|
418
435
|
__webpack_require__.g.kq_npm_client3d_webgl_vue = kq_npm_client3d_webgl_vue;
|
|
419
436
|
|
|
420
437
|
/***/ })
|