DisplayParams

Description

The DisplayParams is the data type that carry molecular visual rendering information between modules. It is composed by the following objects:

group DisplayParams {
                  
   int      num_atoms;                // total number of atoms
   int      atom_z[.num_atoms];       // atomic numbers list
   string   residue_name[.num_atoms]; // residue names
   float    charge_min;               // min atom charge (or any other scalar parameter associated to the atom)
   float    charge_max;               // max atom charge (or any other scalar parameter associated to the atom)
   int      atoms_representation;     // representation for atoms
   int      bonds_representation;     // representation for bonds
   int      bonds_split_color;        // use split coloring for bonds
   float    normal_scale;             // scale for atoms
   float    cpk_scale;                // scale for atoms in CPK representation
   float    licorice_scale;           // scale for atoms in "licorice" representation
   float    default_colors[3];        // default color
};