文件名称:Mysplit
-
所属分类:
- 标签属性:
- 上传时间:2008-10-13
-
文件大小:201.26kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
种子填充算法用来在封闭曲线形成的环中填充某中颜色,在这里我们只填充黑色。种子填充其实上是图形学中的算法,其原理是:准备一个堆栈,先将要填充的点push进堆栈中;以后,每pop出一个点,将该点涂成黑色,然后按左上右下的顺序查看它的四个相邻点,若为白(表示还没有填充),则将该邻点push进栈。一直循环,直到堆栈为空。此时,区域内所有的点都被涂成了黑色。这里,我们自己定义了一些堆栈的数据结构和操作,实现了堆栈的初始化、push、pop、判断是否为空、及析构。 -seed filling algorithm used in a closed curve formed by a ring filled with color, here we only filled black. Seed is actually filled with graphics algorithm, and its tenet is : preparing a stack, Filling the first point to push into Stack; After each pop up a point, this point painted black. Press the left, then the right lower in the order View its four adjacent spots, and white (said that it had not yet filled), by being neighbors push into Stack. Has been circulating until the stack is empty. At this point, all the regional point has been Tu became black. Here, our own definition of a stack data structure and operations, the realization of the initial stack, push, pop, to determine whether the air, and destructors.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Mysplit/
Mysplit/DibImage.cpp
Mysplit/DibImage.h
Mysplit/ErZhiHuaDlg.cpp
Mysplit/ErZhiHuaDlg.h
Mysplit/lena.bmp
Mysplit/MainFrm.cpp
Mysplit/MainFrm.h
Mysplit/MuBiaoErZhi.h
Mysplit/Mysplit.aps
Mysplit/Mysplit.clw
Mysplit/Mysplit.cpp
Mysplit/Mysplit.dsp
Mysplit/Mysplit.dsw
Mysplit/Mysplit.h
Mysplit/Mysplit.ncb
Mysplit/Mysplit.opt
Mysplit/Mysplit.plg
Mysplit/Mysplit.rc
Mysplit/MysplitDoc.cpp
Mysplit/MysplitDoc.h
Mysplit/MysplitView.cpp
Mysplit/MysplitView.h
Mysplit/QuYuZhengZhangDlg.cpp
Mysplit/QuYuZhengZhangDlg.h
Mysplit/ReadMe.txt
Mysplit/res/
Mysplit/Resource.h
Mysplit/res/Mysplit.ico
Mysplit/res/Mysplit.rc2
Mysplit/res/MysplitDoc.ico
Mysplit/res/Toolbar.bmp
Mysplit/StdAfx.cpp
Mysplit/StdAfx.h
Mysplit/区域.BMP
Mysplit/印章.bmp
Mysplit/DibImage.cpp
Mysplit/DibImage.h
Mysplit/ErZhiHuaDlg.cpp
Mysplit/ErZhiHuaDlg.h
Mysplit/lena.bmp
Mysplit/MainFrm.cpp
Mysplit/MainFrm.h
Mysplit/MuBiaoErZhi.h
Mysplit/Mysplit.aps
Mysplit/Mysplit.clw
Mysplit/Mysplit.cpp
Mysplit/Mysplit.dsp
Mysplit/Mysplit.dsw
Mysplit/Mysplit.h
Mysplit/Mysplit.ncb
Mysplit/Mysplit.opt
Mysplit/Mysplit.plg
Mysplit/Mysplit.rc
Mysplit/MysplitDoc.cpp
Mysplit/MysplitDoc.h
Mysplit/MysplitView.cpp
Mysplit/MysplitView.h
Mysplit/QuYuZhengZhangDlg.cpp
Mysplit/QuYuZhengZhangDlg.h
Mysplit/ReadMe.txt
Mysplit/res/
Mysplit/Resource.h
Mysplit/res/Mysplit.ico
Mysplit/res/Mysplit.rc2
Mysplit/res/MysplitDoc.ico
Mysplit/res/Toolbar.bmp
Mysplit/StdAfx.cpp
Mysplit/StdAfx.h
Mysplit/区域.BMP
Mysplit/印章.bmp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.