文件名称:Mysplit

  • 所属分类:
  • 其它资源
  • 资源属性:
  • [Windows] [Visual C] [源码]
  • 上传时间:
  • 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.
(系统自动生成,下载前可以参看下载内容)

下载文件列表

压缩包 : 47651484mysplit.zip 列表
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

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org