@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
|
@@ -113,7 +113,7 @@ var _default = exports.A = /*@__PURE__*/Object.assign(__default__, {
|
|
|
113
113
|
// 超出高度颜色
|
|
114
114
|
overHeightColorAlpha: props?.settingParams?.overHeightColorAlpha ?? 0.6 // 超出高度颜色透明度
|
|
115
115
|
});
|
|
116
|
-
let viewModel = null;
|
|
116
|
+
let viewModel = null; // 视图模型实例
|
|
117
117
|
|
|
118
118
|
// 组件容器Ref
|
|
119
119
|
let boxRef = (0, _vue.ref)(null);
|
|
@@ -155,7 +155,9 @@ var _default = exports.A = /*@__PURE__*/Object.assign(__default__, {
|
|
|
155
155
|
headerTemp.value = (0, _util.createHeaderTemp)(boxRef.value, (0, _vue.toRefs)(props), headerTempRef, "webgl.limitHeightAnalysis");
|
|
156
156
|
}
|
|
157
157
|
};
|
|
158
|
-
|
|
158
|
+
/** @description 参数切换
|
|
159
|
+
* @param {String} key 变化的字段标识
|
|
160
|
+
*/
|
|
159
161
|
function paramsChanged(key) {
|
|
160
162
|
switch (key) {
|
|
161
163
|
case "baseHeight":
|
|
@@ -380,13 +382,20 @@ var _useGlobalConfig = __webpack_require__(22686);
|
|
|
380
382
|
//限高分析逻辑类
|
|
381
383
|
|
|
382
384
|
class LimitHeightAnalysisViewModel {
|
|
385
|
+
// 当前语言包
|
|
386
|
+
/** @description 构造函数,初始化限高分析视图模型
|
|
387
|
+
* @param {Object} scenceView 场景视图对象
|
|
388
|
+
* @param {Object} options 限高分析参数对象
|
|
389
|
+
*/
|
|
383
390
|
constructor(scenceView, options) {
|
|
384
391
|
this._viewer = null;
|
|
385
392
|
//三维viewer对象
|
|
386
393
|
this._options = {};
|
|
387
394
|
//限高分析存储参数对象
|
|
388
395
|
this._drawManager = null;
|
|
396
|
+
// 绘制管理器实例
|
|
389
397
|
this._limitHeightAnalysis = null;
|
|
398
|
+
// 限高分析对象
|
|
390
399
|
this._language = {};
|
|
391
400
|
const {
|
|
392
401
|
locale
|
|
@@ -396,12 +405,13 @@ class LimitHeightAnalysisViewModel {
|
|
|
396
405
|
this._options = options;
|
|
397
406
|
this._drawManager = scenceView._drawManager;
|
|
398
407
|
this._viewer.scene.globe.depthTestAgainstTerrain = true; //开启深度检测
|
|
399
|
-
this._viewer.scene.postProcessStages._fxaa.enabled = true;
|
|
408
|
+
this._viewer.scene.postProcessStages._fxaa.enabled = true; // 开启抗锯齿
|
|
400
409
|
}
|
|
401
410
|
// 绘制限高分析,显示分析体
|
|
402
411
|
drawPolygon() {
|
|
403
412
|
if (!this._options.positions) return;
|
|
404
413
|
var newPositions = [];
|
|
414
|
+
// 将笛卡尔坐标转换为经纬度数组
|
|
405
415
|
this._options.positions.forEach(item => {
|
|
406
416
|
var newPos = window.Cesium.Cartographic.fromCartesian(item);
|
|
407
417
|
newPositions.push(newPos.longitude);
|
|
@@ -427,11 +437,13 @@ class LimitHeightAnalysisViewModel {
|
|
|
427
437
|
// 判断是否添加了模型
|
|
428
438
|
var flag = false;
|
|
429
439
|
var models = this._viewer.scene.primitives._primitives;
|
|
440
|
+
// 遍历场景图元查找 3D Tileset 模型
|
|
430
441
|
for (let i = 0; i < models.length; i++) {
|
|
431
442
|
if (models[i] instanceof Cesium.Cesium3DTileset && models[i]._url) {
|
|
432
443
|
flag = true;
|
|
433
444
|
}
|
|
434
445
|
}
|
|
446
|
+
// 存在模型时进入多边形绘制流程
|
|
435
447
|
if (flag) {
|
|
436
448
|
this.clear();
|
|
437
449
|
if (this._drawManager) {
|
|
@@ -455,25 +467,33 @@ class LimitHeightAnalysisViewModel {
|
|
|
455
467
|
});
|
|
456
468
|
}
|
|
457
469
|
}
|
|
458
|
-
|
|
470
|
+
/** @description 修改基底高度
|
|
471
|
+
* @param {Number} val 基底高度值
|
|
472
|
+
*/
|
|
459
473
|
changeBaseHeight(val) {
|
|
460
474
|
this._options.baseHeight = val;
|
|
461
475
|
this.clear();
|
|
462
476
|
this.drawPolygon();
|
|
463
477
|
}
|
|
464
|
-
|
|
478
|
+
/** @description 修改限制高度
|
|
479
|
+
* @param {Number} val 限制高度值
|
|
480
|
+
*/
|
|
465
481
|
changeLimitHeight(val) {
|
|
466
482
|
this._options.limitHeight = val;
|
|
467
483
|
this.clear();
|
|
468
484
|
this.drawPolygon();
|
|
469
485
|
}
|
|
470
|
-
|
|
486
|
+
/** @description 修改限制高度颜色
|
|
487
|
+
* @param {String} val 颜色字符串
|
|
488
|
+
*/
|
|
471
489
|
changeLimitHeightColor(val) {
|
|
472
490
|
this._options.limitHeightColor = val;
|
|
473
491
|
this.clear();
|
|
474
492
|
this.drawPolygon();
|
|
475
493
|
}
|
|
476
|
-
|
|
494
|
+
/** @description 修改超出高度颜色
|
|
495
|
+
* @param {String} val 颜色字符串
|
|
496
|
+
*/
|
|
477
497
|
changeOverHeightColor(val) {
|
|
478
498
|
this._options.overHeightColor = val;
|
|
479
499
|
this.clear();
|
|
@@ -612,11 +632,11 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
612
632
|
value: true
|
|
613
633
|
}));
|
|
614
634
|
exports.kq_npm_client_leaflet_vue = exports.kq_npm_client_common_vue = exports.kq_npm_client3d_webgl_vue = void 0;
|
|
615
|
-
|
|
635
|
+
const kq_npm_client_common_vue = exports.kq_npm_client_common_vue = window.kq_npm_client_common_vue = window.kq_npm_client_common_vue || {};
|
|
616
636
|
__webpack_require__.g.kq_npm_client_common_vue = kq_npm_client_common_vue;
|
|
617
|
-
|
|
637
|
+
const kq_npm_client_leaflet_vue = exports.kq_npm_client_leaflet_vue = window.kq_npm_client_leaflet_vue = window.kq_npm_client_leaflet_vue || {};
|
|
618
638
|
__webpack_require__.g.kq_npm_client_leaflet_vue = kq_npm_client_leaflet_vue;
|
|
619
|
-
|
|
639
|
+
const kq_npm_client3d_webgl_vue = exports.kq_npm_client3d_webgl_vue = window.kq_npm_client3d_webgl_vue = window.kq_npm_client3d_webgl_vue || {};
|
|
620
640
|
__webpack_require__.g.kq_npm_client3d_webgl_vue = kq_npm_client3d_webgl_vue;
|
|
621
641
|
|
|
622
642
|
/***/ })
|