现有线对象三角剖分算法没有顾及线对象的整体结构特征,导致三角剖分质量不高,难以支持大数据量的矢量制图和高更新率的动态制图。本文提出线对象的惯性函数,设计了一种线对象的单调分解与三角剖分方法。惯性函数的单调递增区间作为线对象的渐变区间,连续剖分为一个优化的三角形条带;惯性函数的单调递减区间作为线对象的突变区间,离散剖分为一个优化的三角形扇。试验表明:本文方法三角剖分的顶点、三角形、图元的个数均优于基于顶点和基于线段的三角剖分方法,能够显著提升线对象的绘制效率。本文方法也适用于封闭线型、宽度渐变线型与光滑线型。
Without taking polyline global structure into consideration, current polyline tessellation methods tend to make low quality decomposition. It makes them difficult to support vector mapping with large dataset and dynamic mapping with high update rate. This paper proposed a polyline momentum function and designed a monotone decomposition and tessellation method. The monotonous increasing intervals of the momentum function, as the gradient intervals of polyline, are divided continuously into optimized triangle strips. The monotone decreasing intervals of the momentum function, as the mutational intervals of polyline, are divided discretely into optimized triangle fans. The experiment results show that the decomposition quality measured by the numbers of triangulation vertices, triangles and primitives using this method are better than that based on vertex and line segment and can significantly improve the drawing efficiency for polyline. This method is also applicable to closed, width gradient and smooth line style.
[1] RENHART Y. Fast Map Rendering for Mobile Devices[D]. Gothenburg:University of Gothenburg, 2009.
[2] RÖSSLER L. Rendering Interactive Maps on Mobile Devices Using Graphics Hardware[D]. Vienna:Vienna University of Technology, 2012.
[3] ROUGIER N. Shader-based Antialiased Dashed Stroked Polylines[J]. Journal of Computer Graphics Techniques, 2013, 2(2):91-107.
[4] Category System. A Realistic 2D Drawing System[EB/OL].[2003-06-19]. http://www.keithp.com/.
[5] HERTZMANN A. A Survey of Stroke-based Rendering[J]. IEEE Computer Graphics and Applications, 2003, 23(4):70-81.
[6] WANG Jiechen, CUI Can, PUYingxia, et al. A Novel Algorithm of Buffer Construction Based on Run-length Encoding[J]. The Cartographic Journal, 2010, 47(3):198-210.
[7] TSANG C. Vase Renderer is a Polyline and Curve Renderer on Open GL[EB/OL].[2014-09-18]. https://github.com/tyt2y3/vaserenderer.
[8] KILGARD M J, BOLZ J. GPU-accelerated Path Rendering[J]. ACM Transactions on Graphics(TOG), 2012, 31(6):172.
[9] LI Zhilin. An Examination of Algorithms for the Detection of Critical Points on Digital Cartographic Lines[J]. The Cartographic Journal, 1995, 32(2):121-125.
[10] GUILBERT E, SAUX E. Cartographic Generalisation of Lines Based on a B-spline Snake Model[J]. International Journal of Geographical Information Science, 2008, 22(8):847-870.
[11] 艾廷华, 郭仁忠, 刘耀林. 曲线弯曲深度层次结构的二叉树表达[J]. 测绘学报, 2001, 30(4):343-348. AI Tinghua, GUO Renzhong, LIU Yaolin. A Binary Tree Representation of Curve Hierarchical Structure in Depth[J]. Acta Geodaetica et Cartographica Sinica, 2001, 30(4):343-348.
[12] 彭东亮, 邓敏, 刘慧敏. 更充分利用独立弯曲结构的线状要素Morphing变换方法[J]. 测绘学报, 2014, 43(6):637-644, 652. DOI:10.13485/j.cnki.11-2089.2014.0100. PENG Dongliang, DENG Min, LIU Huimin. Morphing Transformation of Linear Features by Using Independent Bend Structures More Sufficiently[J]. Acta Geodaetica et Cartographica Sinica, 2014, 43(6):637-644, 652. DOI:10.13485/j.cnki.11-2089.2014,0100.
[13] SWIENTY O, ZHANG M, REICHENBACHER T, et al. Establishing a Neurocognition-based Taxonomy of Graphical Variables for Attention-guiding Geovisualisation[C]//International Society for Optics and Photonics.Nanjing:SPIE, 2007:675109.
[14] W3C Recommendation. Scalable Vector Graphics(SVG) Full 1.2 Specification[EB/OL].[2010-07-11]. http://www.w3.org/TR/SVG12.
[15] Adobe Systems Incorporated.PDF Reference[EB/OL].[2007-04-11]. http://www.images.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/pdf_reference_1-7.pdf.
[16] DANIEL R. Open VG Specification Version 1.0.1[EB/OL].[2005-05-13]. https://www.khronos.org/registry/vg/specs/openvg_1_0_1.pdf.
[17] OGC 02-070. Styled Layer Descriptor Implementation Specification[S].Open GIS Consortium Inc.,2002.
[18] 李丽, 王结臣, 沈定涛, 等. 一种单线河流渐变符号的绘制方法[J]. 测绘通报, 2008(11):64-67. LI Li, WANG Jiechen, SHEN Dingtao, et al. A Method for Plotting Gradual Change Symbol of Single-line Stream[J]. Bulletin of Surveying and Mapping, 2008(11):64-67.
[19] MACEACHREN A M.How Maps Work:Representation, Visualization, and Design[M]. New York:Guilford Press, 2004.
[20] NOGUERA J M, SEGURA R J, OGÁYAR C J, et al. A Scalable Architecture for 3D Map Navigation on Mobile Devices[J]. Personal and Ubiquitous Computing, 2013, 17(7):1487-1502.