Topics

Atom Control Panels
Selection Panel
Radio Buttons
Atom Color Panel
Atom Visibility Panel
Atom Scale Panel
Tiling Panel

Atom Control Panels

In an atom-style display, atoms and bonds are represented by spheres and cylinders, respectively. After an atom-style display (Space Filling, Balls and Sticks, or Sticks) is selected from the Style menu above the canvas, the appearance of the spheres and cylinders can be modified by using the retractable control panel on the right side of the canvas. The control panel can be opened and closed by using the Tools menu in the menu bar above the canvas. The control panel is composed of two parts: a left-side selection panel that remains fixed and a right-side modifier panel that can be changed by using the menu at the top right of the control panel (see the Control Panel figure further below). After explaining the left-side selection panel, the rest of this page will cover the right-side modifier subpanels that affect an atom-style display: Atom Color, Atom Visibility, Atom Scale, and Tiling.


Selection Panel

[screenshot of Atom Color panel]

The selection subpanel can be seen on the left side of the control panel shown right below. The same selection panel is used for both Atom-style (spheres and cylinders) and Cartoon-style (tubes and ribbons) displays. There are four kinds of selections:

Radio Buttons

The top half of the Atom Color, Atom Visibility, and Atom Scale subpanels contains radio buttons that will affect where modifications are applied. Each radio button has an associated menu, and the set of radio buttons with associated menus is the same for these three atom subpanels.

Atom Color Panel

[screenshot of Atom Color panel]

The selection subpanel and radio buttons discussed further above can be used to apply a color change to a model, chain, region, amino acid, or atom. The Atom Color panel has three buttons for changing color on the current selection:

Atom Visibility Panel

[screenshot of Atom Visibility panel]

The Atom Visibility subpanel provides fine-grained control of visibility in an atom-style display (Space Filling, Balls and Sticks, or Sticks), whereas the Visibility menu above the canvas provides only a coarse level of control over whether amino acids, heterogens, or waters are allowed to be displayed. The selection subpanel and radio buttons discussed further above can be used to apply a visibility status change to a model, chain, region, amino acid, or atom. The Atom Visibility panel has three buttons and a slider for changing the visibility status on the current selection:

Atom Scale Panel

[screenshot of Atom Scale panel]

The selection subpanel and radio buttons discussed further above can be used to apply an atom scale change to a model, chain, region, amino acid, or atom. The scale changes apply to the radius of the spheres used in a Space Filling or Balls and Sticks style display.

The default radius for spheres in a Space Filling-style display is the Van Der Waals radius, while the default radius for spheres in a Balls and Sticks display is the covalent radius multiplied by a BALL_SCALE factor of 0.2. The Van Der Waals radius and covalent radius for each atom type are given in the AtomEnum enumeration of the ProteinShader API, where the BALL_SCALE factor is also specified.

Tiling Panel

[screenshot of Tiling panel]

Most graphics cards ultimately draw only points, lines, and flat polygons, so three-dimensional curved surfaces are approximated by drawing a large number of flat polygons that are tiled together to form a continuous surface, and lighting effects are used to help smooth out their appearance. The larger the number of polygons, the closer the image comes to a true curved surface, but the slower the scene will be rendered.

In an atom-style display, the ProteinShader program uses camera distance to calculate the level of detail that each sphere and cylinder is drawn at. When the camera is zoomed in to look at a small region of a protein, a high level of detail is used to provide better image quality. When the camera is zoomed out to look at the whole protein, a lower level of detail is used so that the image can be rotated more smoothly. This automatic calculation of the level of detail can be shut off by deselecting the Auto Tiling checkbox near the top of the Tiling panel. Once automatic tiling is shut off, the controls below the checkbox can be used to apply a fixed level of detail to spheres and cylinders.

As a way of expressing the level of detail that a sphere is drawn at, the concept of a tiling number is used. A tiling number of n means that if the sphere was drawn as a wireframe, the latitude lines would divide it into n stacks from pole to pole and the longitude lines would divide it into n slices around the equator. Therefore, the total number of flat panels that comprise the surface of the sphere would be n-squared. The concept of tiling number also applies to cylinders, except that the tiling number only refers to the number of slices about the equator because a cylinder does not curve along its length.

By using the radio buttons and menus of the Tiling panel, a fixed tiling number can be set for the spheres used in a Space Filling or a Balls and Sticks display. Similarly, a tiling number can be set for cylinders in a Balls and Sticks or Sticks display. Tiling number can also be set for the small spheres that are used as end caps for cylinders.