首页 | 官方网站   微博 | 高级检索  
     

三维图形绕坐标轴连续旋转的算法与实现
引用本文:魏东,李冬梅,黄有群.三维图形绕坐标轴连续旋转的算法与实现[J].沈阳工业大学学报,2007,29(6):696-698.
作者姓名:魏东  李冬梅  黄有群
作者单位:沈阳工业大学,信息科学与工程学院,沈阳,110023
基金项目:辽宁省沈阳市科技局资助项目
摘    要:在三维图形处理软件中,用户习惯采用把实体分别绕三个坐标轴旋转以实现连续旋转的界面交互方法,这需要知道三个轴和三个角度,编程实现比较烦琐,为此,提出了一种新的解决方案,即根据实体绕三个坐标轴旋转的角度及先后顺序,依据提出的三个运算公式计算得到一个旋转轴和旋转角度,再根据该旋转轴和旋转角度对物体实施旋转.在编程中,比采用四元数连乘方法计算出一个旋转轴和旋转角度有更高的运算速度,方便程序实现,便于用户界面交互.

关 键 词:连续图形旋转  旋转矩阵  算法  旋转轴  旋转角度
文章编号:1000-1646(2007)06-0696-03
收稿时间:2006-09-04
修稿时间:2006年9月4日

Algorithm and implementation of continuous rotation of three-dimensional graphic around coordinate axis
WEI Dong,LI Dong-mei,HUANG You-qun.Algorithm and implementation of continuous rotation of three-dimensional graphic around coordinate axis[J].Journal of Shenyang University of Technology,2007,29(6):696-698.
Authors:WEI Dong  LI Dong-mei  HUANG You-qun
Abstract:While realizing continuous rotation of the entity by 3D graphic software,user is used to adopt interface interaction approach where the entity rotates around three axes respectively.That needs three rotation axes and three rotation angles,and is hard in programming realization.Aiming at the problem,a new method was proposed to realize convenient continuous rotation of the entity.In the method,three formulae are given to calculate a rotation axis and a rotation angle according to the angles of the entity rotation around three coordinates axis and their sequence,and the calculated axis and the angle used to realize rotation of the entity.Compared with the method of continuous quaternion multiplication,the proposed approach has higher calculating speed and is facility in programming realization as well as user interface interaction.
Keywords:continuous graphic rotation  rotation matrix  algorithm  rotation axis  rotation angle
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《沈阳工业大学学报》浏览原始摘要信息
点击此处可从《沈阳工业大学学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号