Top Banner
XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open Ulrich Laesche President, Ematek Informatik GmbH
22

XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

Mar 27, 2015

Download

Documents

Seth Combs
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

XML Europe 2002Barcelona, 21 - 23 May

WebCGM DOM - External Control for Web Graphics

Dave CruikshankTechnical Fellow, The Boeing Company

CTO, CGM Open

Ulrich LaeschePresident, Ematek Informatik GmbH

Page 2: XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

XML Europe 2002Barcelona, 21 - 23 May

Agenda

• Background

• Application Structuring

• WebCGM Application Structures

• WebCGM DOM Requirements

• Development Status

• Example

Page 3: XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

XML Europe 2002Barcelona, 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.

Page 4: XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

XML Europe 2002Barcelona, 21 - 23 May

Background - CGM

Version 2 (Am1:1989)

CGM Version 1 (1987)

Version 3 (Am3:1991)

Defect Corrections

Republish

CGM:1992

Page 5: XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

XML Europe 2002Barcelona, 21 - 23 May

Background - CGM

Profiles&Conformance (Am1:1994)

CGM Version 3 (1992)

Version 4 (Am2:1995)

Defect Corrections

Republish

CGM:1999

Page 6: XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

XML Europe 2002Barcelona, 21 - 23 May

Background• CGM Open– Consortium formed in 1998

(www.cgmopen.org)Users Vendors IndependentsBoeingEADSBombardierUS NavyMOD UKXerox(AECMA)

ItedoSys Dev IncLarson S/WAuto-trolEmatekBentley(Corel)

NISTLofton HendersonBruce Garner

Page 7: XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

XML Europe 2002Barcelona, 21 - 23 May

Background - WebCGM

• Based on ATA GREXCHANGE

• Extensions for application structuring

• Targeted for technical illustrations– 2D– Line art– Navigation functionality

Page 8: XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

XML Europe 2002Barcelona, 21 - 23 May

Background - WebCGM

WebCGM V1.0 (1999)

Defect Corrections

Republish

WebCGM V1.0 Release 2 (2001)

Page 9: XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

XML Europe 2002Barcelona, 21 - 23 May

Application Structuring

• Group graphical primitives by type

• Attach attributes to groups to support:– Linking– Information retrieval– Viewer behavior– Etc.

Page 10: XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

XML Europe 2002Barcelona, 21 - 23 May

WebCGM Application Structure Types

Picture Body

subparagrobject gdata

layer

para

para

opt

repcho

repcho

gdata – graphicalprimitivesopt – optionalrep – repeatcho – choice

grobject gdata

repcho

grobject gdatapara

gdata

Page 11: XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

XML Europe 2002Barcelona, 21 - 23 May

WebCGM Application Structure Attributes

• layer– id– layer Description– layer Name

• grobject– id– region– view Context– linkuri– screentip– name

• para & subpara– id– region– linkuri– screentip– content

Page 12: XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

XML Europe 2002Barcelona, 21 - 23 May

WebCGM

• What does that buy us?– The ability to navigate through and

between illustrations• example

Page 13: XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

XML Europe 2002Barcelona, 21 - 23 May

WebCGM

• 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

Page 14: XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

XML Europe 2002Barcelona, 21 - 23 May

WebCGM DOM requirements

• Metafile level– Access to:• File name• URL• Metafile version• Metafile Description

Page 15: XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

XML Europe 2002Barcelona, 21 - 23 May

WebCGM DOM requirements

• Picture level– Access to:• Picture name• VDC extent• Parent• List of children

– Control over:• Links between children

Page 16: XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

XML Europe 2002Barcelona, 21 - 23 May

WebCGM DOM requirements

• Graphical primitives– Control over:• Color• Intensity• Line weight• Edge weight

Page 17: XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

XML Europe 2002Barcelona, 21 - 23 May

WebCGM DOM requirements

• Layer application structure type– Access to:

• Identifier• Layer name• Layer description• Parent• List of children

– Control over:• Visibility• Links between children

Page 18: XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

XML Europe 2002Barcelona, 21 - 23 May

WebCGM DOM requirements

• Grobject application structure type– Access to:

• Identifier• Name• Region• View context• Parent• List of children

– Control over:• Linkuri• Screentip• visibility

Page 19: XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

XML Europe 2002Barcelona, 21 - 23 May

WebCGM DOM requirements

• Para and subpara application structure type– Access to:

• Identifier• Region• View context• Content• Parent• List of children

– Control over:• Linkuri• Screentip• visibility

Page 20: XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

XML Europe 2002Barcelona, 21 - 23 May

WebCGM DOM requirements

• Application structure graphical primitives– Control over:

• Color• Intensity• Line weight• Edge weight• Text font• Text size• Text scale factor

Page 21: XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

XML Europe 2002Barcelona, 21 - 23 May

WebCGM DOM requirements

• Event handling:– OnClick– OnMouseOver– OnMouseOut– OnLoad– OnUnload

Page 22: XML Europe 2002 Barcelona, 21 - 23 May WebCGM DOM - External Control for Web Graphics Dave Cruikshank Technical Fellow, The Boeing Company CTO, CGM Open.

XML Europe 2002Barcelona, 21 - 23 May

DOM Work in Progress

Watch this space

http://www.cgmopen.org