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

计算机模拟中可视化的范型实现方法
引用本文:唐德翔,王利民,葛蔚. 计算机模拟中可视化的范型实现方法[J]. 计算机与应用化学, 2006, 23(5): 440-444
作者姓名:唐德翔  王利民  葛蔚
作者单位:中国科学院过程工程研究所多相开放实验室,北京,100080;中国科学院研究生院,北京,100039;中国科学院过程工程研究所多相开放实验室,北京,100080
基金项目:国家研究发展基金;中国科学院资助项目;中国科学院知识创新工程项目
摘    要:
可视化技术能在计算模拟中提供可观察的直观图像,是分析和研究模拟现象的重要手段。本文运用C 的范型编程思想,将OpenGL的实时3D显示功能集成在一个封闭的类模板中,使其通用化,克服了直接调用OpenGL函数导致的程序结构不清晰和代码可复用性差的缺点,大大简化了计算模拟中实现可视化的方法步骤。

关 键 词:计算机模拟  实时3D可视化  范型编程  OpenGL
文章编号:1001-4160(2006)05-440-444
收稿时间:2005-10-18
修稿时间:2005-10-182006-03-18

Visualization in computer simulation implemented by generic programming
Tang Dexiang,Wang Limin,Ge Wei. Visualization in computer simulation implemented by generic programming[J]. Computers and Applied Chemistry, 2006, 23(5): 440-444
Authors:Tang Dexiang  Wang Limin  Ge Wei
Affiliation:1. Multi-phase Reaction Laboratory, Institute of Process Engineering, Chinese Academy of Sciences, Beijing, 100080, China; ; 2. Graduate School of the Chinese Academy of Sciences, Beijing, 100039, China
Abstract:
Visualization in computer simulation can provide clear pictures for researchers and so becomes an important means of analy- zing simulated phenomena.In this paper,the thinking of Generic programming in C language is used to encapsulate OpenGL's 3D realtime-visualization into a class template,which overcomes the shortcomings of dim structure and bad reusable codes when directly calling the API functions in C language codes,and make the usage of 3D visualization in computer simulation great more conveniently.
Keywords:computer simulation  3D real-time visualization  generic programming  OpenGL  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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