The structure window gives a hierarchical overview of the loaded molecules and provides means to interact with the molecular entities.
Every molecule is part of a system, molecules from different systems do not interfere with each other, e.g. in MD-Simulations. BALLView creates a new System for every molecular file, the user loads.
By clicking with the left mouse button on the names of molecular entities, users can highlight these. To highlight more then one item, use the Shift- or Control-modifier. A click with the right mouse button will open a context menu, which will operate on the highlighted molecular items:
Selections (or how to find an atom)
Left of the names of the molecular entities are checkboxes, which show the user which molecular entities are currently selected (picked). The selected objects become colored in the 3D view. This can be used to find an atom in the three-dimensional structure of its molecule. If a user starts a molecular dynamics simulation or an energy minimization while some molecular entities are selected, BALLView only operates on these items (which is e.g. useful for optimizing the position of only the hydrogen atoms of a protein from a PDB-file).
Cut, Copy, Paste
The user can cut or copy any molecular entities in the Molecular Control and also paste them into other objects (see the Menu point "Edit"). This makes it possible e.g. to merge Systems:
At the bottom of the Molecular Control resides a text field. In this text field, the user can enter expressions to select molecular entities. To apply the typed expression, either press the Return key or the "Select" button. The "Clear" button clears the current selection. Possible predicates are:
All predicates can be connected with AND and OR, grouped with brackets, and each predicate can be negated with '!'
Example: !residueID(12) AND (element(N) OR element(C))
Properties of Molecular Entities
To view and modify the properties of molecular entities, BALLView offers a special dialog, which can be opened in the context menu of the structure window under the point "Properties". In this dialog the user can e.g. set the name of a chain or change the charge of atoms. (Another fast way to obtain the basic information for an atom, is to select (pick) exactly one atoms. The information like charge and position are then shown in the logs window.)
When exactly two atoms are selected (picked) the distance between them is shown in the logs window and the status bar. For three selected atoms, the angle between them is shown, and for four atoms the torsion angle.
The context menu also has an entry to count the bonds and atoms of the currently selected molecular entity (e.g. a Residue).
Move molecular entities
To move parts of structures or individual atoms, the user can highlight them and switch to a special move mode with the context menu entry "Edit->Move". The mouse cursor changes to indicate the new mode. In this mode the mouse can be used to move and rotate all selected items. This works the same way as the normal rotation and translation of the viewpoint. To switch back to the rotation mode, the user can press either the Escape key or click on the menu entry "Display->Rotate Mode" .
Selection and Highlighting
The selection and the highlighting can be converted into each other through the context menu. To select highlighted items use "Select", selected items can become highlighted by pressing "Highlight Selection". This is e.g useful for creating a Representation for picked molecular items or for finding a picked atom in the hierarchical overview in the structure window (the parent entries of the selected objects will be opened).