为了方便地展示复杂模型各零件之间的三维结构,并清楚地揭示出它们之间的层次装配约束关系,提出一个面向用户交互的装配模型浏览系统.通过构造层次有向拆卸图来保存各零件的拆卸顺序,并采用递归法创建其干涉矩阵和拆卸有向图;装配约束图中的各顶点均用相应零件的图像来表示,以便于用户直观地选择所关注零件.由于采用了focus+context的方式来生成装配约束图,用户所关注零件的局部邻域被自动调整到视图的中心,并且放大显示.另外还提出了一种基于用户关注度的零件颜色自动选取算法,通过鲜明的颜色对比进一步突出用户所关注的装配关系.实验结果证明,该系统有效地提高了用户交互以及装配效率.
To illustrate the spatial relationship of all parts in a complex model and demonstrate the hierarchical assembly constraints among them,we present a novel system allowing users to interactively visualize the assembly models.The system records the disassembly sequence of the model as a hierarchical directional disassembly graph by creating the interference matrix and the directional disassembly graph recursively.Each vertex in the assembly constraint graph is represented as an image of the corresponding part,enabling the users to select the interested part intuitively.The focus+context method is employed to display the assembly constraint graph,user interested part is always placed at the center of the view and magnified automatically.Besides,we assign a different color for each part based on user attention so as to enhance the assembly relationship with color contrasts.Experimental results show that our system can effectively improve user interaction and assembly efficiency.