基于UGII的反求工程数据处理技术研究与系统开发
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
本文针对目前UGII与反求工程系统存在的不足,以Visual Studio.NET 2003为开发工具,开展了UGII反求工程模块的部分研发工作。论文主要完成的研究内容如下:
    (1)通过研究UG/Open API接口技术和UDO方法,设计了点云类,创建了点云对象、UDO类及对象,并结合C++纯虚函数技术,成功地将海量数据点以像素点的形式显示在UGII系统的主窗口中;
    (2)通过采用WINDOWS API函数和UG/OPEN C API函数获取了UGII的主窗口指针,利用鼠标钩子捕捉鼠标点的屏幕位置,并进一步通过OpenGL API函数将世界坐标系下的点映射到窗口坐标系下,结合多边形内外点的判断算法,在UGII中实现了点云的交互区域分割;
    (3)通过研究支持数据动态管理的空间数据结构R-tree,在优选其变种R*-tree作为本课题的点云空间数据结构的基础上,提出了一种在R*-tree中搜索数据点K近邻的算法;
    (4)通过研究固定球拟合、坐标转换及数据融合算法,提出了一种基于最小二乘球的多视点云拼合算法,并与UGII系统无缝集成,该算法可快速、精确地对多视点云数据进行对齐与融合;
    (5)研究了曲率估算方法和数据精简原则,提出了一种适用于任意类型测量点云的曲率精简算法,将其集成到UGII系统后,实现了对大量密集数据点直接、有效地精简;
    (6)通过分析已有散乱数据三角网格剖分算法,制定了候选点有效准则、匹配点查找及优化准则和四种数据更新方法,提出了一种通用的三角网格快速剖分算法——螺旋波扩展法,实现了散乱数据的快速、高质量地三角网格剖分;
    (7)实现了四种三角网格后处理算法,包括:内外边界提取、数据分块、网格自适应加密及网格模型抽壳,为快速构建特征线、有限元分析及快速原型奠定了基础。
Since there are some shortcomings in reverse engineering systems and UGII, part of reverse engineeringsystem based on UGII is researched and developed with Visual Studio.NET 2003. The achievements of thispaper are as follows:
    (1) With the research of the interface technique about UG/Open API and the UDO method, the pointcloud class is designed, the point cloud object, the UDO class and object are created, and a large number ofpoints are displayed in the main window of UGII as pixel points with the pure virtual functions of the C++.
    (2)Through obtaining the main window pointer of UGII by functions of windows API and UG/OPEN CAPI, capturing the mouse coordinates in the screen by setting a mouse hook, and projecting the points of theworld coordinate system by calling OpenGL API functions, a point cloud is partitioned into two regions inUGII based on an algorithm of point in-out polygon test.
    (3) With the research of the spatial data structure called R-tree which supports dynamic data-managementand the selection of its variation — R*-tree as the spacial data structure of this project, a searching algorithmof K nearest neighbor points in R*-tree is proposed.
    (4) Through researching the algorithms of fitting fixed-sphere, transforming coordinates and dataintegration, the algorithm of registration and integration based on least-square sphere is proposed andintegrated with UGII, which can registrate and integrate multi-view point cloud data rapidly and accurately.
    (5) Through researching the algorithm of curvature estimate and the principle of data reduction, the datareduction algorithm based on curvature estimation is proposed and integrated with UGII, which can beapplied to any kind of measured data and reduces the mass and dense points directly and effectively.
    (6) Through analyzing several previous algorithms of triangulation for scattered data, and establishing theeffective criterion for candidate points, the search and optimizing criterions for match points and fourmethods of data updating, a universal and fast mesh generation algorithm named helix-wave expandingmethod is proposed, which can generate high-quality triangular mesh quickly.
    (7) Four algorithms of mesh postprocessing are realized, including inside and outside boundary extraction,data segment, adaptive mesh refinement and mesh model hollowing, which establish the groundwork forfeature line construction, finite element analysis and rapid prototyping.
