Crystal Impact Home  
  About version 5 New functions Feature tour Download  

Diamond Version 5 User Manual: Modes of operation

Overview

This article is an overview about the different operational modes when working with a structure picture:
- The default mode: Select and Edit
- Tracking modes: Mouse-controlled rotation, shift, and enlarging of structure picture
- Grab mode
- Exploration view
- Measuring modes (distances, angles, etc.)
- Command-specific operational modes

Previous article: Deriving new pictures
Next article: Selecting objects


Select and Edit mode

The Select and Edit mode is the default and regular working mode in a structure picture. The mouse shows an arrow pointer and you can click an atom or bond or label etc. to edit its properties or to choose it as starting point for a building operation or delete it etc.

Besides the individual clicking (selecting) of single objects (like atoms), there are special options and commands for extended selection, e.g. by defining a rectangle or by defining a free-hand figure, called "lasso", to select all objects inside the rectangle or figure, rsp.

You can use additive or subtractive selection to add clicked objects to the list of selected objects without destroying the selection states of other objects. And you can use the status keys Shift to add a selection by keeping the other objects' selection states and Ctrl to invert the selection state of a clicked object individually from other objects.

This is described in detail in the article "Selecting objects".


Tracking mode

A tracking mode is a special mode where the structure picture follows the mouse movements simultaneously. This can be a rotation along x- and y-axis, a rotation along z-axis, a shift within the drawing area, enlargement or reducing, or a variation of the viewing distance (camera distance), or a movement into or through the structure picture ("walking in or out").

To enter one of the tracking modes, either push a button in the Move toolbar, or use the corresponding command from the Move main menu:

Move toolbar

In a tracking mode, the mouse cursor changes to a symbol made up of the standard arrow plus a symbol signing the mode of operation. In this mode, you cannot select objects (like you can in the default Select and Edit mode, see above). To return to the default Select and Edit mode, either push the Stop Tracking toolbar button button in the Move toolbar, or press the Escape key.

The actual tracking starts when you press down the left mouse button and move the mouse. In this case, the mouse cursor symbol drops the arrow symbol and only shows the special symbol depending on the mode of operation. These symbols are identical with the symbols in the Move toolbar. To (temporarily) stop the rotation etc., simply release the mouse button, to continue it, press it down again.

The tracking modes are described in more detail in the following articles:

Rotation along x- and y-axis, rotation along z-axis, and shifting
Orientation and Position: "Rotating and Shifting the Structure".

Enlarge or reduce, changing perspective impression
Projection: "Changing Enlargement Factor or Viewing Distance With Mouse or Cursor".

Moving into or through the structure picture
Projection: "Walking through the structure picture (Walk in/out)".

The tracking modes also use a spin option where you can accelerate the speed of e.g. rotation and leave the structure picture rotating continuously when you release the mouse button. This is also described in the chapter "Rotating and Shifting the Structure" of the article "Orientation and Position".


Grab mode

The "Grab mode" is an alternative to the above mentioned tracking modes, where you can rotate a structure picture with the left mouse button down or shift it with the right mouse button down or enlarge or reduce it with the mouse wheel and select objects.

The "Grab mode" can be activated with the (here yellow highlighted) toolbar button or with the Grab Mode command in the Edit menu (the arrow symbol right beneath can be used to terminate the "Grab mode" and return to default "Select and Edit" mode):

Grab mode toolbar button

For details read the article "Grab mode".


Exploration View

Whereas the above mentioned modes change the mouse cursor and the behaviour how Diamond reacts on mouse movement and mouse clicks but stays in the regular Diamond Structure Picture Edit view, the "Exploration View" is a special mode and view where you can change special properties such as bonding spheres, contact spheres, H-bonds, and atomic environments.

Unlike in the regular "Picture Edit view", the changes you make in the bonding or contact spheres in the "Exploration controller" window are directly reflected in the structure picture and vice versa. (In the regular view, you have to use modal dialog windows where you make several changes to bonding/contact spheres and then press OK and then check how good these new settings work.)

On the other hand, most of the picture designing functions of the regular "Picture Edit view" are not available in the "Exploration view", which is due to the focus on studying bonding and contact spheres as well as H-bonds,

The "Exploration View" is described in a separate series of articles: "Exploring bonding and contact spheres".


Measuring modes

