首页> 中文期刊> 《现代电子技术》 >基于 VTK 的数值模拟结果可视化

基于 VTK 的数值模拟结果可视化

         

摘要

VTK 是三维重建方面一个大型的函数库,其应用日益广泛。在对数值模拟软件进行开发时,需要对曲线、等值线、三维场等结果数据进行可视化。在 VC 环境下通过 VTK 类库的调用实现了数值模拟可视化模块的开发。首先对 VTK 进行了源码编译和环境配置。以 VTK 对曲线数据的读取和可视化为例,介绍了通过 C++对 VTK 库的调用方法,并给出了可视化结果,通过 VTK 对灯光、色彩及方位等的控制进一步增强了结果的可视化效果。结果表明,应用 VTK 类库进行数值模拟结果可视化模块的开发具有效率高、效果好、交互性强的特点。%VTK is a large⁃scale function library in the field of three⁃dimensional reconstruction and is widely used in recent years. During the development of some numerical simulation softwares,the visualization of curve,contour and three⁃dimensional data fields is needed. In the environment of VC,using the library of VTK,the visualization module of the numerical simulation was developed. The source code compilation and the environmentconfiguration of VTK are conducted. Taking the the curve data reading and visualization by VTK as an example,the method of reading data and plotting curve by calling the library of VTK with the language of C++ is introduced,and the visualization results are given. The effects can be enhanced by the control of light,color and orientation. The result shows that the visualization module developed based on VTK has high efficiency,high in⁃teraction and good effect.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号