摘要
针对快速成型中STL模型的特点,利用OpenGL提供的选择机制,通过计算STL模型在经过比例、平移、旋转等显示变换后显示模型的顶点坐标与鼠标位置的映射坐标,实现了在STL显示模型上面片的准确选择,并在此基础上实现了在STL显示模型上顶点、边的任意选择。
Based on the characteristics of the STL model and the selection mechanism of the OpenGL,a new way to make the selection of facet on the STL model is presented.This way makes it to be realized by computing the vertex coordinates in the displaying model after the STL model transformation(including scale,translation,rotation)and computing the mapped coordinates of the mouse position.Furthermore,the vertex selection and edge selection are realized on the base of the facet selection.
出处
《计算机工程与应用》
CSCD
北大核心
2004年第17期121-123,共3页
Computer Engineering and Applications
基金
福建省科技计划项目:数字化设计制造技术支持与服务(编号:2002H095)资助