节点文献
基于VTK的数值模拟结果可视化
VTK-based visualization of numerical simulation results
【摘要】 VTK是三维重建方面一个大型的函数库,其应用日益广泛。在对数值模拟软件进行开发时,需要对曲线、等值线、三维场等结果数据进行可视化。在VC环境下通过VTK类库的调用实现了数值模拟可视化模块的开发。首先对VTK进行了源码编译和环境配置。以VTK对曲线数据的读取和可视化为例,介绍了通过C++对VTK库的调用方法,并给出了可视化结果,通过VTK对灯光、色彩及方位等的控制进一步增强了结果的可视化效果。结果表明,应用VTK类库进行数值模拟结果可视化模块的开发具有效率高、效果好、交互性强的特点。
【Abstract】 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 interaction and good effect.
【Key words】 function library; visualization of result data; development of numerical simulation software; VTK;
- 【文献出处】 现代电子技术 ,Modern Electronics Technique , 编辑部邮箱 ,2013年06期
- 【分类号】TP391.41
- 【被引频次】10
- 【下载频次】157