Reading and Controlling on UG Files by OpenGL Based on Object-oriented Methods
Aimed at the problem of reading and controlling UG files by OpenGL in VC++ environment,a method of object-oriented programming is proposed.The OpenGL single document,multiple documents and visualization windows are created by using the classified idea in VC++ environment.PRT format data files of UG are converted to DXF format data files.Not only the conversion rate but also the conversion quality of different format data file are ensured by using the intermediate conversion format CGM and the problems of redundancy lines and view missing are prevented.DXF files are converted to 3DS files by 3DS MAX software.Controlling and redrawing of UG files in OpenGL are realized.The Object-oriented method is better than process-oriented program design method on the reliability and operability of procedure.The method has been applied in the virtual CNC milling system and provided a theoretical basis for the development of visualization system.
OpenGL UG Object Oriented VC++
Xiulin Sui Yaze Li Jiatai Zhang Jiwu Jiang
School of Mechantronics Engineering, Harbin Engineering University, Harbin 150001, China ;College of College of Mechanical and Power Engineering, Harbin University of Science and Technology,Harbin 1500 School of Mechantronics Engineering, Harbin Engineering University, Harbin 150001, China
国际会议
重庆
英文
3981-3986
2010-12-11(万方平台首次上网日期,不代表论文的发表时间)