Revision of Access to objects from Thu, 10/22/2015 - 20:36
Overview
This section only applies to DOM Environment. Section 4.9 Scene access interface covers the Classic Environment.
The DOM Environment does not have the capability of an X3D Script node. Simple manipulation of node information is done with ROUTE (e.g., key-frame animation). Complex manipulation uses JavaScript in the HTML page combined with the DOM, its interfaces, and the X3D-DOM Scene Access Interface (DOM-SAI). A description of the DOM-SAI is in 19775-2. This section provides a simple description of the concept for DOM and DOM-SAI.
Scene access interface
X3D defines a scene access interface (SAI) that provides an external interface to nodes. In the DOM ENvironment this uses many features and capabilities of the exsiting DOM API. The complete definition of the SAI is in 19775-2.
DOM
X3D nodes may be accessed with the DOM API without restriction or conditions. Note all changes through the DOM produce changes in the scene. The interaction between the DOM API and X3D is described in 19775-2 (or -3 if that is needed).