搜索资源列表
hueituchenxudaquan
- 程序的功能: 一、用两种不同算法(DDA法和中点法)画任意直线,输入方式有鼠标取点点法,和对话框输入直线端点法。直线颜色在画线前任意选取。 二、直线的属性控制。可以从对话框中任意输入线宽画直线。还有画虚线的功能,你可以输入虚线中实线部分的长度和空白间隔的长度来画虚线。 三、用两种算法(中点法和正负法)画任意圆。 四、画任意椭圆。画椭圆时限任意取两点确定一矩形,由该矩形确定椭圆的大小。 五、多边形填充。用鼠标取点画任意多边形,可选取任意颜色去填充多边形区域。 六
barsky
- OpenGl中的二维裁剪算法,实现直线段相对于给定窗口的裁减,主要采用梁友栋-barsky算法,-OpenGl the two-dimensional cutting algorithm, and of the linear phase for a given window of the reduction, used mainly friends of Liang Dong-barsky algorithm,
20060214155614129
- 1、 矩形窗口的直线段裁剪(Cohen-Sutherlan算法必做,再在梁友栋和中点分割算法中任选一种)-a rectangular window line of cutting (Cohen-Sutherlan algorithm will do, again in mid-point and friends of Liang Dong segmentation algorithm An optional)
Liangyoudunsuanfa
- 梁友栋-Barskey裁剪算法,在裁剪算法中比较快的一种算法,-friends of Liang Dong-Barskey cutting algorithm, the algorithm cutting a faster algorithm,
LiangBarsky
- 梁友栋-Barsky裁剪算法,Cyrus和Beck用参数化方法提出了比Cohen-Sutherland更有效的算法。后来梁友栋和Barsky独立地提出了更快的参数化线段裁剪算法,也称为Liany-Barsky(LB)算法。
pic
- 源码简介: 这是我上图形学实验课时写的程序,实现了以下功能: 第一次作业:(第一课时) 要求:用Bresenham算法画出一个多边形,然后用扫描线填充 第二次作业:(第二课时) 要求:二维空间变换 第三次作业:(第三、四课时) 要求:三维空间变换及投影 第四次作业:(第五,六课时) 要求:Cohen_Sutherland裁剪,梁友栋-Barsky裁剪,裁剪开窗算法,多边形裁剪。 第五次作业:(第七,八课时) 要求:Hermite曲线,Bezier曲线(
erweicaijian.rar
- 实现鼠标点击绘制出矩形和直线,然后用梁友栋算法进行的二维图形裁剪,The realization of a mouse click rectangle and draw a straight line, and then You-Xin Liang Dong algorithm using two-dimensional graphics cutting
shiyan4
- 了解二维图形裁剪的原理(点的裁剪、直线的裁剪、多边形的裁剪),利用VC+OpenGL实现直线的裁剪算法。 2.实验内容: (1) 理解直线裁剪的原理(Cohen-Surtherland算法、梁友栋算法) (2) 利用VC+OpenGL实现直线的编码裁剪算法,在屏幕上用一个封闭矩形裁剪任意一条直线。 (3) 调试、编译、修改程序 -Understanding of the principles of cutting two-dimensional graphics (p
liangyoud
- 该程序在C环境下运行,实现了梁友栋-Barsky 线段裁剪算法。-This process is running at the c circumstance,and it accomplished the youdongliang-Barsky clipping algorithm of line .
lyd
- 这是一个计算机图形学中关于梁友栋算法实现的程序-This is a computer graphics on the friends of Liang Dong algorithm procedures
liangyoudong
- 在VC++环境下实现实现梁友栋裁剪算法,-You-Xin Liang Dong cutting algorithm to achieve
Barsky
- 二维裁剪 梁友栋-Barsky算法 用c语言写的-Building two-dimensional cut-You-Xin Liang-Barsky algorithm written using c language
include1
- 请分别给出直线的三种不同位置情况,测试实验代码是否存在问题,有的话请调试改正。 可能的话,可以尝试实现梁友栋裁剪算法。-Please give a straight line, respectively, three different locations, the test code to test if there is a problem, so please correct debugging. If possible, Dong LIANG You can try to achieve
liang1
- c语言实现的梁友栋裁剪算法,在屏幕上点击两个点,按c键进行裁剪-c language of the Liang Youdong clipping algorithm, two points on the screen click, press the c key to tailoring
CGPainter
- 一个二维裁剪算法-用梁友栋-barsky算法实现直线段相对于给定窗口的裁剪-A two-dimensional cutting algorithm- with Liangyou Dong-barsky algorithm relative to a given straight line cut the window
Three
- 计算机图形中的裁剪,包括梁友栋裁剪,中点分割算法,Cohen-Sutherland算法-In computer graphics clipping, including LiangYouDong cutting, midpoint segmentation algorithm, Cohen-Sutherland algorithm
caijiansuanfa
- 计算机图形的裁剪算法C语言程序代码 包括多边形裁剪 梁友栋裁剪等-Cut algorithm of computer graphics C code, including clipping Liangyou Dong cutting
include1
- 请分别给出直线的三种不同位置情况,测试实验代码是否存在问题,有的话请调试改正。 可能的话,可以尝试实现梁友栋裁剪算法。-Please give a straight line, respectively, three different locations, the test code to test if there is a problem, so please correct debugging. If possible, Dong LIANG You can try to achieve
lab8
- C++简单实现编码裁剪算法和梁友栋裁剪法(Simple c + + coding for cutting algorithm and Liang Youdong cutting method)
梁友栋裁剪算法
- (1)按下键盘"1",可用鼠标在窗口画若干任意条直线。如图7-1所示。 (2)按下键盘"2",可用鼠标在窗口添加一个任意大小的裁剪窗口 (3) 一旦窗口画完(鼠标松开)即完成直线的裁剪,分别使用梁友栋裁剪算法 和 编码裁剪算法实现裁剪效果 ,如图7-2 ,7-3所示。 (4)重新按“1”,“2”又可多次重复操作。 提示:画矩形结束时,同时把若干条直线的起点坐标和终点作为参数循环调用裁剪算法,达到线段裁剪的目的。