The measuring modes allow to interactively measure distances, angles, and torsion angles. You can measure interatomic distances by clicking two atoms each in the structure picture. The result is given in a yellowish info window and is stored in the list of reported distances and can be inspected later e.g. in the data sheet or in the table of reported distances. The measuring mode for angles measures the angle at the second of three clicked atoms each. The third measuring mode measures torsion angles between four atoms each.

The measuring modes are available as commands from the Tools menu as well as from the Measure toolbar:

Toolbar for measuring distances, angles, torsion angles, and angles between planes etc.
Measure toolbar with (from left to right) icons to measure interatomic distances, angles, torsion angles as well as angles between planes and/or lines etc.

Details about measuring (and reporting) distances, angles, and torsion angles are in the article "Measuring and reporting distances, angles, and torsion angles".

Another, more versatile measuring mode enables clicking an arbitrary number of atoms to measure angles between planes and/or lines as well as measure distances of atoms from a plane or line. This is described in the article "Extended geometric infos: Angles between planes etc.".


Command-specific operational modes

While for most of the commands in Diamond's Select and Edit mode you mark one or more objects (or no object to apply to all) and then run a command to build up a part of your structure picture or change a design, there are some commands that activate a special mode where you interactively work with the mouse, e.g. click or shift with one button pressed. These are described in more details in the corresponding articles:

Inserting bonds between two atoms each
The command Build -> Insert Bonds can be used to switch to a mode where you click two atoms each, which are connected with a bond independently from the connectivity settings. Cf.: "Generating bonds directly: Inserting a Bond Between Two Atoms".

Zooming a Rectangluar Area
With the command Display -> Zoom Into Area you define a rectangle in the structure picture pane, and the area will be enlarged and shifted so that it fits optimally within the structure picture pane. Cf.: "Projection: Zooming a Rectangular Area".

Filling a rectangular area or a disk
The command Build -> Fill -> Rectangular Area offers a special, interactive version of filling a rectangular parallelepiped with borders parallel to the current viewing box, to define a rectangular region on the screen (in the structure picture pane) and to define the depth of the box numerically. The command Circular Area (in the same sub-menu) uses a disk (cylinder) rather than a parallelepiped. The chapter "Filling cell ranges" in the article "Filling a Rectangular or Circular Area of the Screen" describes how this can be done.

Adding or removing polyhedron edges
The command Build -> Polyhedra -> Add or Remove Edges enables you to remove (unwanted) edges from polyhedron faces, i.e. to expand triangular polyhedron faces to higher polygons, for instance two triangles to one square each in a cubic environment. To add an edge hold the Shift key when you click on the two atoms to be connected with an edge. Cf.: "Modification and duplication of polyhedra: Adding and Removing Edges".

Shifting or rotating a fragment
There are commands in the Structure -> Change Position sub-menu to shift or rotate one or more selected atoms in the structure picture. These commands are only available, if the current structure is "molecular", i.e. has no translational and no space group symmetry and the atomic positions are orthogonal rather than fractional (x/a, y/b, z/c).
With the command Shift XY the selected atom(s) will be shifted for a user-defined distance along the x- and y-axis of the orthogonal coordinate system. (The x-axis points to the right, the y-axis to the top, and the z-axis towards you.) Horizontal mouse increments (with left mouse button pressed down) lead to shift along the x-axis, whereas vertical increments lead to shift along the y-axis.
The command Shift Z shifts the selected atom(s) will along the z-axis of the orthogonal coordinate system using vertical mouse increments.
With the command Rotation XY at least two selected atoms will be rotated around the x- and y-axis of an orthogonal coordinate system whose origin is placed in the "center of gravity" of the selected atoms. Horizontal mouse increments (with left mouse button pressed down) lead to rotation along the x-axis, whereas vertical increments lead to rotation along the y-axis.
The command Rotation Z rotates the selected atoms around the z-axis of the orthogonal coordinate system using vertical mouse increments.

Viewing along an axis or towards a plane
To view along an axis or towards a (hkl) plane, use the command Display -> Viewing Direction and start the definition from the Viewing Direction dialog. This is described in the article "Orientation and Position": "Viewing Along Selected Axes" and "Viewing Towards a Plane Given By Miller Indexes h,k,l".


Previous article: Deriving new pictures
Next article: Selecting objects