91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 1.61MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2022-03-07
  • 語言: C/C++
  • 標簽: opengl??

資源簡介

本程序實現的是繪制一個單位立方體正平行投影圖的程序,可以畫出變換后的圖形。運行環境為vc++6.0.內附有可執行文件和所有源代碼。

資源截圖

代碼片段和文件信息

//?CGframework.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“CGframework.h“

#include?“MainFrm.h“
#include?“CGframeworkDoc.h“
#include?“CGframeworkView.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

CRuntimeClassList?g_RuntimeClassList;

BOOL CGFRegisterController(?CRuntimeClass*?pControllerClass?)
{
//?檢查是否有重復項,有則直接返回
for(?CRuntimeClassList::iterator?it?=?g_RuntimeClassList.begin();?it?!=?g_RuntimeClassList.end();?it++?)
{
if(?strcmp(?pControllerClass->m_lpszClassName?(*it)->m_lpszClassName?)?==?0?)
return?FALSE;
}

g_RuntimeClassList.push_back(?pControllerClass?);
return?TRUE;
}

/////////////////////////////////////////////////////////////////////////////
//?CCGframeworkApp

BEGIN_MESSAGE_MAP(CCGframeworkApp?CWinApp)
//{{AFX_MSG_MAP(CCGframeworkApp)
ON_COMMAND(ID_APP_ABOUT?OnAppAbout)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG_MAP
//?Standard?file?based?document?commands
ON_COMMAND(ID_FILE_NEW?CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN?CWinApp::OnFileOpen)
//?Standard?print?setup?command
ON_COMMAND(ID_FILE_PRINT_SETUP?CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CCGframeworkApp?construction

CCGframeworkApp::CCGframeworkApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CCGframeworkApp?object

CCGframeworkApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CCGframeworkApp?initialization

BOOL?CCGframeworkApp::InitInstance()
{
//?初始化控制器列表
CGFInit();

AfxEnableControlContainer();

//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.

#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif

//?Change?the?registry?key?under?which?our?settings?are?stored.
//?TODO:?You?should?modify?this?string?to?be?something?appropriate
//?such?as?the?name?of?your?company?or?organization.
SetRegistryKey(_T(“Local?AppWizard-Generated?Applications“));

LoadStdProfileSettings();??//?Load?standard?INI?file?options?(including?MRU)

//?Register?the?application‘s?document?templates.??Document?templates
//??serve?as?the?connection?between?documents?frame?windows?and?views.

CSingleDocTemplate*?pDocTemplate;
pDocTemplate?=?new?CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CCGframeworkDoc)

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????44048??2010-05-30?11:20??程序\CGframework.aps

?????文件???????2411??2010-05-30?11:42??程序\CGframework.clw

?????文件???????4768??2006-02-22?17:18??程序\CGframework.cpp

?????文件???????5684??2006-02-22?17:18??程序\CGframework.dsp

?????文件????????545??2006-02-22?17:18??程序\CGframework.dsw

?????文件??????40960??2010-05-30?21:30??程序\CGframework.exe

?????文件???????1649??2006-02-22?17:19??程序\CGframework.h

?????文件?????386048??2010-05-30?21:37??程序\CGframework.ncb

?????文件??????60928??2010-05-30?21:37??程序\CGframework.opt

?????文件????????897??2010-05-30?21:30??程序\CGframework.plg

?????文件??????11267??2010-05-30?11:46??程序\CGframework.rc

?????文件???????1842??2006-02-22?17:25??程序\CGframeworkDoc.cpp

?????文件???????1530??2006-02-22?17:25??程序\CGframeworkDoc.h

?????文件???????5870??2006-02-22?17:25??程序\CGframeworkView.cpp

?????文件???????2470??2006-02-22?17:25??程序\CGframeworkView.h

?????文件???????3345??2006-02-22?17:25??程序\Controllerbase.cpp

?????文件???????2619??2006-02-22?17:25??程序\Controllerbase.h

?????文件???????2257??2006-02-22?17:25??程序\DlgSelectController.cpp

?????文件???????1415??2006-02-22?17:25??程序\DlgSelectController.h

?????文件??????16645??2010-05-30?21:08??程序\Ex4.cpp

?????文件???????2403??2006-02-22?17:26??程序\Ex4.h

?????文件????????242??2006-02-22?17:26??程序\Init.cpp

?????文件???????2553??2006-02-22?17:26??程序\MainFrm.cpp

?????文件???????1581??2006-02-22?17:26??程序\MainFrm.h

?????文件???????4072??2006-02-22?17:26??程序\MyController.cpp

?????文件???????1143??2006-02-22?17:26??程序\MyController.h

?????文件???????4431??2006-02-22?17:26??程序\ReadMe.txt

?????文件??????40960??2010-05-30?21:30??程序\Release\CGframework.exe

?????文件??????19976??2010-05-30?10:48??程序\Release\CGframework.obj

?????文件????5682924??2010-05-30?10:48??程序\Release\CGframework.pch

............此處省略27個文件信息

評論

共有 條評論