Graphics Reference
In-Depth Information
In the example shown in Fig. . , the SVG component (cluster.svg) that displays
thegraph andthe HTMLform(control.html) that providesan interface forchanging
the visibility of items in the graph are separated by a frame (index.html). he con-
trol.html formcontains checkboxesthat specifywhetherthedata pointlabelsand/or
ellipsedomains arevisible; thefunction that isexecuted whenthecheckboxesarese-
lected is designated in the onclick attribute.
In cluster.svg, the element for the ellipse domain is described as a child element
of the <g> element in which the id attribute is “clustArea,” and the <text> ele-
ment for the individual label is described as a child element of the <g> element in
whichthe id attribute is “label.” When cluster.svg is loaded, the setVisibility
function defined in cluster.svg is linked to index.html. As a result, this function can
be called by control.html. he setVisibility function receives the contents of
the id attribute of the check box clicked in control.html as an argument, and the
visibility property of the <g> element corresponding to the id is changed.
Figure . shows another example of layer functionality. In this example, the
numberofclustersdisplayedcanbechanged interactively. hisplothasseveral layers
containing clusterpolygons for clusternumbers of - .If the Overlap checkboxis
checked, the cluster polygons are displayed such that they overlap the previous view.
hus the plot can showthe hierarchical structure of clustering results obtained using
a hierarchical clustering method.
X3D
18.4
Extensible D(X D)isanopen-standardXML-enabledthree-dimensionalmodeling
languagethatenablesthereal-timecommunication of Ddataacrossallapplications,
including network applications. X D is neither a programming API nor a simple
file format for geometrical data interchange. Instead, X D combines both geometry
and runtime behavioral descriptions into a single file. X D is the next revision of
the VRML ISO specification, referred to as VRML-NG (Next Generation). In this
section we will introduce some features of X D; a full description of X D can be
found at the Web D website (Web D Consortium, ) and in Geroimenko and
Chen ( ).
Overview of X3D
18.4.1
Speciications
he first drat of the VRML . specification was published in . In , the first
version of the VRML . specification was released, and the JTC /SC committee
of the International Standards Organization (ISO) agreed to publish VRML . as
Committee Drat (CD) . his specification is known as VRML . X D, a new
version of VRML, has been designated International Standard ISO/IEC , and
was published in by the Web D Consortium. As of September of , there
are six X D International Specification Standards, including X D encodings, which
Search WWH ::




Custom Search