摘要
可视化仿真采用MFC编写OpenGL程序,对于一些一次函数的几何图形,先确定其顶点的空间位置,然后由所定的顶点画出每个面,最后组合成三维实体。对于属于二次函数的图形,本仿真程序采用空间坐标变换的方法,选择特殊点作为新坐标系的原点,将有代表性的矢量作为新坐标系的Z轴。这个方法大幅度地简化了可视化建模过程,实现了辐射屏蔽体的可视化仿真。
In this paper, the visual simulation programs are written by OpenGL with MFC. For the geometric figures of the linear functions, their vertexes in the space have been determined. Based on those points, the faces can be drawn, and then the 3D solid can be modeled. In figures of the quadratic functions, the method of space alternate coordinate has been used. A special point has been selected as the origin and a representative vector has been selected as the Z axis of new coordinate system. Using these methods the mathematical models can be rapidly determined and visual simulations of radioactive shield configurations have been realized.
出处
《计算机应用研究》
CSCD
北大核心
2003年第6期55-56,84,共3页
Application Research of Computers
基金
国家自然科学基金(60074032)
关键词
可视化仿真
几何图形
二次函数
数学模型
Visual Simulation
Geometric Figures
Quadratic Functions
Mathematical Models