登录
首页 » c++ » MFC下实现图形学之立方体平移、比例、旋转、投影变换算法 代码

MFC下实现图形学之立方体平移、比例、旋转、投影变换算法 代码

于 2022-01-26 发布 文件大小:22.73 kB
0 120
下载积分: 2 下载次数: 1

代码说明:

/绘制坐标系以及初始立方体 //********************************* void CTransGraphicsView::OnDraw(CDC* pDC) {  CTransGraphicsDoc* pDoc = GetDocument();  ASSERT_VALID(pDoc);  HBRUSH hbrush;  CPen pen;  HPEN hPen;  // TODO: add draw code for native data here  pen.CreatePen(PS_SOLID,3,RGB(255,0,0));  hPen=(HPEN)pDC->SelectObject(pen);  pDC->SetViewportOrg(cxClient/2,cyClient/2);  pDC->MoveTo(-cxClient/2,0);  pDC->LineTo(cxClient/2,0);  pDC->MoveTo(0,-cyClient/2);  pDC->LineTo(0,cyClient/2);  pen.DeleteObject();     pDC->SelectObject(hPen);  this->ShadowTrans(-45);  for(int i=0;i

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • ImageProcessing
    说明:  基于块分割的图像拼接,将图像按块拼接,缺点是速度很慢,算法有待改善(Block-based segmentation of the image mosaic, mosaic images by block, the disadvantage is very slow, the algorithm needs to be improved)
    2011-03-24 18:22:01下载
    积分:1
  • AD0809
    并行接口AD0809的驱动程序,用C语言编程(Parallel interface AD0809 driver, using the C programming language)
    2012-11-08 19:07:45下载
    积分:1
  • 一个简单的个人财务管理系统。 提供给大家免费试用。 希望大家多提意见。...
    一个简单的个人财务管理系统。 提供给大家免费试用。 希望大家多提意见。-a simple personal financial management system. Available to all free trial. We hope to speak up.
    2022-10-07 06:35:03下载
    积分:1
  • MIMO-OFDM
    MIMO-OFDM系统基本结构,有仿真结果图,详细的描述了MIMO效系统调制解调傅里叶变换,信道估计,频域均衡等通信系统模块,具有较高的参考价值。有仿真结果图,详细的描述了MIMO效系统调制解调傅里叶变换,信道估计,频域均衡等通信系统模块,具有较高的参考价值。
    2022-12-03 07:40:03下载
    积分:1
  • osc_test
    含全部程序工程,测试成功的,测量的频率范围最大500Khz(Containing all program engineering, the test is successful and the frequency range of measurement is up to 500 Khz.)
    2019-02-20 22:31:39下载
    积分:1
  • docs-flexbison
    说明:  OPEN h323,用于网络电话开发的标准,包括API的详细说明。还有相关教程,非常详细(OPEN for the development of the telephone network standards, including a detailed description API. Also related guides, very detailed)
    2005-12-04 16:19:48下载
    积分:1
  • c_cPPfor-help
    关于标准c/c++的帮助文档 有一些简单的帮助文档可供参考或查询(A standard c/c++ help documentation)
    2014-06-10 19:55:10下载
    积分:1
  • GoogleCellLoc
    说明:  利用Google Map API,通过手机基站信息查询基站地址,能够获取基站的经纬度,并用GoogleMap显示出来。(Use Google Map API, via mobile phone base stations, base station address information query to obtain the base station latitude and longitude, and use GoogleMap displayed.)
    2010-03-17 15:39:40下载
    积分:1
  • Keyboard_Sentinel_SW
    说明:  摇杆键盘控制,键盘扫描,RS485 modbus通信,内置flash存储(keyboard,modbus rtu,flash,stm32f103)
    2020-06-25 15:20:02下载
    积分:1
  • OSC
    简易数字存储示波器,包括T6963驱动程序,ADC0832驱动程序,按键驱动等(Simple Digital Storage Oscilloscope, including the T6963 driver, ADC0832 drivers, such as key drivers)
    2008-12-11 13:08:15下载
    积分:1
  • 696518资源总数
  • 105901会员总数
  • 40今日下载