next up previous contents index
Next: The Paint commands Up: The Draw_Mol commands Previous: Macros

Datablocks

 

Each molecular object creates a number of entries in the data base. If the object name is CA, for example, then the following entries are created:

.obj_3dt_ca
Holds the current text of Id'ed atoms.  
.obj_con_ca
  Holds the connectivity between the atoms being displayed. This is stored as a list of integers, pointers to the order of the atoms in the molecule. If atoms i, j, k are connected, then this would be encoded as 2i+1, 2j, 2k in this list.

.obj_idx_ca
  Holds a list of pointers directly to the atoms, i, j, k in the example above.

.obj_col_ca
  Holds a list of colours to be drawn for the atoms, in the order in .obj_idx_ca in this example.

Note that the actual commands issued by the user are not stored in the database.