@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
|
@@ -135,6 +135,8 @@ var _default = exports.A = /*@__PURE__*/Object.assign(__default__, {
|
|
|
135
135
|
// 地形平整高度最小值
|
|
136
136
|
maxModificationHeight: props?.settingParams?.maxModificationHeight ?? 8000 // 地形平整高度最大值
|
|
137
137
|
});
|
|
138
|
+
|
|
139
|
+
// 地形操作逻辑类
|
|
138
140
|
let viewModel = null;
|
|
139
141
|
|
|
140
142
|
// 组件容器Ref
|
|
@@ -142,6 +144,7 @@ var _default = exports.A = /*@__PURE__*/Object.assign(__default__, {
|
|
|
142
144
|
|
|
143
145
|
// 生成组件默认header
|
|
144
146
|
let headerTemp = (0, _vue.ref)();
|
|
147
|
+
// header组件Ref
|
|
145
148
|
let headerTempRef = (0, _vue.ref)();
|
|
146
149
|
(0, _vue.onMounted)(() => {
|
|
147
150
|
(0, _util.updatePosition)(boxRef.value, props);
|
|
@@ -156,6 +159,7 @@ var _default = exports.A = /*@__PURE__*/Object.assign(__default__, {
|
|
|
156
159
|
});
|
|
157
160
|
_gisUtils.utils.getWebMap(props.mapTarget, scenceView => {
|
|
158
161
|
if (scenceView) {
|
|
162
|
+
// 非同时显示模式时,按operationMode强制设置地形操作类型
|
|
159
163
|
if (props.operationMode !== 0) {
|
|
160
164
|
formItem.terrainStyle = props.operationMode;
|
|
161
165
|
}
|
|
@@ -777,6 +781,12 @@ var _useGlobalConfig = __webpack_require__(22686);
|
|
|
777
781
|
// 国际化
|
|
778
782
|
|
|
779
783
|
class TerrainOperationViewModel {
|
|
784
|
+
// 当前语言对象
|
|
785
|
+
/**
|
|
786
|
+
* @description 地形操作逻辑类构造函数
|
|
787
|
+
* @param {Object} scenceView 三维场景视图对象
|
|
788
|
+
* @param {Object} viewModel 地形操作参数对象
|
|
789
|
+
*/
|
|
780
790
|
constructor(scenceView, viewModel) {
|
|
781
791
|
this._terrainexcavationext = null;
|
|
782
792
|
//地形开挖三维对象
|
|
@@ -807,7 +817,10 @@ class TerrainOperationViewModel {
|
|
|
807
817
|
this._height = viewModel.excavationDepth;
|
|
808
818
|
this._smoothHeight = viewModel.modificationHeight;
|
|
809
819
|
}
|
|
810
|
-
|
|
820
|
+
/**
|
|
821
|
+
* @description 创建地形开挖分析类
|
|
822
|
+
* @param {Function} callback 创建完成回调函数
|
|
823
|
+
*/
|
|
811
824
|
createTerrainExcavation(callback) {
|
|
812
825
|
var that = this;
|
|
813
826
|
this._globaOptions.viewer.terrainProvider.readyPromise.then(function () {
|
|
@@ -820,7 +833,10 @@ class TerrainOperationViewModel {
|
|
|
820
833
|
}, 500);
|
|
821
834
|
});
|
|
822
835
|
}
|
|
823
|
-
|
|
836
|
+
/**
|
|
837
|
+
* @description 创建地形平整分析类
|
|
838
|
+
* @param {Function} callback 创建完成回调函数
|
|
839
|
+
*/
|
|
824
840
|
createTerrainModification(callback) {
|
|
825
841
|
var that = this;
|
|
826
842
|
this._globaOptions.viewer.terrainProvider.readyPromise.then(function () {
|
|
@@ -885,18 +901,24 @@ class TerrainOperationViewModel {
|
|
|
885
901
|
if (shape) {
|
|
886
902
|
that._globaOptions.positions = shape._controlPoints;
|
|
887
903
|
if (that._terrainStyle === 1) {
|
|
904
|
+
// 地形开挖
|
|
888
905
|
that._positions.push(shape._controlPoints);
|
|
889
906
|
if (that._terrainexcavationext) {
|
|
907
|
+
// 已存在开挖对象则直接添加多边形
|
|
890
908
|
that.setTerrainExcavationAddPolygon();
|
|
891
909
|
} else {
|
|
910
|
+
// 不存在则创建后添加多边形
|
|
892
911
|
that.createTerrainExcavation(() => {
|
|
893
912
|
that.setTerrainExcavationAddPolygon();
|
|
894
913
|
});
|
|
895
914
|
}
|
|
896
915
|
} else if (that._terrainStyle === 2) {
|
|
916
|
+
// 地形平整
|
|
897
917
|
if (that._terrainmodification) {
|
|
918
|
+
// 已存在平整对象则更新位置
|
|
898
919
|
that.setTerrainModification();
|
|
899
920
|
} else {
|
|
921
|
+
// 不存在则创建平整对象
|
|
900
922
|
that.createTerrainModification();
|
|
901
923
|
}
|
|
902
924
|
}
|
|
@@ -917,13 +939,19 @@ class TerrainOperationViewModel {
|
|
|
917
939
|
});
|
|
918
940
|
}
|
|
919
941
|
}
|
|
920
|
-
|
|
942
|
+
/**
|
|
943
|
+
* @description 改变分析类型
|
|
944
|
+
* @param {Number} val 地形操作类型(1:地形开挖,2:地形平整)
|
|
945
|
+
*/
|
|
921
946
|
setTerrainStyle(val) {
|
|
922
947
|
this._terrainStyle = val;
|
|
923
948
|
this.clear();
|
|
924
949
|
}
|
|
925
950
|
|
|
926
|
-
|
|
951
|
+
/**
|
|
952
|
+
* @description 设置开挖深度
|
|
953
|
+
* @param {Number} height 开挖深度值
|
|
954
|
+
*/
|
|
927
955
|
setHeight(height) {
|
|
928
956
|
let that = this;
|
|
929
957
|
this._height = height;
|
|
@@ -942,6 +970,10 @@ class TerrainOperationViewModel {
|
|
|
942
970
|
});
|
|
943
971
|
}
|
|
944
972
|
}
|
|
973
|
+
/**
|
|
974
|
+
* @description 设置平整高度
|
|
975
|
+
* @param {Number} height 平整高度值
|
|
976
|
+
*/
|
|
945
977
|
setModificationHeight(height) {
|
|
946
978
|
this._smoothHeight = Number(height);
|
|
947
979
|
if (this._terrainmodification) this._terrainmodification._height = this._smoothHeight;
|
|
@@ -2379,11 +2411,11 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
2379
2411
|
value: true
|
|
2380
2412
|
}));
|
|
2381
2413
|
exports.kq_npm_client_leaflet_vue = exports.kq_npm_client_common_vue = exports.kq_npm_client3d_webgl_vue = void 0;
|
|
2382
|
-
|
|
2414
|
+
const kq_npm_client_common_vue = exports.kq_npm_client_common_vue = window.kq_npm_client_common_vue = window.kq_npm_client_common_vue || {};
|
|
2383
2415
|
__webpack_require__.g.kq_npm_client_common_vue = kq_npm_client_common_vue;
|
|
2384
|
-
|
|
2416
|
+
const kq_npm_client_leaflet_vue = exports.kq_npm_client_leaflet_vue = window.kq_npm_client_leaflet_vue = window.kq_npm_client_leaflet_vue || {};
|
|
2385
2417
|
__webpack_require__.g.kq_npm_client_leaflet_vue = kq_npm_client_leaflet_vue;
|
|
2386
|
-
|
|
2418
|
+
const kq_npm_client3d_webgl_vue = exports.kq_npm_client3d_webgl_vue = window.kq_npm_client3d_webgl_vue = window.kq_npm_client3d_webgl_vue || {};
|
|
2387
2419
|
__webpack_require__.g.kq_npm_client3d_webgl_vue = kq_npm_client3d_webgl_vue;
|
|
2388
2420
|
|
|
2389
2421
|
/***/ })
|
|
@@ -62,6 +62,8 @@ const _hoisted_1 = {
|
|
|
62
62
|
|
|
63
63
|
// 国际化
|
|
64
64
|
|
|
65
|
+
// 地形剖面分析逻辑类
|
|
66
|
+
|
|
65
67
|
const __default__ = {
|
|
66
68
|
name: "Kq3dTerrainProfileAnalysis"
|
|
67
69
|
};
|
|
@@ -121,6 +123,7 @@ var _default = exports.A = /*@__PURE__*/Object.assign(__default__, {
|
|
|
121
123
|
locale
|
|
122
124
|
} = (0, _useGlobalConfig.useLocale)();
|
|
123
125
|
let viewModel = null;
|
|
126
|
+
// 剖面分析容器Ref
|
|
124
127
|
let ref_box = (0, _vue.ref)();
|
|
125
128
|
// 获取组件传参
|
|
126
129
|
const props = __props;
|
|
@@ -129,6 +132,7 @@ var _default = exports.A = /*@__PURE__*/Object.assign(__default__, {
|
|
|
129
132
|
|
|
130
133
|
// 生成组件默认header
|
|
131
134
|
let headerTemp = (0, _vue.ref)();
|
|
135
|
+
// header组件Ref
|
|
132
136
|
let headerTempRef = (0, _vue.ref)();
|
|
133
137
|
let formItem = (0, _vue.reactive)({
|
|
134
138
|
analyseHeight: props?.settingParams?.analyseHeight ?? 1000 // 分析默认高度
|
|
@@ -174,6 +178,7 @@ var _default = exports.A = /*@__PURE__*/Object.assign(__default__, {
|
|
|
174
178
|
//清除结果
|
|
175
179
|
function clearResult() {
|
|
176
180
|
viewModel && viewModel.clear();
|
|
181
|
+
// 开启重现时清除本地存储的剖面分析坐标
|
|
177
182
|
if (props.isReappear) {
|
|
178
183
|
localStorage.removeItem('TerrainProfileAnalysis');
|
|
179
184
|
}
|
|
@@ -331,11 +336,19 @@ var _useGlobalConfig = __webpack_require__(22686);
|
|
|
331
336
|
// 国际化
|
|
332
337
|
|
|
333
338
|
class TerrainProfileAnalysisViewModel {
|
|
339
|
+
// 坐标信息DivPoint
|
|
340
|
+
/**
|
|
341
|
+
* @description 地形剖面分析逻辑类构造函数
|
|
342
|
+
* @param {Object} scenceView 三维场景视图对象
|
|
343
|
+
* @param {Object} options 剖面分析参数对象
|
|
344
|
+
*/
|
|
334
345
|
constructor(scenceView, options) {
|
|
335
346
|
this._viewer = null;
|
|
336
347
|
// 三维viewer对象
|
|
337
348
|
this._terrainSlopeAnalyse = null;
|
|
349
|
+
// 地形坡度分析对象
|
|
338
350
|
this._analyseHeight = 1000;
|
|
351
|
+
// 分析高度
|
|
339
352
|
this._drawManager = null;
|
|
340
353
|
//绘制管理对象
|
|
341
354
|
//分析结束事件
|
|
@@ -343,8 +356,11 @@ class TerrainProfileAnalysisViewModel {
|
|
|
343
356
|
this.maxHeight = null;
|
|
344
357
|
this.distance = null;
|
|
345
358
|
this.divPointArr = [];
|
|
359
|
+
// 信息面板DivPoint集合
|
|
346
360
|
this._language = {};
|
|
361
|
+
// 当前语言对象
|
|
347
362
|
this._isReappear = false;
|
|
363
|
+
// 是否重现
|
|
348
364
|
this.coordDivpoint = null;
|
|
349
365
|
const {
|
|
350
366
|
locale
|
|
@@ -402,16 +418,29 @@ class TerrainProfileAnalysisViewModel {
|
|
|
402
418
|
}
|
|
403
419
|
}, window.Cesium.ScreenSpaceEventType.MOUSE_MOVE);
|
|
404
420
|
if (this._isReappear) {
|
|
421
|
+
// 开启重现时从本地存储读取坐标
|
|
405
422
|
let positions = localStorage.getItem('TerrainProfileAnalysis');
|
|
406
423
|
if (positions) {
|
|
407
424
|
this._terrainSlopeAnalyse.positions = JSON.parse(positions);
|
|
408
425
|
}
|
|
409
426
|
}
|
|
410
427
|
}
|
|
428
|
+
/**
|
|
429
|
+
* @description 切换语言(清除后重新分析)
|
|
430
|
+
* @param {String} val 语言标识
|
|
431
|
+
*/
|
|
411
432
|
changeLanguage(val) {
|
|
412
433
|
this.clear();
|
|
413
434
|
}
|
|
414
|
-
|
|
435
|
+
/**
|
|
436
|
+
* @description 创建当前点坐标信息面板
|
|
437
|
+
* @param {Number} lon 经度
|
|
438
|
+
* @param {Number} lat 纬度
|
|
439
|
+
* @param {Number} height 地形高度
|
|
440
|
+
* @param {Number} maxHeight 最高点高度
|
|
441
|
+
* @param {Number} distance 总距离
|
|
442
|
+
* @param {Object} position 三维坐标位置
|
|
443
|
+
*/
|
|
415
444
|
createInfoDivPoint2(lon, lat, height, maxHeight, distance, position) {
|
|
416
445
|
let html = `<div class="coord">
|
|
417
446
|
<div class="text">
|
|
@@ -437,7 +466,13 @@ class TerrainProfileAnalysisViewModel {
|
|
|
437
466
|
});
|
|
438
467
|
this.divPointArr.push(this.coordDivpoint);
|
|
439
468
|
}
|
|
440
|
-
|
|
469
|
+
/**
|
|
470
|
+
* @description 创建最高最低点信息面板
|
|
471
|
+
* @param {String} name 点名称
|
|
472
|
+
* @param {String} value 点高度值
|
|
473
|
+
* @param {Object} position 三维坐标位置
|
|
474
|
+
* @returns {Object} DivPoint对象
|
|
475
|
+
*/
|
|
441
476
|
createInfoDivPoint(name, value, position) {
|
|
442
477
|
let html = `<div class="height">
|
|
443
478
|
<div class="text">${name}:${value}m</div>
|
|
@@ -454,6 +489,8 @@ class TerrainProfileAnalysisViewModel {
|
|
|
454
489
|
this.divPointArr.push(divPoint);
|
|
455
490
|
return divPoint;
|
|
456
491
|
}
|
|
492
|
+
|
|
493
|
+
// 开始分析
|
|
457
494
|
start() {
|
|
458
495
|
var that = this;
|
|
459
496
|
// 判断是否添加了地形
|
|
@@ -468,6 +505,7 @@ class TerrainProfileAnalysisViewModel {
|
|
|
468
505
|
if (!shape.groupName || shape.groupName !== "TerrainProfileAnalysisDraw") return;
|
|
469
506
|
if (shape) {
|
|
470
507
|
that._terrainSlopeAnalyse.positions = shape._controlPoints;
|
|
508
|
+
// 开启重现时保存坐标到本地存储
|
|
471
509
|
if (that._isReappear) {
|
|
472
510
|
localStorage.setItem("TerrainProfileAnalysis", JSON.stringify(shape._controlPoints));
|
|
473
511
|
}
|
|
@@ -818,11 +856,11 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
818
856
|
value: true
|
|
819
857
|
}));
|
|
820
858
|
exports.kq_npm_client_leaflet_vue = exports.kq_npm_client_common_vue = exports.kq_npm_client3d_webgl_vue = void 0;
|
|
821
|
-
|
|
859
|
+
const kq_npm_client_common_vue = exports.kq_npm_client_common_vue = window.kq_npm_client_common_vue = window.kq_npm_client_common_vue || {};
|
|
822
860
|
__webpack_require__.g.kq_npm_client_common_vue = kq_npm_client_common_vue;
|
|
823
|
-
|
|
861
|
+
const kq_npm_client_leaflet_vue = exports.kq_npm_client_leaflet_vue = window.kq_npm_client_leaflet_vue = window.kq_npm_client_leaflet_vue || {};
|
|
824
862
|
__webpack_require__.g.kq_npm_client_leaflet_vue = kq_npm_client_leaflet_vue;
|
|
825
|
-
|
|
863
|
+
const kq_npm_client3d_webgl_vue = exports.kq_npm_client3d_webgl_vue = window.kq_npm_client3d_webgl_vue = window.kq_npm_client3d_webgl_vue || {};
|
|
826
864
|
__webpack_require__.g.kq_npm_client3d_webgl_vue = kq_npm_client3d_webgl_vue;
|
|
827
865
|
|
|
828
866
|
/***/ })
|