CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - polygon line
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - polygon line - List
[
Graph Drawing
]
lineRubber
DL : 0
自己开发的,多边形扫描线填充算法,采用橡皮筋模式确定多边形轮廓,经调试通过,此代码效率很高-its own development, filled polygon scan line algorithm, using rubber-band model to determine polygon outline, debugger, this code efficiency
Date
: 2025-12-16
Size
: 51kb
User
:
寒冬
[
Graph Drawing
]
184526345
DL : 0
本原代码集是对计算机图形学的编程实践,包括画直线、反走样直线、画圆、画椭圆、画矩形、画多边形、矩形填充、多边形填充、3D变换、光照、贴图等。出于简化编程的考虑,许多地方指定了常数,未做通用处理。解压缩后建立gui16目录,在其下有原代码和工程文件。在gui16下建立release目录,其下有一可执行文件及其所须的位图及模型文件。如在release目录之外执行程序,必须复制所需位图及模型文件。内含r-primitive code of computer graphics programming practice, including painting line, anti-aliasing straight Circle, painted oval, rectangular painting, drawing polygon, rectangle filling, polygon filling, 3D transformation, lighting, textures, etc.. To simplify programming for consideration, in many places designated constant, GM declined to handle. Decompress gui16 established after the catalog under the original code and engineering documents. Established in gui16 release directory, under which an executable file and the necessary bitmap, and model documents. If the release catalog implementation procedures, must copy the necessary bitmap and model documents. R intron
Date
: 2025-12-16
Size
: 263kb
User
:
万方
[
Graph Drawing
]
hueituchenxudaquan
DL : 0
程序的功能: 一、用两种不同算法(DDA法和中点法)画任意直线,输入方式有鼠标取点点法,和对话框输入直线端点法。直线颜色在画线前任意选取。 二、直线的属性控制。可以从对话框中任意输入线宽画直线。还有画虚线的功能,你可以输入虚线中实线部分的长度和空白间隔的长度来画虚线。 三、用两种算法(中点法和正负法)画任意圆。 四、画任意椭圆。画椭圆时限任意取两点确定一矩形,由该矩形确定椭圆的大小。 五、多边形填充。用鼠标取点画任意多边形,可选取任意颜色去填充多边形区域。 六、矩形填充。用鼠标任取两点确定矩形区域,选取任意颜色去填充。 七、直线裁剪。有两种算法实现这一功能,梁友栋法和编码法。先用鼠标画一直线,然后再取两点确定一矩形裁剪框,点击一下右键,裁剪成功。 八、多边形裁剪。先用鼠标取点画一任意多边形,点击右键后继续取两点确定裁剪矩形框,在点击一次右键裁剪执行。 九、弹球。-procedures functions : one, using two different algorithms (DDA law and midpoint) painting arbitrary line, input from a little mouse, and the dialog box input linear endpoint law. Linear color line drawing in the former arbitrary selection. Two straight attributes. From the dialog box indiscriminate importation linewidth linear paintings. The paintings are dotted line function, you can enter dotted line which is part of the length and spacing of the gap length to paint a dotted line. And, third, using two algorithms (the midpoint of law and the positive and negative) painting arbitrary round. Four paintings arbitrary elliptic. Elliptic painting from 2:00 arbitrary time limit to determine a rectangle, rectangle determined by the size of the ellipse. 5, polygon filling. Dotted with the mouse
Date
: 2025-12-16
Size
: 1.84mb
User
:
upcorange
[
Graph Drawing
]
tuxingxuedazouye
DL : 0
1. 做一个集成的图形界面的程序,可调用每一次作业子程序。 2. 调用画点的函数,用DDA、中点算法画直线和中点算法及正负法画圆和抛物线。 3. 交互式的二维直线求交:如果存在交点,用实心圆显示交点,并用文字显示其坐标。 4. 用动画实现二维图形变换的各种算法,实现对指定形体的平移、旋转和缩放。(包括自行车行走和绕固定点旋转的自旋转物体动画。) 5. 线段裁剪和多边形裁剪算法的动画演示实现。(两种线段裁剪算法和H-S多边形逐边裁剪算法)多边形裁剪算法的动画演示要求先画出一个封闭的多边形,再画矩形的裁剪窗口,然后选择裁剪按钮(或命令),按下“上边裁剪”按钮(或执行“上边裁剪”命令),多边形相对裁剪窗口的上边进行裁剪,显示上边裁剪后的多边形,依此进行其它各边裁剪。 6. 两种扫描多边形扫描转换算法实现(扫描线算法为必做,基于求余运算的边缘填充和边标志算法任选一种); 7. 4连通区域的递归种子填充算法,和扫描线种子填充算法,要求种子点(x,y)可交互输入)。 8. 简单三维图形系统:凸多面体的建模、透视投影,隐藏面的消除及基本图形变换(平移、旋转、缩放)。 9. 交互式Bezier曲线的输入绘制程序实现 -1. So an integrated graphical interface procedures, which call for each operation subroutine. 2. Calling the painting point function, with DDA, the midpoint algorithm painting line and the midpoint algorithm and France Circle and the positive and negative parabola. 3. Interactive 2D linear intersection : If there intersection with a solid circle indicates Nodal and writing to demonstrate its coordinates. 4. Using 2D animation graphics transform algorithms to achieve the specified physical translation, rotation and scaling. (Including walking and cycling around the fixed point of rotating objects from the rotating animation.) 5. Line cutting and polygon clipping algorithm to achieve the animation demo. (Two segments cutting algorithm and H-S-by-side polygon clipping algorithm) polygon clipp
Date
: 2025-12-16
Size
: 2.06mb
User
:
张斌
[
Graph Drawing
]
gisdraw_tracer
DL : 0
一个相当不错的绘图程序,包括了基本的画线,画面,画多边形的功能以及拖动,移动,编辑,打印等,更可贵的是该程序在实现拖动时有效避免了闪屏问题,值得学习-a pretty good drawing program, including the basic line drawing, face painting and polygon functions, and drag mobile, edit, print, more valuable is the process in achieving effective Drive when a flash screen to avoid the problem, it is worth learning
Date
: 2025-12-16
Size
: 98kb
User
:
zpp
[
Graph Drawing
]
VCDOTNETJCBCBL
DL : 0
绘图例子,进行参考和模仿,一个相当不错的绘图程序,包括了基本的画线,画面,画多边形的功能以及拖动,移动,编辑,打印等,更可贵的是该程序在实现拖动时有效避免了闪屏问题,值得学-Mapping example, reference and imitate, a fairly good mapping procedures, including the basic line drawing and picture polygon features paintings and Drag, moving, editing, printing, etc., even more valuable is that the procedures in achieving effective Drive when a flash screen to avoid the problem, it is worth learning
Date
: 2025-12-16
Size
: 2.91mb
User
:
[
Graph Drawing
]
iouyuigtuyyugyt
DL : 0
vc++内容全面,可以画平面图形,线,圆,三角形,多边形.内容在思远软件学院时,编写,里面有部分VC++代码为工作快10年老师编写程序,内容经典,简练!-vc comprehensive content, graphic painting, line, circle, triangle, polygon. software content in Siyuan Institute, the preparation, there are some VC code to work faster in 10 teacher preparation procedures, classic content, concise!
Date
: 2025-12-16
Size
: 2.61mb
User
:
袁斌
[
Graph Drawing
]
DrawFunc
DL : 0
基本图形学图元生成,实现图形学经典图元直线,样条,多边形填充,裁剪等算法。-basic map generated graphics, graphics achieve classic map line, spline, polygon filling, cutting algorithm.
Date
: 2025-12-16
Size
: 30kb
User
:
tuwei
[
Graph Drawing
]
grahic
DL : 0
对初学者理解c++的抽象继承虚函数等机制相当有用,这是一个画点线多边形的的实例程序。-for beginners to understand the abstract c succession mechanisms such as virtual function very useful. This is a drawing point line polygon examples of the procedure.
Date
: 2025-12-16
Size
: 123kb
User
:
谢潇
[
Graph Drawing
]
AdvancedComputerGraphic
DL : 0
画直线、反走样直线、画圆、画椭圆、画矩形、画多边形、矩形填充、多边形填充、3D变换、光照、贴图-painting line, anti-aliasing line, Circle, painted oval, rectangular painting, drawing polygon, rectangle filling, polygon filling, 3D transformation, lighting, map
Date
: 2025-12-16
Size
: 2.6mb
User
:
wangli
[
Graph Drawing
]
tuxingxueshiyan1
DL : 0
《计算机图形学》 实验一 基本图形的生成 实验目的: 1、编写直线的DDA和Bresenham算法的实现程序,验证算法的正确性。 2、编写圆的Bresenham算法或中点算法的实现程序,验证算法的正确性。 3、用多边形的扫描线填充算法对一多边形进行填充,验证算法的正确性。 4、使用Cohen-Sutherland算法裁减二维线段或使用Sutherland-Hodgman算法对多边形进行裁减,验证算法的正确性。 5、通过算法的编写,切实掌握图形学中直线和圆生成的原理以及图形填充和裁减算法的原理和过程。 实验内容: 1、(必做)编写直线的DDA和Bresenham算法的实现程序。要求:直线的起点与终点坐标通过文本框中输入或添加鼠标程序,实现交互式画直线(用鼠标确定直线的起点和终点)。禁止使用画直线的系统函数。 2、(必做)编写圆的Bresenham算法或中点算法的实现程序。要求:圆的半径与圆心点坐标通过文本框中输入或添加鼠标程序,实现交互式画圆(用鼠标确定圆的圆心和半径)。禁止使用画圆的系统函数。 -"Computer Graphics" experiment, a basic pattern formation of the experiment : 1. DDA prepared a straight line and the Bresenham algorithm procedures, verification algorithm is correct. 2, the preparation of a round of the Bresenham algorithm or midpoint algorithm implementation procedures, verification algorithm is correct. 3, using the polygon scan line algorithm to fill a polygon filling, the verification algorithm correctness. 4. Use Cohen-Sutherland algorithm line or two-dimensional reduction of the use of Sutherland- Hodgman algorithm for polygon reduction, the certification algorithm correctness. 5, algorithm development, really control the graphics linear and circular formation of principle and graphics filling algorithm and the reduction of the principles and processes.
Date
: 2025-12-16
Size
: 702kb
User
:
fisherman
[
Graph Drawing
]
ply
DL : 0
This file contains one-line descriptions of the geometry filters. Geometry Manipulation --------------------- flipply - flip the orientation of faces normalsply - compute surface normal vectors at vertices xformply - transform vertices (translation, scale, rotation) Create PLY Files ---------------- platoply - make any of the five Platonic solids sphereply - create a sphere File Conversion --------------- ply2ascii - convert polygon file to ASCII version ply2binary - convert polygon file to binary version ply2iv - convert to Inventor file format obj2ply - convert from Wavefront .obj format Information About Files ----------------------- boundply - find bounding box of object and re-position if desired headply - print out the entire file header Support Routines ---------------- ply.c - layout grammar parsing and file I/O for geometry filters adjacency_module.c - determining ajacency between vertices and faces-This file contains one-line descriptions of the geometry filters. Geometry Manipulation --------------------- flipply- flip the orientation of faces normalsply- compute surface normal vectors at vertices xformply- transform vertices (translation, scale, rotation) Create PLY Files ---------------- platoply- make any of the five Platonic solids sphereply- create a sphere File Conversion --------------- ply2ascii- convert polygon file to ASCII version ply2binary- convert polygon file to binary version ply2iv- convert to Inventor file format obj2ply- convert from Wavefront .obj format Information About Files ----------------------- boundply- find bounding box of object and re-position if desired headply- print out the entire file header Support Routines ---------------- ply.c- layout grammar parsing and file I/O for geometry filters adjacency_module.c- determining ajacency between vertices and faces
Date
: 2025-12-16
Size
: 52kb
User
:
狗蛋
[
Graph Drawing
]
ComputerGraphics
DL : 0
用MFC 实现的画图程序, 多边形填充算法. 包括扫描线算法和种子填充算法. 可以选择颜色-Using MFC to achieve the Paint program, polygon filling algorithm. Including the scan line algorithm and seed fill algorithm. Can choose the color
Date
: 2025-12-16
Size
: 1.31mb
User
:
Tim
[
Graph Drawing
]
graph
DL : 0
(1).用Bresenham算法绘制直线. (2).用Bresenham算法画图. (3).用打点(如:C语言的putpixel())法显示汉字,汉字库以文件形式保存,以图形方式显示汉字. (4).在二维空间绘制一个多边形(三角形,四边形任选),然后实施平移变换,对称变换和旋转变换,-(1). Bresenham algorithm for drawing a straight line to use. (2). By drawing Bresenham algorithm. (3). With RBI (for example: C language putpixel ()) display Chinese characters,汉字库preserved in documentary form in order to graphically display Chinese characters. (4). In the two-dimensional spatial mapping of a polygon (triangle, quadrilateral optional), and then the implementation of translational transform, symmetry transform and rotation transformation,
Date
: 2025-12-16
Size
: 17kb
User
:
鹰隼
[
Graph Drawing
]
DrawBox
DL : 0
用WINAPI实现的画图程序,可以绘制直线,矩形,椭圆,多边形,可设定线型和边框色,填充色,简单实现放大,缩小的功能,还有选中,删除的功能。-WINAPI achieved using Paint program, you can draw a straight line, rectangle, ellipse, polygon, line and borders can be set color, fill color, simple to achieve amplification, reduced function, as well as select, delete functions.
Date
: 2025-12-16
Size
: 68kb
User
:
waleking
[
Graph Drawing
]
DrawPolyG
DL : 0
MFC画多边形 先单击左键,移开鼠标,单击右键就可以画出一条直线,再移开鼠标,双击右键就可以画出个三角形。 其他多边形,以此类推。 注意,以“单击左键”开始。 本程序只完成简单的功能。-MFC painting left polygon first click, remove the mouse, right-click can draw a straight line, and then move the mouse, double-click right triangles can be drawn. Other polygon, and so on. Note that the left click Start. This procedure only simple functions.
Date
: 2025-12-16
Size
: 2kb
User
:
王大兵
[
Graph Drawing
]
gh
DL : 0
1. 简单图元的生成(如直线、圆、长方形等) 2. 用DDA算法或中点(Besenham)算法实现直线段、椭圆或圆的绘制 3. 用扫描线填充算法进行区域填充,用Sutherland 裁剪算法裁减多边形 4. BEZIER曲线或B样条曲线的绘制 5. 个性化图形软件包的开发 6. 所有文件包括源码和截图-1. Easy metafile generation (such as linear, round, rectangular, etc) 2. Using DDA algorithm or the mid-point (Besenham) algorithm achieve a straight line segment, draw an oval or round 3. Scanline fill algorithm used to populate the region, with Sutherland reduction of polygon clipping algorithm 4. BEZIER curve or B-spline Curve 5. personalized graphics package development 6. all documents, including source code and screenshot
Date
: 2025-12-16
Size
: 1.38mb
User
:
lixuan
[
Graph Drawing
]
Scan-line-seed-fill
DL : 0
种子扫描线填充,动态画多边形,并填充颜色。-Scan line seed fill, dynamic polygon drawing and filling color.
Date
: 2025-12-16
Size
: 1.33mb
User
:
王上册
[
Graph Drawing
]
sweep
DL : 0
基于活性边表的多边形扫描线算法,MFC GPI 可含内环,可自定义多边形!-Based on the activity side of the table scan line algorithm for polygon, MFC GPI can contain inner ring can be custom polygon!
Date
: 2025-12-16
Size
: 369kb
User
:
方青
[
Graph Drawing
]
polygon-scan-line
DL : 0
此程序用于演示和验证多边形转换的扫描线算法。-This program is used to demonstrate and validate polygon scan line conversion algorithm.
Date
: 2025-12-16
Size
: 61kb
User
:
王崇来
«
1
2
3
4
5
»
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.