摘要
基于OpenGL结合MFC设计了显示大量数据的显示系统。显示系统使用颜色等深图显示数据的变化情况,设计中系统地解决了3个问题:首先提出了将数据依据数值大小映射到颜色的颜色映射方案;其次提出了在MFC架构下使用OpenGL进行绘图的框架,框架使用面向对象的方法解决了OpenGL与MFC衔接;最后在镜片面型显示中应用相关的设计结果,基于框架及颜色映射方案设计程序将镜片面型用颜色等深图的方法显示出来。实验结果证明,设计的数据显示系统可以方便地显示大规模的数据,在数据显示可视化中有着广泛的应用。
The system to display large scale data was designed based on MFC and OpenGL. The system uses different co-lours to display the variation of data. Three problems were solved systematically in the design. The color mapping method is pro-posed, which maps the data to different colors according to data's value. A drawing framework using object-oriented approach to settle down the connection between OpenGL and MFC is put forward. The relevant design results are applied to the lens' surface figure display to display the lens' surface shape by color depth map based on the framework and the color mapping method. The experiment results prove that the display system designed can display large scale data conveniently, and can be widely used in data visualization.
出处
《现代电子技术》
2013年第14期108-111,共4页
Modern Electronics Technique
基金
国家重大科技专项02专题(2009ZX02205)资助