首页 | 本学科首页   官方微博 | 高级检索  
     

基于MFC和OpenGL的快速填充等值线实现
引用本文:孙晓燕,伍增贵. 基于MFC和OpenGL的快速填充等值线实现[J]. 计算机应用研究, 2005, 22(3): 169-170
作者姓名:孙晓燕  伍增贵
作者单位:石油大学,计算机与通信工程学院,山东,东营,257061;石油大学,石油工程学院,山东,东营,257061
摘    要:通过等值线的绘制与填充过程分离的编程思想, 先用OpenGL 硬件加速的光栅化技术实现区域快速填充, 然后利用MFC 下的GDI 绘图功能在相同的区域上绘制等值线。该方法不涉及到复杂的算法, 用很简单的代码就能实现与商业软件视觉效果相媲美的等值线填充效果, 且适用于离散区域为任意形状的多边形网格系统。

关 键 词:等值线填充  OpenGL  可视化  MFC  调色板
文章编号:1001-3695(2005)03-0169-02

Realization of Fast Filling Contours Based on MFC and OpenGL
SUN Xiao-yan,WU Zeng-gui. Realization of Fast Filling Contours Based on MFC and OpenGL[J]. Application Research of Computers, 2005, 22(3): 169-170
Authors:SUN Xiao-yan  WU Zeng-gui
Affiliation:(1.College of Computer&Communication Engineering,University of Petroleum(East China),Dongying Shandong 257061,China;2.College of Petroleum Engineering,University of Petroleum (East China),Dongying Shandong 257061,China)
Abstract:This paper presents a programming idea of drawing and filling contours respectively. First the zone is filled by ta-king advantage of rapid raster display of OpenGL, then on the same zone contourlines are generated by using GDI functions of MFC. Without any complicated algorithm, the program is easily realized, but provides excellent visual effects comparable with commercial software. In addition, the method can be applied to various grid systems.
Keywords:Contours Fill  OpenGL  Visualization  MFC  Palette
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机应用研究》浏览原始摘要信息
点击此处可从《计算机应用研究》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号