| | |
| | | name: '地形开挖', |
| | | css: 'twoMenu_imge411', |
| | | }, |
| | | { |
| | | id: "d12", |
| | | label: "synthesis.visibilityAnalysis", |
| | | name: "通视分析", |
| | | css: "twoMenu_imge412", |
| | | }, |
| | | { |
| | | id: "d13", |
| | | label: "synthesis.viewAnalysis", |
| | | name: "视域分析", |
| | | css: "twoMenu_imge413", |
| | | }, |
| | | { |
| | | id: "d14", |
| | | label: "synthesis.circularViewAnalysis", |
| | | name: "圆形视域分析", |
| | | css: "twoMenu_imge414", |
| | | }, |
| | | |
| | | |
| | | ], |
| | | [ |
| | | { |
| | |
| | | label: 'synthesis.synthobj.m2', |
| | | name: '空间距离', |
| | | css: 'twoMenu_imge76', |
| | | }, |
| | | { |
| | | id: "j7", |
| | | label: "synthesis.synthobj.m9", |
| | | name: "高程量测", |
| | | css: "twoMenu_imge77", |
| | | }, |
| | | ], |
| | | [ |
| | |
| | | } |
| | | ); |
| | | break; |
| | | case 'j3': |
| | | // var measure = window.sgworld.Command.execute( |
| | | // 1, |
| | | // 11, |
| | | // this.colorAll, |
| | | // (data) => { |
| | | // data.id = window.sgworld.Core.getuid(); |
| | | // this.measureData.set(data.id, measure); |
| | | // this.openMeasureResultInfo('海拔高度', data); |
| | | // } |
| | | // ); |
| | | var measure = window.sgworld.Command.execute(0, 3, this.colorAll, (data) => { |
| | | data.id = window.sgworld.Core.getuid(); |
| | | this.measureData.set(data.id, measure); |
| | | this.openMeasureResultInfo('平面面积', data); |
| | | // case 'j3': |
| | | |
| | | // var measure = window.sgworld.Command.execute(0, 3, this.colorAll, (data) => { |
| | | // data.id = window.sgworld.Core.getuid(); |
| | | // this.measureData.set(data.id, measure); |
| | | // this.openMeasureResultInfo('平面面积', data); |
| | | |
| | | |
| | | }); |
| | | // }); |
| | | |
| | | break; |
| | | // break; |
| | | case 'j2': |
| | | var measure = window.sgworld.Command.execute( |
| | | 0, |
| | |
| | | } |
| | | ); |
| | | break; |
| | | case "j7": |
| | | var measure = window.sgworld.Command.execute( |
| | | 1, |
| | | 11, |
| | | this.colorAll, |
| | | data => { |
| | | data.id = window.sgworld.Core.getuid() |
| | | this.measureData.set(data.id, measure) |
| | | this.openMeasureResultInfo("海拔高度", data) |
| | | } |
| | | ) |
| | | break |
| | | } |
| | | }, |
| | | openMeasureResultInfo(name, data) { |
| | |
| | | ); |
| | | } |
| | | break; |
| | | |
| | | case "d12": |
| | | if (window.Excavation) { |
| | | window.Excavation.deleteObject() |
| | | window.Excavation = null |
| | | } else { |
| | | window.Excavation = sgworld.Analysis.createSightLine({ |
| | | type: "default", |
| | | }) |
| | | } |
| | | break |
| | | case "d13": |
| | | if (window.Excavation) { |
| | | window.Excavation.destroy() |
| | | window.Excavation = null |
| | | } else { |
| | | window.Excavation = sgworld.Analysis.create3DViewshedPoss({ |
| | | height: 1.8, |
| | | }) |
| | | } |
| | | break |
| | | case "d14": |
| | | if (window.Excavation) { |
| | | window.Excavation.close() |
| | | window.Excavation = null |
| | | } else { |
| | | var SYFX_visible_color = { r: 0.0, g: 1.0, b: 0.0 }, |
| | | SYFX_notVisible_color = { r: 1.0, g: 0.0, b: 0.0 } |
| | | window.Excavation = sgworld.Analysis.create3DViewshed({ |
| | | name: "Viewshed On Frederick", |
| | | height: 1.8, |
| | | color: { |
| | | Back: SYFX_notVisible_color, |
| | | Fore: SYFX_visible_color, |
| | | }, |
| | | isSpherical: "spherical", |
| | | }) |
| | | } |
| | | |
| | | break |
| | | |
| | | |
| | | } |
| | | }, |
| | | setclippingModel() { |
| | |
| | | .menu_Box { |
| | | width: 100%; |
| | | height: 100%; |
| | | |
| | | background: #303030; |
| | | color: white; |
| | | margin: 0; |
| | | padding: 0; |
| | | overflow-y: auto; |
| | |
| | | background: url("../../assets/img/synthesis/矩形 14 拷贝 7.png") no-repeat |
| | | center; |
| | | } |
| | | // 通视分析、视域分析 预留 |
| | | .twoMenu_imge412 { |
| | | background: url("../../assets/img/synthesis/矩形 14 拷贝 7.png") no-repeat |
| | | center; |
| | | } |
| | | .twoMenu_imge413 { |
| | | background: url("../../assets/img/synthesis/矩形 14 拷贝 7.png") no-repeat |
| | | center; |
| | | } |
| | | .twoMenu_imge414 { |
| | | background: url("../../assets/img/synthesis/矩形 14 拷贝 7.png") no-repeat |
| | | center; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | //查询 |
| | | .twoMenu_imge51 { |
| | | background: url("../../assets/img/synthesis/图层 23.png") no-repeat center; |
| | |
| | | .twoMenu_imge76 { |
| | | background: url("../../assets/img/synthesis/空间测距.png") no-repeat center; |
| | | } |
| | | |
| | | // 高层量测图标 |
| | | .twoMenu_imge77 { |
| | | background: url("../../assets/img/synthesis/图层 31 拷贝.png") no-repeat |
| | | center; |
| | | } |
| | | |
| | | |
| | | |
| | | //标绘 |
| | | .twoMenu_imge81 { |
| | | background: url("../../assets/img/synthesis/椭圆 5 拷贝 3.png") no-repeat |
| | |
| | | .twoMenu_imge88 { |
| | | background: url("../../assets/img/synthesis/图层 32.png") no-repeat center; |
| | | } |
| | | |
| | | } |
| | | </style> |