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

山东大学学报(工学版) ›› 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): 31-34.
[2] 刘涛 贾磊 朱文兴. 考虑相关车流的交通流格子模型[J]. 山东大学学报(工学版), 2009, 39(6): 63-67.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
[1] 李 侃 . 嵌入式相贯线焊接控制系统开发与实现[J]. 山东大学学报(工学版), 2008, 38(4): 37 -41 .
[2] 来翔 . 用胞映射方法讨论一类MKdV方程[J]. 山东大学学报(工学版), 2006, 36(1): 87 -92 .
[3] 余嘉元1 , 田金亭1 , 朱强忠2 . 计算智能在心理学中的应用[J]. 山东大学学报(工学版), 2009, 39(1): 1 -5 .
[4] 陈瑞,李红伟,田靖. 磁极数对径向磁轴承承载力的影响[J]. 山东大学学报(工学版), 2018, 48(2): 81 -85 .
[5] 王波,王宁生 . 机电装配体拆卸序列的自动生成及组合优化[J]. 山东大学学报(工学版), 2006, 36(2): 52 -57 .
[6] 张英,郎咏梅,赵玉晓,张鉴达,乔鹏,李善评 . 由EGSB厌氧颗粒污泥培养好氧颗粒污泥的工艺探讨[J]. 山东大学学报(工学版), 2006, 36(4): 56 -59 .
[7] Yue Khing Toh1 , XIAO Wendong2 , XIE Lihua1 . 基于无线传感器网络的分散目标跟踪:实际测试平台的开发应用(英文)[J]. 山东大学学报(工学版), 2009, 39(1): 50 -56 .
[8] 孙炜伟,王玉振. 考虑饱和的发电机单机无穷大系统有限增益镇定[J]. 山东大学学报(工学版), 2009, 39(1): 69 -76 .
[9] 孙玉利,李法德,左敦稳,戚美 . 直立分室式流体连续通电加热系统的升温特性[J]. 山东大学学报(工学版), 2006, 36(6): 19 -23 .
[10] 王勇, 谢玉东.

大流量管道煤气的控制技术研究

[J]. 山东大学学报(工学版), 2009, 39(2): 70 -74 .