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

OpenGL图形库面向对象的改造
引用本文:蔡强,宫法明.OpenGL图形库面向对象的改造[J].北京工商大学学报(自然科学版),2004,22(2):42-46.
作者姓名:蔡强  宫法明
作者单位:1. 北京工商大学,机械自动化学院,北京,100037
2. 石油大学(华东)计算机与通信工程学院,山东,东营,257062
摘    要:MFC的视图没有提供直接的OpenGL操作支持.在分析OpenGL特点的基础上,提出一套方法,将OpenGL的各种功能进行适当改造后封装到视图的派生类中,使OpenGL支持面向对象编程,而支持MFC调用,易于开发出功能强大的真实感显示图形平台.此方法可供图形编程人员借鉴.

关 键 词:OpenGL  面向对象编程  MFC
文章编号:1671-1513(2004)02-0042-05
修稿时间:2003年11月14日

OBJECT ORIENTED MODIFICATIONS OF OPENGL GRAPHICS LIBRARY
CAI Qiang,GONG Fa-ming.OBJECT ORIENTED MODIFICATIONS OF OPENGL GRAPHICS LIBRARY[J].Journal of Beijing Technology and Business University:Natural Science Edition,2004,22(2):42-46.
Authors:CAI Qiang  GONG Fa-ming
Institution:CAI Qiang~1,GONG Fa-ming~2
Abstract:The CView class of MFC (Microsoft Foundation Class) did not directly support OpenGL operation. On the basis of analyzing the characteristics of OpenGL software package, a series of technique to reform OpenGL were described in detail. As a result, various functions of OpenGL have been encapsulated to the derived class of CView. Then OpenGL was able to support OOP(Object Oriented Programming), and that supporting MFC. Then realistic display graphics platforms with high performance could be easily developed. Methods in the article may be used for reference to graphics programmers.
Keywords:OpenGL  object oriented programming  MFC
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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