计算机模拟中可视化的范型实现方法  被引量:3

Visualization in computer simulation implemented by generic programming

在线阅读下载全文

作  者:唐德翔[1,2] 王利民 葛蔚[1] 

机构地区:[1]中国科学院过程工程研究所多相开放实验室,北京100080 [2]中国科学院研究生院,北京100039 [3]不详

出  处:《计算机与应用化学》2006年第5期440-444,共5页Computers and Applied Chemistry

基  金:国家重点基础研究发展规划项目(G1999032801);国家自然科学基金(20336040;20221603);中国科学院知识创新工程信息化建设专项基金(INF105-SCE-2-07)资助.

摘  要:可视化技术能在计算模拟中提供可观察的直观图像,是分析和研究模拟现象的重要手段。本文运用C++的范型编程思想,将OpenGL的实时3D显示功能集成在一个封闭的类模板中,使其通用化,克服了直接调用OpenGL函数导致的程序结构不清晰和代码可复用性差的缺点,大大简化了计算模拟中实现可视化的方法步骤。Visualization in computer simulation can provide clear pictures for researchers and so becomes an important means of analyzing 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.

关 键 词:计算机模拟 实时3D可视化 范型编程 OPENGL 

分 类 号:O643[理学—物理化学]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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