首页 | 本学科首页   官方微博 | 高级检索  
     

油藏GIS图元编辑UNDO/REDO功能的实现
引用本文:王勃,杨柳,彭改萍,王铎,李泳慧. 油藏GIS图元编辑UNDO/REDO功能的实现[J]. 东北测绘, 2012, 0(10): 150-152
作者姓名:王勃  杨柳  彭改萍  王铎  李泳慧
作者单位:中国矿业大学北京地球科学与测绘工程学院,北京100083
摘    要:
应用二次开发组件面向特定领域开发GIS系统,其撤销和重做功能应针对相应需求来定制实现。本文设计了一种存储用户编辑操作结果的栈结构,并针对油藏GIS的实际应用需求进行了优化。在栈数据结构的基础上,本文介绍了用户编辑操作记录接口RecordEdit、撤销操作接口UndoEdit和重做操作接口RedoEdit的程序运行逻辑。最后,作者使用Visual Basic 6.0开发平台结合MapObjects开发组件对UNDO/REDO功能模块进行了实现,并集成到一个油藏开发动态分析图形系统中,得到了实际的应用。

关 键 词:MapObjects  Undo  Redo  油藏GIS

Implementation of UNDO/REDO Function of Oil Reservoir GIS Map Editing
Affiliation:WANG Bo, YANG Liu, PENG Gai - ping, WANG Duo, LI Yong - hui ( School of Geosciences and Surveying Engineering, China University of Mining and Technology, Beijing 100083, China)
Abstract:
To develop GIS system facing specific application field using secondary development component, the UNDO and REDO function of the system should be developed according to the corresponding requirement. This paper designs a stack structure used to store the edition operation result of the users, and optimizes it according practical application requirement of oil reservoir GIS. Based on stack data structure, this paper introduces the program operation logic of RecordEdit which is user edit operation record interface, UndoEdit which is user undo operation interface, and RedoEdit which is user redo operation interface. Finally, the authors implement UNDO and REDO component function using Visual Basic 6.0 combined MapObjects development components, and integrate it into the oil reservoir development dynamic image analysis system, which is a practical application.
Keywords:MapObjects  Undo  Redo  oil reservoir GIS
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号