文件名称:draw3
- 所属分类:
- GDI/图象编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1.9mb
- 下载次数:
- 0次
- 提 供 者:
- 徐**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
建立正方体的数据模型;编写应用程序,利用菜单和键盘结合的方式完成对正方体的进行移动、比例和旋转变换,并显示透视或平行投影结果。要求应用程序具有如下功能:
1、 通过菜单选择的方式,选择对三维空间中的立方体作平行投影或透视投影;
2、 通过键盘按键或鼠标移动的方式,完成对三维空间中的立方体进行平移(上下左右前后),比例变换(放大或缩小)以及旋转变换,并同时显示变换后的投影结果
3、 创建对话框,通过对话框设置透视投影时候的投影中心,以及旋转变换时候的旋转轴(可以设置成分别绕x轴,y轴,z轴进行旋转)-The establishment of the cube data model write applications, the use of menus and keyboard combination to move to complete the cube, the ratio and rotation transform, and shows a perspective or parallel projection results. Application has the following functions: 1, through the selected menu, select the cube in the 3D space for parallel projection or perspective projection 2, by way of keyboard keystrokes or mouse movements to complete the pan in the three-dimensional cube ( up and down around the front and rear), scaling (zoom in or out), and the rotation transformation, and transformed projection results, create a dialog box dialog box to set the perspective projection when the projection center, and the axis of rotation of the rotation transformation (can set, respectively, around the x-axis, y-axis and z-axis rotation)
1、 通过菜单选择的方式,选择对三维空间中的立方体作平行投影或透视投影;
2、 通过键盘按键或鼠标移动的方式,完成对三维空间中的立方体进行平移(上下左右前后),比例变换(放大或缩小)以及旋转变换,并同时显示变换后的投影结果
3、 创建对话框,通过对话框设置透视投影时候的投影中心,以及旋转变换时候的旋转轴(可以设置成分别绕x轴,y轴,z轴进行旋转)-The establishment of the cube data model write applications, the use of menus and keyboard combination to move to complete the cube, the ratio and rotation transform, and shows a perspective or parallel projection results. Application has the following functions: 1, through the selected menu, select the cube in the 3D space for parallel projection or perspective projection 2, by way of keyboard keystrokes or mouse movements to complete the pan in the three-dimensional cube ( up and down around the front and rear), scaling (zoom in or out), and the rotation transformation, and transformed projection results, create a dialog box dialog box to set the perspective projection when the projection center, and the axis of rotation of the rotation transformation (can set, respectively, around the x-axis, y-axis and z-axis rotation)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
图形学3\Debug\MainFrm.obj
.......\.....\ShadowDlg.obj
.......\.....\StdAfx.obj
.......\.....\vc60.idb
.......\.....\vc60.pdb
.......\.....\图形学3.exe
.......\.....\图形学3.ilk
.......\.....\图形学3.obj
.......\.....\图形学3.pch
.......\.....\图形学3.pdb
.......\.....\图形学3.res
.......\.....\图形学3Doc.obj
.......\.....\图形学3View.obj
.......\MainFrm.cpp
.......\MainFrm.h
.......\ReadMe.txt
.......\res\Toolbar.bmp
.......\...\图形学3.ico
.......\...\图形学3.rc2
.......\...\图形学3Doc.ico
.......\resource.h
.......\ShadowDlg.cpp
.......\ShadowDlg.h
.......\StdAfx.cpp
.......\StdAfx.h
.......\图形学3.aps
.......\图形学3.clw
.......\图形学3.cpp
.......\图形学3.dsp
.......\图形学3.dsw
.......\图形学3.h
.......\图形学3.ncb
.......\图形学3.opt
.......\图形学3.plg
.......\图形学3.rc
.......\图形学3Doc.cpp
.......\图形学3Doc.h
.......\图形学3View.cpp
.......\图形学3View.h
.......\Debug
.......\res
图形学3
.......\.....\ShadowDlg.obj
.......\.....\StdAfx.obj
.......\.....\vc60.idb
.......\.....\vc60.pdb
.......\.....\图形学3.exe
.......\.....\图形学3.ilk
.......\.....\图形学3.obj
.......\.....\图形学3.pch
.......\.....\图形学3.pdb
.......\.....\图形学3.res
.......\.....\图形学3Doc.obj
.......\.....\图形学3View.obj
.......\MainFrm.cpp
.......\MainFrm.h
.......\ReadMe.txt
.......\res\Toolbar.bmp
.......\...\图形学3.ico
.......\...\图形学3.rc2
.......\...\图形学3Doc.ico
.......\resource.h
.......\ShadowDlg.cpp
.......\ShadowDlg.h
.......\StdAfx.cpp
.......\StdAfx.h
.......\图形学3.aps
.......\图形学3.clw
.......\图形学3.cpp
.......\图形学3.dsp
.......\图形学3.dsw
.......\图形学3.h
.......\图形学3.ncb
.......\图形学3.opt
.......\图形学3.plg
.......\图形学3.rc
.......\图形学3Doc.cpp
.......\图形学3Doc.h
.......\图形学3View.cpp
.......\图形学3View.h
.......\Debug
.......\res
图形学3