作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2004, Vol. 30 ›› Issue (17): 186-187.

• 论文 • 上一篇    下一篇

鼠标跟踪球技术的简单类实现

庞明勇,卢章平   

  1. 南京大学虚拟现实与数字媒体研究中心,江苏大学图形技术研究所 南京 210093
  • 发布日期:2004-09-15

Implementation of Simple Class of Mouse Tracking Ball

PANG Mingyong1, LU Zhangping2   

  1. (1. Research Center for Virtual Reality and Digital Media, Nanjing University, Nanging 210093;2. Institute of Computer Graphics Technology, Jiangsu University, Zhenjiang 212013)
  • Published:2004-09-15

摘要: 鼠标跟踪球技术是图形环境中一种重要的人机交互手段。文章分析了跟踪球技术的原理和机制,以短小精悍的形式实现了一个跟踪球类。实际应用表明,类程序运行快速稳定,可用于一般的图形交互程序中。

关键词: 鼠标跟踪球, 类实现, 交互操作, OpenGL

Abstract: The mouse tracking ball (MTB) is an important technology to control objects rotating freely in interactive computer graphical environment. In this paper, the principle and carrying mechanics of MTB are analyzed and a short and efficient C++ class of MTB is implemented. Running program, in which MTB class is embedded, indicates that the class can rapidly respond the mouse and can be used in OpenGL applications.

中图分类号: