<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Writing Effective Use Cases for the Declarative 3D for the Web Architecture</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Jacek Jankowski</string-name>
          <email>jacek.jankowski@deri.org</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Digital Enterprise Research Institute</institution>
          ,
          <addr-line>NUI Galway</addr-line>
          ,
          <country country="IE">Ireland</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>In this paper we present a guide for writing use cases for the Declarative 3D for the Web Architecture, use cases where embedding 3D data in HTML using declarative approach provides signi cant bene t. We list components of a use case which we believe are essential when writing use cases and then we walk through a simple use case example. We believe that thanks to properly described use cases, it will be much easier to deduce di erent required dimensions for the Dec3D speci cation.</p>
      </abstract>
      <kwd-group>
        <kwd>Declarative 3D</kwd>
        <kwd>Use Cases</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. INTRODUCTION</title>
      <p>The Declarative 3D for the Web Architecture W3C
Community Group1 has been formed to explore and suggest options
for new declarative ways of incorporating 3D graphics
directly into HTML to enable its use on any Web page. The
core mission of the Declarative 3D Community Group is
to determine the requirements, options, and use cases for
the declarative integration of interactive 3D graphics
capabilities into the Web technology stack which will provide a
foundation for future standardization.</p>
      <p>
        Therefore, in this paper we aim to create a guide for writing
e ective use cases for the Declarative 3D [
        <xref ref-type="bibr" rid="ref2 ref3">2, 3</xref>
        ], use cases
where embedding 3D data in HTML using declarative
approach provides signi cant bene t. We list components of
a use case which we believe are essential when writing use
cases and then we walk through a simple use case example.
We believe that thanks to properly described use cases, it
will be much easier to deduce di erent required dimensions
for the Dec3D speci cation.
1Declarative 3D homepage: http://declarative3d.org
Copyright c 2012 for the individual papers by the papers’ authors.
Copying permitted only for private and academic purposes. This volume is
published and copyrighted by its editors.
      </p>
      <p>Dec3D2012 workshop at WWW2012, Lyon, France
2.</p>
    </sec>
    <sec id="sec-2">
      <title>USE CASE STRUCTURE</title>
      <p>
        There are several components of a use case which we believe
are essential when writing use cases for the Declarative 3D.
In the following we will describe these components [
        <xref ref-type="bibr" rid="ref2 ref3">2, 3</xref>
        ].
ID: Unique identi er to represent a use case
Title: Short and informative name of a use case
Priority: 1-Very Important, 2-Important, 3-Optional
Actors: In this document, we consider Publishers and Users.
For simplicity, we give our ctitious users rst names whose
rst letter matches their role: Paul, Peter, Patrick and Penny
are publishers; Ula and Ulrich are users.
      </p>
      <p>Paul - math teacher running MathBlog - a blog
dedicated to promoting the beauty of Mathematics; knows
basic HTML;
Peter - scientist who writes web-based articles on his
website BioScienceSite, where he discusses proteins,
genes, etc; knows HTML and is experienced in using
3D modeling software (Blender, 3DS Max);
Patrick - professional web developer working for
DevMasters; he has good knowledge of HTML, JavaScript,
CSS; currently working on VirtualMuseum and
CarCon gurator projects;
Penny - museum curator, working with Patrick on a
virtual museum exhibition called VirtualMuseum; she
has good knowledge of 3D scanning technologies;
Ula and Ulrich are typical Internet users; they have
good understanding of hypertext-based Web
interaction; Ula is an accountant and has little experience
with 3D graphics; Ulrich is a math and biology
student, who occasionally plays 3D games.</p>
      <p>We believe that such short user stories can help to set the
stage for use cases by building up the context.</p>
      <p>
        Description: Short and simple (plain English) description
of a use case. The purpose is to e ectively transfer
knowledge from the domain expert to the software developer.
Starting code: Starting sudo-HTML code
Complete code: Sudo-HTML, after declaring 3D scene.
Using the web site: Description of end-user interaction
with a web site (support for Web and 3D tasks [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]).
Derived requirements: Functional and non-functional
requirements derived from a use case.
      </p>
      <p>
        Screenshot/Demo: Depiction of expected design,
screenshot, or a link to a working demo (created in e.g. [
        <xref ref-type="bibr" rid="ref1 ref5">1, 5</xref>
        ]).
      </p>
    </sec>
    <sec id="sec-3">
      <title>USE CASE EXAMPLE</title>
      <p>In the following we describe a very simple use case for
Declarative 3D. We hope that such description can be leveraged to
create more complex use cases in future.</p>
      <sec id="sec-3-1">
        <title>ID: Use Case UC101</title>
      </sec>
      <sec id="sec-3-2">
        <title>Actors: Paul, Ulrich</title>
        <p>Title: MathBlog - Adding basic 3D geometry to a post
Description: Paul, who maintains a MathBlog, wishes to
enrich his new post about geometric gures with 3D
representations of those gures. For this purpose, he chooses to
use shape nodes and declare them in the HTML.
Starting code: Paul's starting HTML (before declaring
3D) is presented on the Listing 1.
1 &lt;html&gt;
2 &lt;head&gt;&lt; t i t l e&gt;Pauls Blog&lt;/ t i t l e&gt;&lt;/ head&gt;
3 &lt;body&gt;
4 . . .
5 &lt;d i v i d="Post2011 07 21 "&gt;
6 &lt;h2&gt;Geometric F i g u r e s&lt;/h2&gt;
7 &lt;p&gt;
8
9
10
11
12 . . .
13 &lt;/ d i v&gt;
14 &lt;/body&gt;
15 &lt;/ html&gt;</p>
        <p>The cube i s a 3D s o l i d o b j e c t bounded
