摘要
采用Python语言封装GTK+与VTK的函数接口,实现VTK渲染窗口在GTK+界面中的嵌入.通过Glade图形界面生成器生成GTK+图形界面,采用C/C++语言编写GUI应用程序功能模块并封装成python接口函数库,完成GTK+界面模块、渲染模块和功能模块的有机集成.实例证明该方法可有效提高应用程序开发效率,研发的应用程序系统可移植性好、运行效率高.
The technology of the GTK + graphical library and the Visualization ToolKit (VTK) based on Python was proposed, which includes four steps: first, the graphical user interface was built by user interface builder for GTK; second, the GTK+ and VTK functions interface was encapsulated by Python language; third, the VTK rendering window was embedded in GTK + interface; fourth, the function modules of system were realized by C/C + + language. It was proved that the application of the technology could quickly and efficienfly obtain the GUI system which had strong adaptability and portability.
出处
《山东大学学报(工学版)》
CAS
北大核心
2009年第6期78-81,共4页
Journal of Shandong University(Engineering Science)
基金
国家高技术研究发展计划(863计划)资助项目(2006AA04Z105)