引文
[1] 金涛.反求工程中产品三维模型重建技术及应用研究:博士学位论文.杭州:浙江大学,2000
    [2] YJD Chen. Smooth surface fitting and finite element mesh generation for irregularly distributed data points. Advances in Design Automation, 1993, 65(2): 7~14
    [3] David G. Alciatore, Terry T. Wohlers. Importing and reshaping digitized data for use in rapid prototyping: A system for sculpting polygonal mesh surfaces. Rapid Prototyping Journal, 1996, 2(1): 13~23
    [4] 朱玉红.反求工程中的三维测量技术.计量技术,2004,(10):5~7
    [5] 熊会元,宗志坚,高群等.数控激光扫描测量系统.机械设计与制造,2004,(5):17~19
    [6] S Son, H Park, KH Lee. Automated laser scanning system for reverse engineering and inspection. International Journal of Machine Tools & Manufacture, 2002, 42(8): 889~897
    [7] 陈志扬.逆向工程技术——应用及软件.CAD/CAM 与制造业信息化,2003,(7):88~92
    [8] 将实物零部件转化为可制造的数字模型的唯一全面的解决方案.http:// www. geomagic.com/zh/ products/studio
    [9] ICEM Surf 特征和优点.http://www.ptc.com/china/products/icem/icem_08d.htm
    [10] Complete Freeform Modeling and Inspection Technology. http://www.ugs.com/ products/nx/ imageware
    [11] 从 数 字 化 数 据 产 生 复 杂 表 面 ——CopyCAD . http://www.delcam.com.cn/zhx/copycad/ cadmain.html
    [12] 柯映林等著.反求工程 CAD 建模理论、方法和系统.北京:机械工业出版社,2005
    [13] UGS. Unigraphics NX 2 产品特点及常用模块功能介绍.UG 产品介绍,2004
    [14] 董正卫,田立中,付宜利.UG/OPEN API 编程基础.北京:清华大学出版社,2002
    [15] 马晓丽,孙殿柱.基于 UG 二次开发的菜单制作技术.山东理工大学学报(自然科学版),2004, 18(5):33~37
    [16] 何炳蔚,林志航.逆向工程中的数据点云的分割.机械制造,2003,(10):11~14
    [17] 福利等著. 计算机图形学导论.北京:机械工业出版社,2004
    [18] 李维诗,李江雄,柯映林.平面多边形方向及内外点判断的新方法.计算机辅助设计与图形学学 报,2000,12(6):405~407
    [19] Feito F, Torres J C. Inclusion test for general polyhedron. Computer and Graphics, 1997, 21 (1): 23~30
    [20] 张宁宁,张树有,谭建荣.映射相关边概念的多边形内外点判别算法.计算机辅助设计与图形 学学报,2004,16(7):935~938
    [21] Wu Huayi, Gong Jianya, Li Deren, etal. An algebraic algorithm for point inclusion query. Computer and Graphics, 2000, 24(4): 517~522
    [22] 李基拓,陆国栋,冯星.基于单调性与相关边的多边形内外点判断算法.中国图象图形学报, 2002,7(6):596~600
    [23] Guttman A. R-trees: a dynamic index structure for spatial Searching. SIGMOD Record, 1984, 14(2): 47~57
    [24] Sellis T, Roussopoulos N, Faloutsos C. The R+-Tree: A Dynamic Index for Multi-dimensional Objects. VLDB, 1987: 507~518
    [25] Beckman N, Kriegel HP, Schneider R, etal. The R*-tree: an efficient robust access method for points and rectangles. Proc. ACMSIGMOD Int. Conf. on management of data. Atlantic city, NJ, 1990: 322~331
    [26] King-Ip Lin, HV Jagadish, Christos Faloutsos. The TV-Tree: An Index Structure for High- Dimensional Data. The VLDB Journal,1994,3(4): 517~542
    [27] Berchtold S, Keim D, Kriegel HP. The X tree: An Index structure for high dimensional data.22d Conf. on very large databases. Bombay, India, 1996:28~39
    [28] Yasushi Sakurai, Masatoshi Yoshikawa, Shunsuke Uemura, etal. The A-tree: An Index Structure for High-Dimensional Spaces Using Relative Approximation. Proceedings of the 26th VLDB Conference, Cairo, Egypt, 2000: 516~526
    [29] 郭菁,郭薇,胡志勇.大型 GIS 空间数据库的有效索引结构 QR-树.武汉大学学报 (信息科学 版),2003,28(3):306~310
    [30] 梅承力,周源华.高维数据空间索引的研究.红外与激光工程,2002,31(1):77~81
    [31] 胡志勇,郭薇.空间数据库索引研究.计算机研究与发展,2000,37(增刊):164~169
    [32] Shekhars, Chawlas.谢昆青等(译).空间数据库.北京:机械工业出版社,2004
    [33] 陈慧,何兴恒,胡娟.空间散乱点数据的八叉树分解法.中国科技信息,2005,(22):54~55
    [34] 权毓舒,何明一.基于三维点云数据的线性八叉树编码压缩算法.计算机应用研究,2005,(8): 70~72
    [35]王磊,邢渊.反向工程中数据点云的拼合.模具技术,2004,(1):47~50
    [36] 黄诚驹,齐荣. 基于 ATOS 测量系统原型曲面快速数字测量及处理.机电产品开发与创新, 2004,17(4):79~80
    [37] Xie Zexiao, Wang Jianguo, Zhang Qiumei.Complete 3D measurement in reverse engineering using a multi-probe system. International Journal of Machine Tools & Manufacture, 2005, 45(12): 1474~1486
    [38] 黄国珍,卢章平.面向逆向工程的点云数据精简方法.机械设计与研究,2005,21(3):59~61
    [39] KH Lee, H Woo, T Suk. Data reduction methods for reverse engineering.International Journal of Advanced Manufacturing Technology, 2001, 17(10):735~743
    [40] YH Chen, CT Ng, YZ Wang. Data reduction in integrated reverse engineering and rapid prototyping. International Journal of Computer Integrated Manufacturing, 1999, 12(2): 97~103
    [41] 洪军,丁玉成,曹亮等.逆向工程中的测量数据精简技术研究.西安交通大学学报,2004,38(7): 661~664
    [42] 周绿,林亨,钟约先等.曲面重构中测量点云精简方法的研究.中国制造业信息化,2004,33(5): 102~104
    [43] 张永春,达飞鹏,宋文忠. 三维散乱点集的曲面三角剖分. 中国图象图形学报,2003,8(12): 1379~1388
    [44] DV Phillips, OC Zienkiewicz. Automatic mesh generation scheme for plane and curved surfaces by 'isoparametric' co-ordinates. Int J Numer Methods Eng, 1971, 3(4) : 519~528
    [45] Hugues Hoppe. Surface reconstruction from unorgnized points. PH.D Thesis. University of Washington, 1994
    [46] Bowyer A. Computing dirichlet tessellations. Computer Journal, 1981, 24(2), 162~166
    [47] Vigo Marc, Pla Nuria. Computing directional constrained Delaunay triangulations. Computers and Graphics, 2000, 24(2): 181~190
    [48] Joe Barry, Wang Cao An. Duality of constrained voronoi diagrams and delaunay triangulations. Algorithmica, 1993, 9(2): 142~155
    [49] Chew L Paul, Chrisochoides Nikos, Sukup Florian. Parallel constrained Delaunay meshing. American Society of Mechanical Engineers, 1997, 220(7): 89~96
    [50] H Edelsbrunner, EP Mucke. Three-dimensional alpha shapes. ACM Transactions on Graphics, 1994, 13(1):43~72
    [51] 王青,王融清,鲍虎军等.散乱数据点的增量快速曲面重建算法.软件学报,2001,11(9): 1221~1227
    [52] 谭建荣,李立新.基于曲面局平特性的散乱数据拓扑重建算法.软件学报,2002,13(11): 2121~2126
    [53] 单东日,柯映林.基于二维Delaunay 近邻的空间散乱数据曲面重建算法.中国机械工程,2003, 14(9):756~759
    [54] 董辰世,汪国昭.一个利用法矢的散乱点三角剖分算法.计算机学报,2005,28(6):1000~1005
    [55] AK Cline, RJ Renka. Constrained two-dimensional triangulation and the solution of closest node problems in the presence of barriers. SIAM Journal on Numerical Analysis, 1990, 27(5): 1305~1321
    [56] BK Choi, HY Shin, YI Yoon, etal. Triangulation of scattered data in 3D space. Computer Aided Design, 1988, 20(5): 239~248
    [57] JC Cavendish. Automatic triangulation of arbitrary planer domains for the finite elelment method. International Journal for Numerical Methods in Engineering, 1974, 8(4): 679~696
    [58] Lohner R, Parikh P. Generation of three-dimensional unstructured grids by the adcancing-front method. International Journal for Numerical Methods in Fluids, 1988, 8(10): 1135~1149
    [59] SH Lo. Volume discretization into tetrahedral I Verification and orientation of boundary surfaces. Computers and Structures, 1991, 39(5): 493~500
    [60] Moller Peter, Hansbo Peter. On advancing front mesh generation in three dimensions. International Journal for Numerical Methods in Engineering, 1995, 38(21): 3551~3569
    [61] 肖双九.反求工程中三角网格划分及其应用的关键算法研究:博士学位论文.西安:西北工业 大学,2001
    [62] J Huang, CH Menq. Combinational manifold mesh reconstruction and optimization from unorganized points with arbitrary topology. Computer-Aided Design, 2002, 34(2): 149~165
    [63] 熊歆斌,宁涛,唐荣锡. 逆向工程中散乱数据点三角剖分的波前算法. 北京航空航天大学学 报,2004,30(4):325~328
    [64] 李江雄.反求工程中复杂曲面边界线的自动提取技术. 机械设计与制造工程,2000,29(2): 26~28
    [65] 白仲栋,彭炎午.复杂曲面反求工程中的边界处理技术研究. 机械科学技术,2001, 20(4): 481~482
    [66] 柯映林,范树迁. 基于点云的边界特征直接提取技术.机械工程学报,2004,40(9):116~120
    [67] Andre Meyer, Philippe Marin. Segmentation of 3D triangulated data points using edges constructed with a C1 discontinuous surface fitting. Computer-Aided Design, 2004, 36(13): 1327~1336
    [68] 柯映林,单东日.基于边特征的点云数据区域分割.浙江大学学报(工学版),2005,39(3): 377~396
    [69] He Meifang, Zhou Laishui, Zhang Liyan. Segmentation of scattered point data through a new curvature analysis algorithm. Journal of Southeast University, 2004, 20(1):90~95
    [70] H Woo, E Kang, S Wang, etal. A new segmentation method for point cloud data. International Journal of Machine Tools & Manufacture, 2002, 42(2): 167~178
    [71] 董明晓,郑康平,许伯彦.一种点云数据的区域分割方法.机械设计,2004,21(10):38~40
    [72] 史桂蓉,邢渊,张永清. 用神经网络进行散乱点的区域分割. 机械科学与技术,2002,21(4): 659~661
    [73] 刘雪梅,张树生,洪歧等.在逆向工程中用神经网络实现点云数据分区.计算机工程与应用, 2004,(28):96~98
    [74] 关振群,宋超,顾元宪等.有限元网格生成方法研究的新进展.计算机辅助设计与图形学学报, 2003,15(1):1~14
    [75] 黄晓东,杜群贵,叶邦彦.三维实体有限元自适应网格规划生成.计算机辅助设计与图形学学 报,2005,17(7):1446~1451
    [76] 杜群贵,刘树道,叶邦彦等.曲面有限元网格引线织就生成法.机械工程学报,2005,41(7): 211~215
    [77] GH Liu, YS Wong, YF Zhang, etal. Modelling cloud data for prototype manufacturing. Journal of Materials Processing Technology, 2003, 138(1): 53~57
    [78] 张征宇,洪军,丁玉成等.基于 STL 模型的抽壳方法研究.西安交通大学学报,2004,38(1): 35~38

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700