资源简介
计算机图形学代码,五角星与五边形的转换,直线扫描的dda算法,中点画线

代码片段和文件信息
// 325.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “325.h“
#include “MainFrm.h“
#include “325Doc.h“
#include “325View.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMy325App
BEGIN_MESSAGE_MAP(CMy325App CWinApp)
//{{AFX_MSG_MAP(CMy325App)
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()
/////////////////////////////////////////////////////////////////////////////
// CMy325App construction
CMy325App::CMy325App()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CMy325App object
CMy325App theApp;
/////////////////////////////////////////////////////////////////////////////
// CMy325App initialization
BOOL CMy325App::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(CMy325Doc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(CMy325View));
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 and update it.
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();
return TRUE;
}
/////////////////
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 30720 2017-10-02 22:31 325\325.aps
文件 4042 2017-10-02 22:34 325\325.clw
文件 4183 2017-03-25 15:39 325\325.cpp
文件 5085 2017-04-30 20:53 325\325.dsp
文件 514 2017-03-25 15:39 325\325.dsw
文件 1333 2017-03-25 15:39 325\325.h
文件 140288 2017-10-02 22:34 325\325.ncb
文件 269824 2017-10-02 22:34 325\325.opt
文件 1178 2017-05-20 13:47 325\325.plg
文件 14353 2017-05-20 13:38 325\325.rc
文件 1716 2017-03-25 15:39 325\325Doc.cpp
文件 1456 2017-03-25 15:39 325\325Doc.h
文件 6716 2017-05-20 13:47 325\325View.cpp
文件 1990 2017-04-11 21:14 325\325View.h
文件 502 2017-04-30 20:29 325\AET.cpp
文件 522 2017-04-30 20:33 325\AET.h
文件 523 2017-04-30 20:30 325\Bucket.cpp
文件 581 2017-04-30 20:33 325\Bucket.h
目录 0 2018-04-12 14:03 325\Debug\
文件 147512 2017-05-20 13:47 325\Debug\325.exe
文件 529032 2017-05-20 13:47 325\Debug\325.ilk
文件 22862 2017-04-11 21:15 325\Debug\325.obj
文件 5494376 2017-04-05 09:43 325\Debug\325.pch
文件 533504 2017-05-20 13:47 325\Debug\325.pdb
文件 8552 2017-05-20 13:38 325\Debug\325.res
文件 14637 2017-04-05 09:43 325\Debug\325Doc.obj
文件 36887 2017-05-20 13:47 325\Debug\325View.obj
文件 3740 2017-04-30 20:33 325\Debug\AET.obj
文件 3815 2017-04-30 20:33 325\Debug\Bucket.obj
文件 20441 2017-04-08 15:58 325\Debug\MainFrm.obj
文件 105600 2017-04-05 09:43 325\Debug\StdAfx.obj
............此处省略22个文件信息
- 上一篇:模式识别导论
- 下一篇:计算机体系结构量化研究方法第五版习题答案含附录
相关资源
- 计算机图形学 边填充算法实现代码
- 计算机图形学课设 画板
- 简易绘图程序(计算机图形学课程设
- 计算机图形学(openGL)代码
- 图形学集成程序dda、中点算法、多边
- 计算机图形实验(哈尔滨工程大学)
- 计算机图形学-全.rar
- 7-Uath茶壶
- 计算机图形学考试试卷试题6套含3套的
- GPU精粹1-中文版.pdf《GPU精粹:实时图形
- 计算机图形学 基于3D图形开发技术
- 3D游戏与计算机图形学中的数学方法
- 虚拟现实技术文献英文
- 华南理工大学软件学院计算机图形学
- GPU+编程与CG+语言之阳春白雪下里巴人
- 计算机图形学实验 opengl实现太阳系运
- 中国科学技术大学计算机图形学大作
- 计算机图形学的实习
- 计算机图形大作业opengl-物联网.rar
- 计算机图形学 z-buffer
- 计算机图形学经典论文计算机图形学
- 计算机图形学几何工具算法详解
- 广东工业大学 各年 计算机图形学最全
- 交互式计算机图形学 基于WEBGL的自顶
- 清华大学版计算机图形学
- 计算机图形学 边界定义的8连通区域
- 实验一 OpenGL 程序设计基础
- 计算机图形学与几何造型导论 英文版
- 计算机图形学基础教程.docx
- 广东工业大学计算机图形学实验.rar
评论
共有 条评论