Debian Codegraph @

doc/view.html

raw
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
5
6 <link rel="stylesheet" type="text/css" href="../ch5m3d.css" />
7
8 <title>CH5M3D</title>
9 </head>
10
11 <body >
12
13
14 <p class="QCHeader">
15 CH<sub>5</sub>M<sub>3D</sub>
16 </p>
17 <ul id="Toolbar">
18
19 <li><a href="../index.html">CH5M3D Home</a><ul>
20 </ul></li>
21
22 <li>Documentation<ul>
23 <li><a href="introduction.html">Introduction</a></li>
24 <li><a href="installation.html">Installation</a></li>
25 <li><a href="browser.html">Web Browsers</a></li>
26 <li><a href="view.html">User Interface</a></li>
27 <li><a href="keyboard.html">Keyboard/Mouse</a></li>
28 <li><a href="drawing.html">Drawing</a></li>
29 <li><a href="fileformat.html">File Format</a></li>
30 <li><a href="../documentation.pdf">PDF Manual</a></li>
31 </ul></li>
32 <li>Variations<ul>
33 <li><a href="description.html">Description</a></li>
34 <li><a href="../variations/serverView.html">Pre-Load</a></li>
35 <li><a href="../variations/chooser.html">Chooser</a></li>
36 <li><a href="../variations/gallery.html">Gallery</a></li>
37 <li><a href="../variations/viewer300.html">Viewer (only)</a></li>
38 <li><a href="../variations/viewer2x.html">View 2 Windows</a></li>
39 <li><a href="../variations/two.html">Two Windows</a></li>
40 <li><a href="../variations/api.html">Javascript</a></li>
41 <li><a href="../qchem/qchem.php">Quantum Interface</a></li>
42 </ul></li>
43 <li>Information<ul>
44 <li><a href="about.html">About</a></li>
45 <li><a href="http://sourceforge.net/projects/ch5m3d/">Project Homepage</a></li>
46 <li><a href="apidoc.html">Library API Info</a></li>
47 <li><a href="https://www.gnu.org/licenses/gpl.html">GNU License</a></li>
48 </ul></li>
49
50 </ul>
51
52
53 <h1>User Interface: View Mode</h1>
54 <p class="indent">
55 The image below shows the initial view that should be presented when this page is first loaded.
56 The most important sections are labeled in red. Upon initially loading this page, you should be
57 in <strong>View Mode</strong>, indicated by both the highlighted
58 <input type='button' value="View Mode" style="background-color: lightskyblue;"/>
59
60 tab and the text "View Mode" displayed below this button. You can switch between
61 <strong>View Mode</strong> and <strong>Draw Mode</strong> at any time by selecting the appropriate tab.
62 </p>
63 <div style="text-align: center">
64 <img src="Areas.png" width="880" height="776"
65 alt="View Mode Interface with sections labeled" />
66 </div>
67 <p class="indent">
68 Initially, the methane molecule (CH<sub>4</sub>) should be displayed in the
69 <strong>Drawing Window</strong>. While in View mode, you can use your mouse/pointer to perform the
70 following tasks.
71 </p>
72 <ul>
73 <li><strong>Rotate Molecule</strong> - Move the pointer to any blank portion of the Drawing Window
74 and hold the mouse button down. Dragging the pointer should cause the molecule to rotate. To stop
75 rotation, simply release the mouse button. Simultaneously pressing <strong>&lt;Shift&gt;</strong>
76 while dragging the mouse pointer will cause the molecule to rotate around the z-axis. It is
77 also possible to 'translate' a molecule by pressing the <strong>&lt;Ctrl&gt;</strong> key
78 while dragging the mouse.</li>
79 <li><strong>Zoom</strong> - If a mouse scroll wheel is available, this can be used to either zoom-in
80 or zoom-out the current view.</li>
81 <li><strong>Identify Atom</strong> - Move the pointer over any atom in a molecule and click on this
82 atom to select. The Elemental symbol followed by a number should be displayed. The number is the
83 position of the atom in the set of coordinates for this molecule, starting at 1. If the
84 <input type='button' value="Charges" />
85 button is active, then the calculated charge on this atom will also be displayed.</li>
86 <li><strong>Highlight Atom</strong> - Move the pointer over any atom in a molecule, hold down the
87 <strong>&lt;Shift&gt;</strong> key and click on this atom. A semitransparent yellow circle should
88 appear over this atom. &lt;Shift&gt;-click on this atom a second time to turn off the highlight.
89 Any number of atoms may be highlighted. The
90 <input type='button' value="Reset View" />
91 button may also be used to remove all highlights.</li>
92 <li><strong>Measure Bond Lengths</strong> - Move the pointer to the first atom of the bond and select.
93 The label for this atom should appear in the upper-right corner of the display window. Then, move
94 the pointer to the second atom and select this atom. The bond length (in Angstroms) will be shown
95 at the top right of the drawing window.</li>
96 <li><strong>Measure Bond Angles</strong> - By selecting three atoms, the bond angle (in degrees)
97 around the central atom (the second atom selected) will be shown.</li>
98 <li><strong>Measure Dihedral Angles</strong> - By selecting four atoms, the dihedral angle
99 (in degrees) will be shown. For example, if all four atoms lie in a plane, the dihedral angle will
100 be either 0&deg; or 180&deg;.</li>
101 </ul>
102 <p class="indent">
103 For all of the operations, clicking on a blank portion of the screen will clear the list of selected
104 atoms and allow you to start measuring a different set of lengths/angles. Clicking on the same atom
105 twice will cause the atom list to be reset and this selected atom will be placed as the first atom on
106 the list.
107 </p>
108 <p class="indent">
109 To the right of the <strong>Drawing Window</strong> are several buttons. These provide the following
110 options:
111 </p>
112 <ul>
113 <li><input type='button' value="Show coordinates" />
114 This button will print the coordinates in .xyz format in the <strong>Information Window</strong>.
115 For security reasons, it is not possible for javascript to write files to a user's computer.
116 To save the coordinates of molecules created using this program, it is required that users open a
117 text editor, copy the coordinates from the <strong>Information Window</strong> into their editor
118 and save this as an .xyz file. When saving this file, but sure that it is saved as an unformatted
119 text file.</li>
120 <li><input type='button' value="Labels" />
121 This button toggles the display of labels (elemental symbols) for each atom.</li>
122 <li><input type='button' value="Charges" />
123 Selecting this button causes a crude computation of atomic charge to be performed. Charges are shown
124 as semi-transparent spheres around each atom. Negative charges are shown in red, and positive charges
125 are shown as blue spheres. The intensity of these colors is used to indicate the magnitude of the charges.
126 This charge calculation is based on a combination of formal charges and electronegativity differences.
127 In addition, the dipole moment of the molecule based on these approximate point charges is displayed in
128 the Information window near the bottom of the screen. Note that these calculated charges should <i>not</i>
129 be considered to be accurate values but instead treated as a crude, first approximation.</li>
130 <li><input type='button' value="Reset View" />
131 This button centers and rescales the molecule to fit the display, and removes all highlights.</li>
132 <li><input type='button' value="Browse..." />
133 By selecting this button, users can load .xyz formatted files. Files of this format can be generated
134 using the <a href="http://openbabel.org/wiki/Main_Page">Open Babel</a> program. A few sample .xyz files
135 are available in the <strong>molecules</strong> folder on the
136 <a href="http://sourceforge.net/projects/ch5m3d/files/">CH5M3D Web site</a>.</li>
137 </ul>
138 <p class="indent">
139 To <strong>save an image</strong> of a molecule, first rotate the molecule to get it into the desired
140 orientation. Then, perform a right-click using the mouse pointer and select "Save Image As...".
141 </p>
142
143 <div class="Footer" id="Footer">
144 The chem3d.js library copyright © 2013 by Clarke Earley<br />
145 and is distributed under the terms of the
146 <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>.
147 </div>
148
149 </body>
150 </html>