计算机与现代化

• 人工智能 • 上一篇    下一篇

基于MFC和OpenGL的虚拟人体经络穴位模型实现方法

  

  1. (1.河南中医药大学信息技术学院,河南郑州450046;2.郑州大学信息工程学院,河南郑州450003;
    3.河南中医药大学第三附属医院,河南郑州450046)
  • 收稿日期:2017-08-16 出版日期:2018-04-03 发布日期:2018-04-03
  • 作者简介:许玉龙(1984-),男,河南许昌人,河南中医药大学信息技术学院副教授,博士,研究方向:智能计算及其在中医药应用; 张佩江(1961-),男,河南长垣人,河南中医药大学信息技术学院、河南中医药大学第三附属医院教授,研究方向:中医经络理论; 通信作者:王忠义(1983-),男,河南兰考人,河南中医药大学信息技术学院讲师,研究方向:计算机图像仿真; 盛梦园(1989-),女,研究方向:计算机仿真。
  • 基金资助:
    国家自然科学基金资助项目(81703946); 河南省科技攻关项目(172102210361,172102310536); 河南省高校重点科研项目(15A520083,16A520060,17B520017); 河南中医药大学博士基金资助项目(BSJJ2015-19)

A Method of Interactive Virtual Human Body Meridian Acupoints System Simulation #br# and Implementation Based on MFC and OpenGL

  1. (1. Institute of Information Technology, Henan University of Chinese Medicine, Zhengzhou 450046, China;
    2. Institute of Information Engineering, Zhengzhou University, Zhengzhou 450003, China;
    3. The 3rd Affiliated Hospital, Henan University of Chinese Medicine, Zhengzhou 450046, China)
  • Received:2017-08-16 Online:2018-04-03 Published:2018-04-03

摘要: 现有人体经络穴位模型较少具有触摸交互功能,本文基于OpenGL(Open Graphics Library)和MFC(Microsoft Foundation Classes)技术框架,仿真实现交互式虚拟人体经络穴位模型系统,并介绍其实现方法和过程。首先建立人体模型以及穴位点、经络线段。然后利用OpenGL和MFC对模型、穴位点、经络线加载和渲染。详细阐述系统实现的框架和流程,以及在开发过程中涉及的关键技术,如使用动态方向调整来显示穴位点名称,使用全局函数传递消息来提高模型加载响应的效率,给出触摸点坐标快速获取的方法。最后将模型成功部署到触摸式一体机上。模型系统具有较好的交互性,无需鼠标,仅用手指触摸即能实现模型的放大、缩小、旋转、定穴、经络循环等操作。模型能够帮助使用者学习经络知识,其穴位记忆功能能够测试使用者对穴位掌握情况,也为穴位爱好者提供较真实的经络穴位学习环境。

关键词: 经络穴位, 虚拟人体, 仿真, 交互式, 触控一体机

Abstract: The existing models of human body meridian acupoints have less interactive function. This paper introduces an interactive virtual human body meridian system simulation and implementation based on MFC and OpenGL, and provides the method and process to simulate that. The 3DMAX is adopted to establish the human body model, acupuncture points and meridian lines. Based on OpenGL and MFC, the model, acupuncture point and meridians lines are loaded and rendered. The paper detailedly explains the framework and process of system implementation, and the key technologies involved in the development process, such as using dynamic direction adjustment to display the name of the acupuncture point, using the global function message to improve the efficiency of loading and responding for the model, the method of rapidly acquiring touch point coordinates. Finally, the model is deployed in a touch machine. The model system has a dynamic interactive function. Without mouse, only by fingers touching, the user can implement the model operations such as amplification, narrow, spin, acupuncture point, meridion cycle, etc. The model system can help users learn the knowledge of acupuncturist and main and collateral channels, its memory function can test the study situation for acupuncture of users, and it can provide a real acupoints environment of learning for the acupuncturist and learner.

Key words: meridian acupoints, virtual human body, simulation, interactive, one-touch machine

中图分类号: