搜索资源列表
jisuanjituxing
- 根据多边形区域的填充原理可以推广到圆域的填充,由于圆的特殊属性,即可根据任何欲填充的像素点与圆心的距离是否大于或小于半径来判断是否在圆内或圆外,具体实现程序如下; 利用中点画圆算法实现边界程序: void CArea_FillData::MidpointCircle(int xc, int yc, int r, int color) {//画八分之一的圆 int x,y,d x=0 y=r d=1-r WholeCircle(xc,yc,x,y,color
jasper-1.701.0
- The JasPer software license has been made slightly less restrictive. Now, JasPer can be used without the JPEG-2000 support included. This had always been the intention of the JasPer Contributors, but the original wording failed to make clear that suc
tianchong
- 实现多边形区域扫描线填充的有序边表算法,并将实现的算法应用于任意多边形的填充,多边形的顶点可由键盘输入或鼠标拾取,填充要准确,不能多填也不能少填。 要求掌握边形区域扫描线填充的有序边表算法的基本原理和算法设计,画出算法实现的程序流程图,使用C或者VC++实现算法,并演示。 -Scan-line polygon fill the region to achieve the orderly side of the table algorithm, and the algorithm is a
project5
- 令人着迷的电影特效,到医学成像、电子游戏和更多的领域,3D图形所带来的冲击不亚于一场革命。这项从五年前(1996年)开始,带来了个人电脑消费风暴的技术,根源于学术界和军事。其实从某种程度上来说,我们今天在个人电脑上所享受的3D图形算是一种“和平红利”,许多最初设计军事模拟器的专家如今在从事3D图形芯片,电影和游戏开发产业的工作。 除娱乐之外,3D图形技术在计算机辅助设计(CAD)上为工业设计带-Fascinating film special effects, to medical imagin
drawline
- 程序运行Bresenham的直线算法,所用坐标系为笛卡尔直角坐标系, 起始状态:用户输入所画线段的起点和终点坐标(要求起点横坐标小于终点横坐标) 结束状态:程序打印出所画线段-Bresenham run a straight line algorithm, used for the Cartesian coordinates Cartesian coordinate system, the initial state: the user to enter the painting o
MATALB
- 这个程序是基于MATALB平台实现的,由于本程序是自己编的,所以还有不足的地方如那位大侠有好的建议请提出-This procedure is based on the MATALB platform, as a result of this process is allocated its own, so there are less than places such as the heroes who have put forward good suggestions, please
chaijian
- 对于直线/多边形的裁剪实验,要求实现标准矩形窗口的裁剪,窗口边界由键盘输入或鼠标确定,直线/多边形都是任意的。裁剪后的图形要准确,不能多或者少点。-For the straight line/polygon clipping experiments required to achieve the standard rectangular window clipping, the window borders from the keyboard or mouse to determine a st
Draw
- 使用vc++开发的绘制曲线的软件,代码少,适合初学者下载,-Using vc++ software development to draw the curve, the code less, suitable for beginners download
VVCelectronici
- Visual C++电子地图绘图工具,我我也是很辛苦找到的哦,电子地图的资料比较少 -Visual C++ digital map drawing tools, I have a hhard to find Oh, the electronic map information less
LoveGame
- 这是一个小趣味游戏,在程序运行后显示下页图所示的椭圆形窗体,在界面上有句话:“baby Do you love me?”。如果单击“YES”按钮,会显示下页图所示界面,并有一句“I O U 2”(I LOVE YOU TOO);如果单击“NO”按钮,会出现一个信息框,内容是:“天啊,不可能!请再想想!”,然后按钮会躲着鼠标,让鼠标一直单击不到。-This is a fun game, the oval form, the program runs the next page shown in t
wenduji-proteus
- 与wenduji程序相互配套的PROTEUS仿真程序,能够通过软件模拟PCB实验。事半功倍。-Mutually supporting and wenduji program the PROTEUS simulation program, PCB through software simulation experiment. More with less.
level
- 1. 读取学生成绩单文件2. 存入数组, 第一列存3.依次根据成绩判定等级(60分以下D, 60-79C,80-90B,90-99A,100A+ )并将等级结果存到对应的数组里学好,第二列存成绩,第三列留给等级4.请画出成绩等级分布图(2D),函数任选5.请画3D图,函数任选 6. 通过subplot,重画上面两个图,形成一个合成图,上下分布-Read student transcr ipt file into an array, the first column of memory 3 the
yinzifenxi-
- 因子分析法 可用于图像处理 较少的因子描述最多的信息-Factor analysis method can be used to describe the most of the factors that are less in image processing.
line2
- 绘制任意斜率的直线段 设计CLine直线类,其数据成员为直线段的起点坐标P0和终点坐标P1,成员函数为MoveTo()和LineTo()函数。 CLine类的LineTo()函数使用中点Bresenham算法绘制任意斜率k的直线段,包括k=±∞、k>1、0≤k≤1、-1≤k<0和k<-1五种情况。 在屏幕客户区按下鼠标左键选择直线的起点,保持鼠标左键按下并移动鼠标到另一位置,弹起鼠标左键绘制任意斜率的直线段。 在状态栏动态显示鼠标光标移动时的位置坐标。-The slope of
cohen_sutherland_clipping
- ohen-sutherland直线裁剪算法(The algorithm also called the encoding algorithm, the clipping window four edges where the line can put the plane into 9 regions, each region of the encoding including four is inside the 0 and 1 (for example, x coordinates less
GDI画笔
- 基于对话框的 MFC 工程,主要是GDI 对象之画笔 CPen的代码:在对话框上有一个 Picture 控件,将此控件的背景填充为黑色;启动一个定时器,每次定时器到时,所有波形数据都前移一个单位,并获取一个 80 以内的随机数作为波形的最后一个数据,然后以绿色画笔在绘图控件上绘制波形。这样就实现了波形的绘制及动态变化。(Dialog based MFC project, GDI is the main object of the brush CPen Code: there is a Pictu