您的位置:山东大学 -> 科技期刊社 -> 《山东大学学报(工学版)》

山东大学学报(工学版) ›› 2009, Vol. 39 ›› Issue (6): 78-81.

• 机械工程 • 上一篇    下一篇

基于Python的GTK+与VTK混合编程及应用

李心成,孙殿柱   

  1. 山东理工大学机械工程学院, 山东 淄博 255091
  • 收稿日期:2009-02-20 出版日期:2009-12-16 发布日期:2009-12-16
  • 作者简介:李心成(1983-),男,山东泰安人,硕士研究生,研究方向为CAD/CAM 一体化、逆向工程、先进制造技术.E-mail:lixincheng214@163.com
  • 基金资助:

    国家高技术研究发展计划(863计划)资助项目(2006AA04Z105)

The  GTK+ and VTK programming based on Python and its application

  • Received:2009-02-20 Online:2009-12-16 Published:2009-12-16

摘要:

采用Python语言封装GTK+与VTK的函数接口,实现VTK渲染窗口在GTK+界面中的嵌入.通过Glade图形界面生成器生成GTK+图形界面,采用C/C+〖KG-*3]+语言编写GUI应用程序功能模块并封装成python接口函数库,完成GTK+界面模块、渲染模块和功能模块的有机集成.实例证明该方法可有效提高应用程序开发效率,研发的应用程序系统可移植性好、运行效率高.

关键词: null

Abstract:

The technology of the GTK+graphical library and the VisualizationToolKit (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 efficiently obtain the GUI system which had strong adaptability and portability.

Key words: Python; GTK+; VTK; GUI development

中图分类号: 

  • null
[1] 刘涛 贾磊 朱文兴. 考虑相关车流的交通流格子模型[J]. 山东大学学报(工学版), 2009, 39(6): 63-67.
[2] 张玉华 王欣. 基于线性判别分析的加权零空间算法及在人脸识别中的应用[J]. 山东大学学报(工学版), 2009, 39(6): 31-34.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!