摘要
利用C++语言的面向对象特性对OpenGL功能进行了封装,使其能够方便地与VisualC++的MFC相结合;采用了面向对象的技术进行了程序设计;与传统的OpenGL与VisualC++相结合的方法比较,新的封装技术保持了部分功能的独立性,有利于软件的维护和二次开发。
This paper presents a new method to package the OpenGL functions with the Object-orientation of C++ language. Compared with the traditional method of applying OpenGL in Viusal c++, the new method has the advantage of keeping the OpenGL functions independent and reusable, which is beneficial to the maintenance and development of software.
出处
《舰船电子工程》
2005年第3期76-79,共4页
Ship Electronic Engineering
关键词
OPENGL
MFC
面向对象
视图类
OpenGL ,MFC ,Object-orientation ,class of view and graphics