DINO: Visualizing Structural Biology |
|
User Manual
|
The scalar field dataset is a 3-dimensional grid that contains a single scalar value at each grid point. To visualize it fully would require a 4-dimensional representation, which is currently beyond the capabilities of a computer workstation One interpretation is called iso-contouring, which creates an iso-surface from the scalar field with each point on the surface (ideally) having the same scalar value. Another interpretation is to draw each grid-point with its scalar value represented as a point of varying thickness, or to blend the grid points as a texture (as exploited in medical resonance imaging, also called volume rendering).
The grid is regular, but needs not be cubic. It can consist of arbitrary axis a, b and c with arbitrary angles
Probably the three most common uses for scalar fields in structural biology are electron density from x-ray data, 3D reconstructions from electron microscopy and electrostatic potential maps from theoretical calculations.
S1 |
G2 |
||
scalar factor that is multiplied with every coordinate prior to object creation, existing objects must be renewed, default is 1.0 |
|||
size of object in grid-units; can be either a scalar (cubic size) or in form of {xs,ys,zs}, default is 30 |
|||
(object type contour) contour level, if s is appended then value is interpreted as sigma (standard deviation) units, default is 0.0 |
|||
(object type contour) uniform color for object, default is white |
A scalar field object is created with the command new . In contrast to the structure and surface dataset, the -set parameter is quite important, while the selection is not often employed.
Syntax: .scal new [-name NAME] [-type T][-selection SEL][-set SET]
NAME defaults to the name of the dataset. SET can be any of the settables object properties (see Table 15 (P. 38)). There are two scalar field object types:
Example: .scal new -name m -set center=[.struct], size=40,level=1.5s, color=blue
.scal new -name g -type grid -set size=40
Although a selection can already be given during object creation, its maybe easier to call a renew (to keep the lines short):
Example: .scal.m renew -sel 10<>.struct.inhib
All scalar field object properties except color will not take immediate effect, only when a renew (see below) is called. This is usually combined:
Example: .map new -name m -set center=[.map],size=40,level=1.0s // change the size .map.m renew -set size=50 // change the level .map.m renew -set level=1.2s
S3 |
G4 |
L5 |
R6 |
||
Following are all scalar field dataset commands:
new : create a new object (see "8.1 Scalar Field Objects" on page 38).
set get : retrieve or modify a dataset property (Table 15 (P. 38)).
Syntax: .scal set PV[, PV ...] .scal get P
restrict : shadow out a subset of the dataset which will not be considered in selection or property setting (see "5.1.7 Dataset Restriction" on page 25).
Syntax: .scal restrict SELECTION
delete : remove one or more objects.
Syntax: .scal delete obj [obj2 ...]
grab reset fix center : transformation related commands (see "5.1.8 Transformation" on page 25).
Commands directed against a scalar field object are issued as
Syntax: .scal.obj command [parameters]
Following is a list of all scalar field object commands:
renew : Similar to new command, except the type and name are already determined, so only selection and setting is possible. If either selection or setting (or both) are omitted, the current selection resp. setting is maintained (see "5.1.5 Modifying Objects" on page 23).
Syntax: .scal.obj renew [-selection SEL] [-set SET]
Example: .map.m renew -set level=1.2s, size=50, color=blue
show hide : turns display of the object in the graphics window on or off. Identical to clicking on the object name in the object menu (see "4.12 The GUI" on page 20)
Syntax: .scal.obj show .scal.obj hide
set get : modify or retrieve scalar field object properties (See Table 15 (P. 38) and see "5.1.5 Modifying Objects" on page 23)
Syntax: .scal.obj get P .scal.obj set PV [-selection SEL] [-range [src=SRC][,PROP=prop][val=VAL1:VAL2]]
render : modifies the graphical appearance of an object (see "8.4 Render & Graphical Appearance" on page 40)
The command render modifies the graphical appearance of a scalar field dataset object:
Syntax: .scal.obj render PV [,PV ...]
The render properties that can be used for the scalar field dataset objects are given in Table 17 (P. 41). Depending on the object type ( contour or grid ), different rendering modes are available, specified as:
Syntax: .scal.obj render MODE
Material parameters can be modified with the command material (see "5.1.6 Graphical Appearance" on page 24).
DINO provides an easy way to map scalar field values to a surface. This can be accomplished by using the surface object command set with -range and as src the scalar field. Following is a generic example, assuming a surface named surf and an electrostatic potential as a scalar field dataset called pot
// load surf ... // load pot ... .surf new -name all // generate surface object .surf.all set color=red:white -range src=.pot, val=-5:0 .surf.all set color=red:red -range src=.pot, val=-999:-5 .surf.all set color=white:blue -range src=.pot, val= 0:5 .surf.all set color=blue:blue -range src=.pot, val=5::999
C7 |
G8 |
|||
turns off point and line antialiasing to increase drawing speed |
||||
lighting is only applied to the front face, leaving the backside practically unlit and dark |
||||