文件名称:cut
- 所属分类:
- 图形图像处理(光照,映射..)
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1.87mb
- 下载次数:
- 0次
- 提 供 者:
- 秀
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
在定义了窗口之后,我们只需将窗口内的图形显示出来,对于窗口之外的图形我们是不关心的。因此,必须将窗口外的图形裁剪下去。在本资料中,实现如下对直线段进行裁剪的算法:Cohen-Sutherland算法、中点分割算法、梁友栋-Barsky算法,并且利用Sutherland-Hodgman算法实现对多边形的裁剪,最后,实现当裁剪域是任意凸多边形时的裁剪算法。-In the definition of the window, we simply window graphics are displayed, in addition to window graphics we are not concerned. Therefore, the need to cut down the graphics outside the window. In this data, to achieve the following sections of the cut line algorithm: Cohen-Sutherland algorithm, the mid-point division algorithm, Liangyou Dong-Barsky algorithm, and using Sutherland-Hodgman polygon clipping algorithm, and finally, to achieve when the cutting domain is arbitrary when the convex polygon clipping algorithm.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
cut\cut.aps
...\cut.clw
...\cut.cpp
...\cut.dsp
...\cut.dsw
...\cut.h
...\cut.ncb
...\cut.opt
...\cut.plg
...\cut.rc
...\cutDoc.cpp
...\cutDoc.h
...\cutView.cpp
...\cutView.h
...\Debug\cut.exe
...\.....\cut.ilk
...\.....\cut.obj
...\.....\cut.pch
...\.....\cut.pdb
...\.....\cut.res
...\.....\cutDoc.obj
...\.....\cutView.obj
...\.....\MainFrm.obj
...\.....\StdAfx.obj
...\.....\vc60.idb
...\.....\vc60.pdb
...\MainFrm.cpp
...\MainFrm.h
...\ReadMe.txt
...\res\cut.ico
...\...\cut.rc2
...\...\cutDoc.ico
...\...\Toolbar.bmp
...\resource.h
...\StdAfx.cpp
...\StdAfx.h
...\Debug
...\res
cut
...\cut.clw
...\cut.cpp
...\cut.dsp
...\cut.dsw
...\cut.h
...\cut.ncb
...\cut.opt
...\cut.plg
...\cut.rc
...\cutDoc.cpp
...\cutDoc.h
...\cutView.cpp
...\cutView.h
...\Debug\cut.exe
...\.....\cut.ilk
...\.....\cut.obj
...\.....\cut.pch
...\.....\cut.pdb
...\.....\cut.res
...\.....\cutDoc.obj
...\.....\cutView.obj
...\.....\MainFrm.obj
...\.....\StdAfx.obj
...\.....\vc60.idb
...\.....\vc60.pdb
...\MainFrm.cpp
...\MainFrm.h
...\ReadMe.txt
...\res\cut.ico
...\...\cut.rc2
...\...\cutDoc.ico
...\...\Toolbar.bmp
...\resource.h
...\StdAfx.cpp
...\StdAfx.h
...\Debug
...\res
cut