
96f6203f1634ebcc2e52ea8a222471f5.ppt
- Количество слайдов: 22
Web. CGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open Ulrich Laesche President, Ematek Informatik Gmb. H XML Europe 2002 Barcelona, 21 - 23 May
Agenda • • • Background Application Structuring Web. CGM Application Structures Web. CGM DOM Requirements Development Status Example XML Europe 2002 Barcelona, 21 - 23 May
Background • CGM (ISO/IEC 8632) – – Computer Graphics Metafile - interchange Robust 2 -dimensional graphics language Stable – 15 years as an ISO standard Widely supported – technical documentation, CAD/CAM, desktop publishing, etc. – Widely profiled – Air Transport Assn, CALS, AECMA, automotive, telecommunications, etc. XML Europe 2002 Barcelona, 21 - 23 May
Background - CGM Version 1 (1987) Version 2 (Am 1: 1989) Version 3 (Am 3: 1991) Defect Corrections Republish CGM: 1992 XML Europe 2002 Barcelona, 21 - 23 May
Background - CGM Version 3 (1992) Profiles&Conformance (Am 1: 1994) Version 4 (Am 2: 1995) Defect Corrections Republish CGM: 1999 XML Europe 2002 Barcelona, 21 - 23 May
Background • CGM Open – Consortium formed in 1998 (www. cgmopen. org) Users Boeing EADS Bombardier US Navy MOD UK Xerox (AECMA) Vendors Itedo Sys Dev Inc Larson S/W Auto-trol Ematek Bentley (Corel) XML Europe 2002 Barcelona, 21 - 23 May Independents NIST Lofton Henderson Bruce Garner
Background - Web. CGM • Based on ATA GREXCHANGE • Extensions for application structuring • Targeted for technical illustrations – 2 D – Line art – Navigation functionality XML Europe 2002 Barcelona, 21 - 23 May
Background - Web. CGM V 1. 0 (1999) Defect Corrections Republish Web. CGM V 1. 0 Release 2 (2001) XML Europe 2002 Barcelona, 21 - 23 May
Application Structuring • Group graphical primitives by type • Attach attributes to groups to support: – Linking – Information retrieval – Viewer behavior – Etc. XML Europe 2002 Barcelona, 21 - 23 May
Web. CGM Application Structure Types gdata – graphical primitives opt – optional rep – repeat cho – choice layer Picture Body opt rep cho gdata rep cho grobject para grobject rep cho gdata grobject XML Europe 2002 Barcelona, 21 - 23 May para subpara gdata
Web. CGM Application Structure Attributes • layer – id – layer Description – layer Name • grobject – – – id region view Context linkuri screentip name • para & subpara – – – XML Europe 2002 Barcelona, 21 - 23 May id region linkuri screentip content
Web. CGM • What does that buy us? – The ability to navigate through and between illustrations • example XML Europe 2002 Barcelona, 21 - 23 May
Web. CGM • Why a DOM? – Control over viewer behavior externally • Attributes of primitives (color, weight, font, etc. ) • Visibility of objects – Remove some (most) of the metadata from the CGM file • Context sensitive linking • Context sensitive screen tips XML Europe 2002 Barcelona, 21 - 23 May
Web. CGM DOM requirements • Metafile level – Access to: • • File name URL Metafile version Metafile Description XML Europe 2002 Barcelona, 21 - 23 May
Web. CGM DOM requirements • Picture level – Access to: • • Picture name VDC extent Parent List of children – Control over: • Links between children XML Europe 2002 Barcelona, 21 - 23 May
Web. CGM DOM requirements • Graphical primitives – Control over: • • Color Intensity Line weight Edge weight XML Europe 2002 Barcelona, 21 - 23 May
Web. CGM DOM requirements • Layer application structure type – Access to: • • • Identifier Layer name Layer description Parent List of children – Control over: • Visibility • Links between children XML Europe 2002 Barcelona, 21 - 23 May
Web. CGM DOM requirements • Grobject application structure type – Access to: • • • Identifier Name Region View context Parent List of children – Control over: • Linkuri • Screentip • visibility XML Europe 2002 Barcelona, 21 - 23 May
Web. CGM DOM requirements • Para and subpara application structure type – Access to: • • • Identifier Region View context Content Parent List of children – Control over: • Linkuri • Screentip • visibility XML Europe 2002 Barcelona, 21 - 23 May
Web. CGM DOM requirements • Application structure graphical primitives – Control over: • • Color Intensity Line weight Edge weight Text font Text size Text scale factor XML Europe 2002 Barcelona, 21 - 23 May
Web. CGM DOM requirements • Event handling: – On. Click – On. Mouse. Over – On. Mouse. Out – On. Load – On. Unload XML Europe 2002 Barcelona, 21 - 23 May
DOM Work in Progress Watch this space http: //www. cgmopen. org XML Europe 2002 Barcelona, 21 - 23 May