›› 2014, Vol. 27 ›› Issue (8): 1-.

• 论文 •    下一篇

基于OpenGL的桥梁3D可视化软件开发

周洲,张立成,周林英,郝茹茹   

  1. (1.长安大学 信息工程学院,陕西 西安 710064;2.长安大学 电子与控制工程学院,陕西 西安 710064)
  • 出版日期:2014-08-15 发布日期:2014-07-21
  • 作者简介:周洲(1981—),男,博士,工程师。研究方向:智能交通与信息系统工程。E-mail:zhouzhou@chd.edu.cn
  • 基金资助:

    中央高校基本科研业务费专项基金资助项目(0009-2014G1241046;0009-2014G1321034;0009-2014G1241044)。

Development of 3D Visualization Software of Bridge Based on OpenGL

ZHOU Zhou,ZHANG Licheng,ZHOU Linying,HAO Ruru   

  1. (1.School of Information Engineering,Chang'an University,Xi'an 710064,China;
    2.School of Electronic & Control Engineering,Chang'an University,Xi'an 710064,China)
  • Online:2014-08-15 Published:2014-07-21

摘要:

如何给Fortran语言开发的工程计算程序增加可视化功能是一个技术难题。文中以VC++ 8.0作为开发平台,采用动态链接库、进程通信和共享文件等技术实现界面程序与后台Fortran计算程序之间的信息交互,并运用OpenGL函数库实现桥梁有限元模型的三维显示及工程计算的可视化。以上技术既可发挥Fortran语言在科学计算方面的优势,充分利用工程研究人员多年积累的代码资源,同时又可增强软件在人机对话、交互处理、图形显示等方面的功能。

关键词: 工程计算, Fortran, VC++, OpenGL, 可视化

Abstract:

The integration of engineering visualization capabilities into those programs developed with FORTRAN language is a technical problem for many engineering researchers.In this paper,Visual C++ 8.0 is adopted as the development platform.Dynamic link libraries,process communication and shared file are used to achieve information exchange between user interface process and FORTRAN calculation process in the background.OpenGL libraries are used to achieve three-dimensional display for finite element model of bridge and visualization of engineering calculation.These techniques can not only give full play to the advantages of FORTRAN language in scientific computing,but make full use of code resources accumulated by engineering researchers over the years,and enhance the software in human-computer dialogue,interactive processing and graphical display.

Key words: engineering calculation;FORTRAN;VC++;OpenGL;visualization

中图分类号: 

  • TP319