需要金幣:![]() ![]() |
資料包括:完整論文 | ![]() |
![]() |
轉(zhuǎn)換比率:金額 X 10=金幣數(shù)量, 例100元=1000金幣 | 論文字?jǐn)?shù):12840 | ![]() | |
折扣與優(yōu)惠:團(tuán)購最低可5折優(yōu)惠 - 了解詳情 | 論文格式:Word格式(*.doc) | ![]() |
摘要:針對開發(fā)基于ATL技術(shù)的OpenGL三維圖形控件,以及基于OpenGL 的ActiveX 控件的問題,在介紹OpenGL 程序設(shè)計(jì)流程及ActiveX 控件技術(shù)的基礎(chǔ)上,歸納了采用MFC 開發(fā)ActiveX 控件的一般性方法和步驟,并通過實(shí)例說明了該方法的使用。概述了ActiveX 控件和ATL 技術(shù),簡介了VC++6.0中如何用ATL技術(shù)創(chuàng)建ActiveX 控件。概要地講述了該工具的研發(fā)意義和功能要求以及開發(fā)COM控件所涉及到的基本技術(shù),包括圖形學(xué)理論、MFC技術(shù)、基于ATL的COM組件開發(fā)技術(shù)、OpenGL技術(shù)、樹形結(jié)構(gòu)的基本運(yùn)算等技術(shù)。 重點(diǎn)介紹了COM組件類層次結(jié)構(gòu),并說明其中的關(guān)鍵類,對基類CObj3D以及其部分子類做了重要描述,且介紹了部分類的成員函數(shù)的實(shí)現(xiàn)方法。 關(guān)鍵詞: OpenGL ATL COM控件
Abstract:To develop a 3D graph control based on ATL technique and ActiveX control based on OpenGL , in this article , we introduce the procedures of the design of OpenGL and the technique of ActiveX , on the basis of which we summarize the general method and procedure to develop ActiveX control with MFC, and furthermore use an example to describe how to use this method.This article first briefly introduces ActiveX control and ATL Technique and how to create ActiveX controls with the technique of ATL. Then we illustrate the significance of research about this tool, the function requirements and some essential technologies used while developing the COM controls, such as theory of computer graphics, technique of MFC, method of COM component developing, technique of OpenGL and theory of basic operations of tree structures. We discuss the structure of COM component classes in detail , and highlight those key classes.Detailed descriptions of the base class CObject 3D and part of its sub-classes are made in this article and implementations of some member functions are also introduced. Key words:OpenGL ATL COM Control
OpenGL是常用的三維圖形庫之一,其三維場景設(shè)計(jì)、圖元繪制及管理是基于API模式,在實(shí)際編程應(yīng)用中非常不便。本課題的目標(biāo)是運(yùn)用VC集成開發(fā)環(huán)境中ATL技術(shù)以類的方式來對API函數(shù)來進(jìn)行封裝,編譯成輕量型第三方COM組件庫,可以在其他開發(fā)集成環(huán)境中進(jìn)行使用,使開發(fā)效率大為提高。在三維圖元管理方面要求采用樹形數(shù)據(jù)結(jié)構(gòu)來進(jìn)行管理。該課題具有一定的難度,要求掌握ATL接口設(shè)計(jì)方法,OpenGL API語句及二叉樹數(shù)據(jù)結(jié)構(gòu)的操作。
|