• 大小: 3.58MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-10-13
  • 语言: 其他
  • 标签:

资源简介

计算机图形学课程资源,实现了机器人的旋转,材质变化,光源变化!

资源截图

代码片段和文件信息

// androidrobot.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “androidrobot.h“

#include “MainFrm.h“
#include “androidrobotDoc.h“
#include “androidrobotView.h“

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

/////////////////////////////////////////////////////////////////////////////
// CAndroidrobotApp

BEGIN_MESSAGE_MAP(CAndroidrobotApp CWinApp)
//{{AFX_MSG_MAP(CAndroidrobotApp)
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()

/////////////////////////////////////////////////////////////////////////////
// CAndroidrobotApp construction

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

/////////////////////////////////////////////////////////////////////////////
// The one and only CAndroidrobotApp object

CAndroidrobotApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CAndroidrobotApp initialization

BOOL CAndroidrobotApp::InitInstance()
{
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(CAndroidrobotDoc)
RUNTIME_CLASS(CMainframe)       // main SDI frame window
RUNTIME_CLASS(CAndroidrobotView));
AddDocTemplate(pDocTemplate);

// Parse command line for standard shell commands DDE file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);

// Dispatch commands specified on the command line
if (!ProcessShellCommand(cmdInfo))
return FALSE;

// The one and only window has been initialized so show an

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      44404  2013-12-20 23:17  androidrobot\androidrobot.aps

     文件       2539  2013-12-21 10:42  androidrobot\androidrobot.clw

     文件       4317  2013-12-20 22:15  androidrobot\androidrobot.cpp

     文件       4682  2013-12-21 00:43  androidrobot\androidrobot.dsp

     文件        532  2013-12-20 22:19  androidrobot\androidrobot.dsw

     文件       1422  2013-12-20 22:15  androidrobot\androidrobot.h

     文件      66560  2013-12-21 10:42  androidrobot\androidrobot.ncb

     文件      49664  2013-12-21 10:42  androidrobot\androidrobot.opt

     文件       1472  2013-12-21 10:13  androidrobot\androidrobot.plg

     文件      12128  2013-12-20 23:17  androidrobot\androidrobot.rc

     文件       1862  2013-12-20 22:15  androidrobot\androidrobotDoc.cpp

     文件       1541  2013-12-20 22:15  androidrobot\androidrobotDoc.h

     文件       9969  2013-12-21 10:13  androidrobot\androidrobotView.cpp

     文件       2538  2013-12-20 23:16  androidrobot\androidrobotView.h

     文件    3826688  2013-12-21 10:13  androidrobot\Debug\androidrobot.bsc

     文件     127046  2013-12-21 10:13  androidrobot\Debug\androidrobot.exe

     文件     529064  2013-12-21 10:13  androidrobot\Debug\androidrobot.ilk

     文件      23835  2013-12-21 00:28  androidrobot\Debug\androidrobot.obj

     文件    6935956  2013-12-21 00:28  androidrobot\Debug\androidrobot.pch

     文件     476160  2013-12-21 10:13  androidrobot\Debug\androidrobot.pdb

     文件       7476  2013-12-20 23:55  androidrobot\Debug\androidrobot.res

     文件          0  2013-12-21 00:28  androidrobot\Debug\androidrobot.sbr

     文件      15011  2013-12-21 00:28  androidrobot\Debug\androidrobotDoc.obj

     文件          0  2013-12-21 00:28  androidrobot\Debug\androidrobotDoc.sbr

     文件      39936  2013-12-21 10:13  androidrobot\Debug\androidrobotView.obj

     文件          0  2013-12-21 10:13  androidrobot\Debug\androidrobotView.sbr

     文件      19914  2013-12-21 00:28  androidrobot\Debug\MainFrm.obj

     文件          0  2013-12-21 00:28  androidrobot\Debug\MainFrm.sbr

     文件     105633  2013-12-21 00:28  androidrobot\Debug\StdAfx.obj

     文件    1376294  2013-12-21 00:28  androidrobot\Debug\StdAfx.sbr

............此处省略18个文件信息

评论

共有 条评论

相关资源