基于MFC和OpenGL的快速填充等值线实现  被引量:8

Realization of Fast Filling Contours Based on MFC and OpenGL

在线阅读下载全文

作  者:孙晓燕[1] 伍增贵[2] 

机构地区:[1]石油大学计算机与通信工程学院,山东东营257061 [2]石油大学石油工程学院,山东东营257061

出  处:《计算机应用研究》2005年第3期169-170,172,共3页Application Research of Computers

摘  要:通过等值线的绘制与填充过程分离的编程思想,先用OpenGL硬件加速的光栅化技术实现区域快速填充,然后利用MFC下的GDI绘图功能在相同的区域上绘制等值线。该方法不涉及到复杂的算法,用很简单的代码就能实现与商业软件视觉效果相媲美的等值线填充效果,且适用于离散区域为任意形状的多边形网格系统。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.

关 键 词:等值线填充 OPENGL 可视化 MFC 调色板 

分 类 号:TP391.41[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象