首页> 中文期刊> 《计算机工程与应用》 >CAX系统中智能Undo/Redo操作的研究

CAX系统中智能Undo/Redo操作的研究

         

摘要

CAX系统中,对于复杂操作和关联操作,现有Undo/Redo机制很难保证Undo/Redo操作语义一致性,避免破坏图形数据,从而导致实现具体的Undo和Redo方法困难、二次开发难度大的问题.分析了CAX复杂操作和关联操作的特点,讨论了Undo操作中事务的原子性和一致性以及触发器机制,提出了基于事务保证操作语义一致性和基于触发器机制降低操作复杂度和关联度的解决策略,描述了具体的执行流程及主要算法.在大型CAD软件开发中实例分析证明了该方法的有效性.%In CAX system, for complex operation and related operation, existing Undo/Redo mechanism is difficult to ensure the Undo/ Redo operation semantic consistency, avoid the destruction of graphic data, thus it leads to realize specific methods of Undo/Redo and further development difficultly. This paper analyzes the characteristics of complex and related operation in CAX systems, discusses the atomicity and consistency of transaction and the reactor mechanism, introduces the transaction-based to ensure the Undo/Redo operation semantic consistency and the reactor mechanism to reduce the relationship and complexity of operations as the resolution method, and describes the concrete implementation process and main algorithms. A case analysis in large-scale CAD software shows the effectiveness of the strategy.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号