摘要
该文讨论了一种用COM(组件对象模型 )技术封装OpenGL(开放图形库 )函数的方法。由于COM的优秀特性 ,构造的组件程序可以实现二进制层次的软件重用 ,这为OpenGL在计算机图形仿真方面的应用提供了一种更为先进的思路。程序使用MFC应用程序并利用COM技术成功实现了对OpenGL函数的封装 ,并给出了程序运行效果图。
This paper dicusses how to encapsule the OpenGL(Open Graphics Library) functions with COM(Component Object Model) technology. The component program can be used again at binary system lever just because of the excellent characteristic of COM. It provided a advanced method for the study of computer graphics simulation. With the help of VCMFC, we encapsuled the OpenGL functions successfully and give a output graphics of this program.
出处
《计算机仿真》
CSCD
2003年第6期53-56,59,共5页
Computer Simulation