by s i x s q u a r e f a c e s , f a c e t s or s i d e s ,
with t h r e e meeting at each v e r t e x .
&lt;/p&gt;</p>
        <sec id="sec-3-2-1">
          <title>Listing 1: Starting Code</title>
          <p>Complete code: Paul's HTML, after declaring 3D scene,
is presented on the Listing 2.
1 &lt;html&gt;
2 &lt;head&gt;&lt; t i t l e&gt;Paul ' s Blog&lt;/ t i t l e&gt;&lt;/ head&gt;
3 &lt;body&gt;
4 . . .
5 &lt;d i v i d="Post2011 07 21 "&gt;
6 &lt;h2&gt;Geometric F i g u r e s&lt;/h2&gt;
7 &lt;p&gt;
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 . . .
24 &lt;/ d i v&gt;
25 &lt;/body&gt;
26 &lt;/ html&gt;</p>
          <p>The cube i s a 3D s o l i d o b j e c t bounded
by s i x s q u a r e f a c e s , f a c e t s or s i d e s ,
with t h r e e meeting at each v e r t e x .
&lt;/p&gt;
&lt;dec3d width="400 px " h e i g h t="400 px "&gt;
&lt;s c e n e&gt;
&lt;v i e w p o i n t p o s i t i o n="0 0 10 "/&gt;
&lt;shape&gt;
&lt;appearance&gt;
&lt;m a t e r i a l d i f f u s e C o l o r="0 0 1 "/&gt;
&lt;/ appearance&gt;
&lt;box DEF="box " s i z e="1 1 1 "/&gt;
&lt;/ shape&gt;
&lt;/ s c e n e&gt;
&lt;/ dec3d&gt;</p>
        </sec>
        <sec id="sec-3-2-2">
          <title>Listing 2: Complete Code</title>
          <p>Using the web site: Ulrich can see the post with the static
3D box geometry. No interaction is possible.</p>
          <p>Derived requirements: This use case leads to the
following requirements: Requirement SR01: Simple D3D Syntax.
4.</p>
          <p>CONCLUSIONS AND FUTURE WORK
In this paper we presented a guide for writing use cases for
the Declarative 3D for the Web, use cases where
embedding 3D data in HTML using declarative approach provides
signi cant bene t. We believe that thanks to properly
described use cases, it will be much easier to deduce di erent
required dimensions for the Dec3D speci cation.
Having a use case catalog, such as at Declarative 3D
Community Group Wiki is bene cial, however, a certain problem
remain: the size and variety of the use case space and its
lack of graphical representations limit its usefulness in the
use case discovery, exploration and understanding process.
In order to address this issue we propose to employ
interactive, visual aids to assist users, allowing nding relevant use
cases both e ciently and e ectively. As the human brain
enables us to see, explore, and understand large amounts
of visual information at once, we want to focus on the
creation of an interactive (possibly 3D) use case diagram and
elements to visualise information about di erent
characteristics of use cases. Data visualisation techniques (e.g., graphs,
trees, etc.) in tandem with graphical capabilities of
modern browsers, can be used to present use cases in innovative
ways. We believe that, as a result, users will be able to easily
identify relevant use cases, unearth previously unseen
correlations between them, or learn about related requirements.
* Visit http://declarative3d.org and contribute with your
use cases for the Declarative 3D for the Web.
** This work has been supported by SFI under Grant No.
SFI/08/CE/I1380 (Lion II) and by EI under Grant No.
PC/2008/353 (Copernicus).</p>
        </sec>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>J.</given-names>
            <surname>Behr</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Eschler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Jung</surname>
          </string-name>
          , and
          <string-name>
            <surname>M.</surname>
          </string-name>
          <article-title>Zollner. X3dom: a dom-based html5/x3d integration model</article-title>
          .
          <source>In Web3D'09. ACM</source>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>A.</given-names>
            <surname>Cockburn. Writing E ective Use</surname>
          </string-name>
          <article-title>Cases</article-title>
          . Addison-Wesley,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>I.</given-names>
            <surname>Jacobson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Christerson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Jonsson</surname>
          </string-name>
          , and
          <string-name>
            <surname>G.</surname>
          </string-name>
          <article-title>Overgaard. Object-oriented software engineering - a use case driven approach</article-title>
          . Addison-Wesley,
          <year>1992</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>J.</given-names>
            <surname>Jankowski</surname>
          </string-name>
          .
          <article-title>A taskonomy of 3d web use</article-title>
          .
          <source>In Web3D'11. ACM</source>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>K.</given-names>
            <surname>Sons</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Klein</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Rubinstein</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Byelozyorov</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P.</given-names>
            <surname>Slusallek.</surname>
          </string-name>
          <article-title>Xml3d: interactive 3d graphics for the web</article-title>
          .
          <source>In Web3D'10. ACM</source>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>