There are 10 types of basic graphical items built into VMD, which are used with graphics and draw commands. These are:
draws a point at the given position
|
dasheddraws either a solid or dashed line of the given width from the first point to the second. By default, this is a solid line of width 1. A caution about the line width from the SGI man page for linewidth(3G):
The maximum width of aliased lines is 255. IRIS-4D VGX model supports antialiased line widths 1.0 and 2.0, and aliased line widths one through 255. IRIS-4D G, GT, and GTX models, the Personal Iris, Indy, Iris Entry, XL, XS, XS24, XZ, Elan and Extreme systems support antialiased line width 1.0, and aliased line widths one through 255.
Note that there is a known bug in VMD which causes it to mix up and lose track of the anti-alias and depth-cue modes.
|
no
draws a cylinder of the given radius (default r1)
from the first point to the second. The cylinder is actually drawn as
an n sided polygon. If the filled option is true (default), the
ends are capped with flat disks, otherwise the cylinder is hollow.
draw a cone with the center of the base at the first point and
the tip at the second. The radius(default r1) determines the
width of the base. As with cylinder, the resolution determines
the number of polygons used in the approximation.
draws a triangle with endpoints at each of the three vertices
draws a triangle with endpoints at each of the first three points. The second group of three values specify the normals for the three points. This is used for making a smooth shading across the triangle.
draws a sphere of the given radius (default r1)
centered at the vertex. The resolution (default n
6)
determines how many polygons are used in the approximation of a
sphere.
displays the text string with the bottom left of the string starting at the given vertex.
|
off