摘要
为克服传统Win32程序结构在编写3D计算机图形程序时代码量大,消息映射复杂等缺点,提出了一种简化的MFC框架环境:删除MFC应用程序框架中的文档类与视图类,使用3D设备环境替换视图类,同时保留MFC框架的消息映射机制以及程序的调试性能.经实验和实际应用证明,简化的MFC框架不仅可以应用于3D计算机图形应用程序的开发,而且可以降低代码逻辑的复杂度,提高编码效率.
In order to overcome the shortages of using traditional Win32 programming in developing 3D applications, such as tremendous coding-works, and complicated mechanism of message mapping, an approach of MFC-framework simplifying was proposed in this paper. After document and view classes have been removed, and replaced the view with the instance of 3D device context, capabilities of message-mapping mechanism and debugging are still held by simplified MFC-framework. The experiments and practical applications show that simplified MFC-framework is not only suitable for development 3D computer graphical applications, but also decreases the complexity of coding logic, and improves the efficiency of programming.
出处
《延边大学学报(自然科学版)》
CAS
2009年第4期353-355,373,共4页
Journal of Yanbian University(Natural Science Edition)
基金
延边大学科技发展计划项目(延大科合2009第011号)