src/client/app/frameworks/apis/services/bime.viewpoint.service.ts
视点操作对象
命名空间: window.BIMe.view.BIMeViewpoint
constructor(footerService: FooterService, sectionClipPicker: SectionClipPicker, rendererService: RendererService, viewerService: ViewerService, isolateService: IsolateService, hideService: HideService, commonService: CommonService, sectionService: SectionService, runtime: RuntimeService, jsonLoad: JsonLoadService, projectViewpointLoaderService: ProjectViewpointLoaderService, resourceService: ResourceService, widgetUtilityService: WidgetUtilityService, commandService: CommandService, bimeModelInfo: BIMeModelInfo, commentService: CommentService)
|
getViewPointBasicInfo |
getViewPointBasicInfo()
|
得到视点相关信息
Returns:
void
|
setViewPointBasicInfo |
setViewPointBasicInfo(obj: any)
|
Returns:
void
|
Public addViewpoint |
addViewpoint(viewId: string, viewpointName: string, viewpointDescription: string, viewpointCategory: string, viewpointPosition: any)
|
添加视点
Parameters :
Returns:
any
|
Public updateViewpoint |
updateViewpoint(viewpointId: string, viewpointName: string, viewpointCategory: string, viewpointDescription: string, viewpointPosition: any)
|
更新视点
Parameters :
Returns:
any
|
Public deleteViewpoint |
deleteViewpoint(viewpointId: string)
|
删除视点
Parameters :
Returns:
any
|
Public setDefaultViewpoint |
setDefaultViewpoint(viewpointId: string)
|
设置默认视点
Parameters :
Returns:
any
成功返回视点的Id |
Public changeViewpoint |
changeViewpoint(viewpointId: string)
|
切换视点
Parameters :
Returns:
any
|
Public getViewpointPosition |
getViewpointPosition()
|
得到视点位置 在添加或修改视点前必须得到视点的位置
Example :
Returns:
any
返回视点位置 |