首页 开发技术 C++     /    计算机图形学源码(DDA直线、中点圆、多边形、填充、支持不同图层二维变换如旋转、平移、缩放、对称变换;光照与消隐)

计算机图形学源码(DDA直线、中点圆、多边形、填充、支持不同图层二维变换如旋转、平移、缩放、对称变换;光照与消隐)

上传者: gudufuyun | 上传时间:2024/9/10 5:53:52 | 文件大小:84KB | 文件类型:rar
计算机图形学源码(DDA直线、中点圆、多边形、填充、支持不同图层二维变换如旋转、平移、缩放、对称变换;光照与消隐)
直线、圆、多边形这是针对09年所写计算机图形学源码重构后的版本。
新版本在实现用多种算法生成直线、圆、多边形等图形图像的同时,使用了双缓存绘图防止图像闪烁,并使用自定义结构扫描线存储所绘连块图形区域提高了二次绘图效率。
同时将所有图形图像封装成类,便于图形的重绘以及旋转、平移、缩放、对称变换等几何操作。
这是真正意义上实现了二维图层操作,而不是一个演示性的算法。
光照实验与消隐借用已有代码,因此代码变量命名风格与之前的不统一。

文件下载

资源详情

[{"title":"(50个子文件84KB)计算机图形学源码(DDA直线、中点圆、多边形、填充、支持不同图层二维变换如旋转、平移、缩放、对称变换;光照与消隐)","children":[{"title":"ComputerGraphic","children":[{"title":"ComputerGraphic.h <span style='color:#111;'>1.42KB</span>","children":null,"spread":false},{"title":"line.cpp <span style='color:#111;'>10.55KB</span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'>222B</span>","children":null,"spread":false},{"title":"ComputerGraphicView.cpp <span style='color:#111;'>54.82KB</span>","children":null,"spread":false},{"title":"CircleSetDlg.cpp <span style='color:#111;'>6.67KB</span>","children":null,"spread":false},{"title":"Matirx.h <span style='color:#111;'>1.20KB</span>","children":null,"spread":false},{"title":"Polygon.cpp <span style='color:#111;'>4.91KB</span>","children":null,"spread":false},{"title":"ComputerGraphicDoc.cpp <span style='color:#111;'>2.24KB</span>","children":null,"spread":false},{"title":"EditEx.h <span style='color:#111;'>1.27KB</span>","children":null,"spread":false},{"title":"LineSetDlg.cpp <span style='color:#111;'>4.13KB</span>","children":null,"spread":false},{"title":"ComputerGraphic.opt <span style='color:#111;'>52.50KB</span>","children":null,"spread":false},{"title":"LineSetDlg.h <span style='color:#111;'>1.63KB</span>","children":null,"spread":false},{"title":"TLIGHT.h <span style='color:#111;'>1.62KB</span>","children":null,"spread":false},{"title":"MainFrm.h <span style='color:#111;'>1.51KB</span>","children":null,"spread":false},{"title":"SeedFill.cpp <span style='color:#111;'>3.09KB</span>","children":null,"spread":false},{"title":"tianchong.ico <span style='color:#111;'>3.19KB</span>","children":null,"spread":false},{"title":"ComputerGraphicDoc.h <span style='color:#111;'>1.58KB</span>","children":null,"spread":false},{"title":"CircleSetDlg.h <span style='color:#111;'>1.81KB</span>","children":null,"spread":false},{"title":"shape.cpp <span style='color:#111;'>296B</span>","children":null,"spread":false},{"title":"Debug","children":null,"spread":false},{"title":"DrawDlg.h <span style='color:#111;'>1.71KB</span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'>4.43KB</span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'>1.59KB</span>","children":null,"spread":false},{"title":"ComputerGraphic.ncb <span style='color:#111;'>121.00KB</span>","children":null,"spread":false},{"title":"ComputerGraphic.dsp <span style='color:#111;'>6.37KB</span>","children":null,"spread":false},{"title":"MainFrm.cpp <span style='color:#111;'>3.13KB</span>","children":null,"spread":false},{"title":"ComputerGraphic.dsw <span style='color:#111;'>555B</span>","children":null,"spread":false},{"title":"Resource.h <span style='color:#111;'>5.26KB</span>","children":null,"spread":false},{"title":"EditEx.cpp <span style='color:#111;'>1.83KB</span>","children":null,"spread":false},{"title":"DrawDlg.cpp <span style='color:#111;'>7.42KB</span>","children":null,"spread":false},{"title":"ComputerGraphicView.h <span style='color:#111;'>5.89KB</span>","children":null,"spread":false},{"title":"ComputerGraphic.plg <span style='color:#111;'>3.17KB</span>","children":null,"spread":false},{"title":"SeedFill.h <span style='color:#111;'>591B</span>","children":null,"spread":false},{"title":"res","children":[{"title":"ComputerGraphic.ico <span style='color:#111;'>1.05KB</span>","children":null,"spread":false},{"title":"icon2.ico <span style='color:#111;'>3.19KB</span>","children":null,"spread":false},{"title":"4.cur <span style='color:#111;'>3.19KB</span>","children":null,"spread":false},{"title":"ComputerGraphic.rc2 <span style='color:#111;'>407B</span>","children":null,"spread":false},{"title":"ComputerGraphicDoc.ico <span style='color:#111;'>1.05KB</span>","children":null,"spread":false},{"title":"tianchong.cur <span style='color:#111;'>3.19KB</span>","children":null,"spread":false},{"title":"mainfram.bmp <span style='color:#111;'>5.10KB</span>","children":null,"spread":false},{"title":"Toolbar.bmp <span style='color:#111;'>1.05KB</span>","children":null,"spread":false},{"title":"3dsmove.cur <span style='color:#111;'>766B</span>","children":null,"spread":false},{"title":"ClrCenter.cur <span style='color:#111;'>766B</span>","children":null,"spread":false},{"title":"cursor.cur <span style='color:#111;'>3.19KB</span>","children":null,"spread":false}],"spread":false},{"title":"ComputerGraphic.cpp <span style='color:#111;'>4.27KB</span>","children":null,"spread":false},{"title":"ComputerGraphic.rc <span style='color:#111;'>21.52KB</span>","children":null,"spread":false},{"title":"MyFace.h <span style='color:#111;'>2.52KB</span>","children":null,"spread":false},{"title":"shape.h <span style='color:#111;'>3.65KB</span>","children":null,"spread":false},{"title":"text.cpp <span style='color:#111;'>1.04KB</span>","children":null,"spread":false},{"title":"Circle.cpp <span style='color:#111;'>7.13KB</span>","children":null,"spread":false},{"title":"TLIGHT.cpp <span style='color:#111;'>5.54KB</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • Q_JH:
    功能全面,可供参考。2016-03-10
  • 清风徐来1990:
    挺不错的资源!2016-01-19
  • manong2014:
    写的太好了不适合初学者2015-11-28
  • houximelody:
    功能挺全的2015-07-20
  • qq_16748115:
    挺不错的资源!2015-06-23

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明