Debian Codegraph @

utils/x3dom/README.rst

raw
1 X3DOM Support
2 -------------
3
4 Author: Peter Scott
5
6 The files included in 'utils/x3dom' are support for visualizing
7 solutions using the X3DOM framework.
8
9 The functions included in the javascript file 'x3dom_support.js' are
10 meant to allow for dynamic interaction with the visualized data. There
11 are functions for converting the x3dom representation of vertices (a
12 1d array of numbers) into a 3 dimensional representation, as well as
13 for converting back to the x3dom representation. There are functions
14 to add to and remove color from x3dom shapes as well as functions for
15 adding a warped representation of the shape to the x3dom
16 scene. Currently, only warping by a scalar is supported and the warp
17 factor is determined by user input (using a slider). There are
18 functions for adjusting the opacity, though currently these are not
19 used since selection of shapes is necessary for adjusting opacity.
20 Finally, there are functions to set up the ui functionality: these
21 functions set up what happens on user interaction with the x3dom menu
22 display.
23
24 The 'x3dom_support.css' file is used to style the menu display. The
25 different components of the menu are given certain styles to ensure a
26 uniform look as well as to ensure that the display does not cover up
27 too much of the x3dom scene.