class OEColorOverlap
OEColorOverlap calculates the static color score for a given orientation of a reference molecule and a fit molecule. Note that this does not move the fit molecule nor does it optimize the color overlap. It simply calculates the score for the provided orientation.
OEColorOverlap() OEColorOverlap(const OEColorOverlap &rhs)
Default and copy constructors.
OEColorOverlap &operator=(const OEColorOverlap &rhs)
Assignment operator. The contents of the passed OEColorOverlap reference are copied into an OEColorOverlap instance.
bool ColorScore(OEColorResults &res) bool ColorScore(const OEChem::OEMolBase &fitmol, OEColorResults &res)
Calculate the color score of the fit molecule and place the results into the passed in OEColorResults instance.
bool GetAllColor() const
float GetSelfColor() const
Get the self color score of the reference molecule.
void SetAllColor(bool state)
bool SetColorForceField(unsigned int cffType) bool SetColorForceField(const OEColorForceField &cff) bool SetColorForceField(const std::string &filename) bool SetColorForceField(OEPlatform::oeistream &is)
Set the color force field to use in the calculation. This can be from an existing OEColorForceField instance, from one of the built-in force fields (section 9.3), or from an input stream or input file.
bool SetFitMol(const OEChem::OEMolBase &fitmol)
bool SetRefMol(const OEChem::OEMolBase &refmol)
Set the reference molecule for the calculation.