#include <coarse_classifier.h>
Public Member Functions | |
std::string | operator() (const Atom &atm) const |
Function object associating a color to an atom, according to its residue name. -yellow (1,1,0): ALA, CYS, GLY, PRO, SER, THR. -green (0,0.8,0): VAL, LEU, ILE, MET, MSE, PHE, TYR, TRP. -blue (0,0,0.93): HIS, LYS, ARG. -purple (0.54,0.04,0.31): ASN, GLN. -red (0.77,0,0): GLU, ASP. -white (0.5,0.5,0.5): any other residue.
Atom | is an atom type. |
std::string ESBTL::Color_of_atom< Atom >::operator() | ( | const Atom & | atm | ) | const [inline] |
returns the color associated to atm
.