29 #ifndef CDPL_PHARM_FEATUREGEOMETRYMATCHFUNCTOR_HPP
30 #define CDPL_PHARM_FEATUREGEOMETRYMATCHFUNCTOR_HPP
56 static constexpr
double DEF_MAX_HBA_INTERACTION_DIR_ANGLE = 85.0;
58 static constexpr
double DEF_MAX_HBA_ORIENTATION_DEVIATION = 45.0;
60 static constexpr
double DEF_MAX_HBD_INTERACTION_DIR_DEVIATION = 45.0;
62 static constexpr
double DEF_MAX_XBA_INTERACTION_DIR_DEVIATION = 45.0;
64 static constexpr
double DEF_MAX_XBD_INTERACTION_DIR_DEVIATION = 45.0;
66 static constexpr
double DEF_MAX_AR_ORIENTATION_DEVIATION = 45.0;
78 double max_hba_orient_dev = DEF_MAX_HBA_ORIENTATION_DEVIATION,
79 double max_hbd_int_dir_dev = DEF_MAX_HBD_INTERACTION_DIR_DEVIATION,
80 double max_xba_int_dir_dev = DEF_MAX_XBA_INTERACTION_DIR_DEVIATION,
81 double max_xbd_int_dir_dev = DEF_MAX_XBD_INTERACTION_DIR_DEVIATION,
82 double max_ar_orient_dev = DEF_MAX_AR_ORIENTATION_DEVIATION);
184 double maxHBAInteractionDirAngle;
185 double maxHBAOrientationDeviation;
186 double maxHBDInteractionDirDeviation;
187 double maxXBAInteractionDirDeviation;
188 double maxXBDInteractionDirDeviation;
189 double maxAROrientationDeviation;
Definition of matrix data types.
Definition of the preprocessor macro CDPL_PHARM_API.
#define CDPL_PHARM_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Definition of vector data types.
Match functor that quantifies the goodness of the spatial orientation match between two pharmacophore...
Definition: FeatureGeometryMatchFunctor.hpp:52
void setMaxXBDInteractionDirDeviation(double angle)
Sets the maximum halogen-bond donor interaction direction deviation.
double operator()(const Feature &ftr1, const Feature &ftr2, const Math::Matrix4D &xform) const
Calculates a score reflecting the goodness of the spatial feature orientation match.
double getMaxXBAInteractionDirDeviation() const
Returns the currently configured maximum halogen-bond acceptor interaction direction deviation.
void setMaxAROrientationDeviation(double angle)
Sets the maximum aromatic feature orientation deviation.
double getMaxAROrientationDeviation() const
Returns the currently configured maximum aromatic feature orientation deviation.
double getMaxHBDInteractionDirDeviation() const
Returns the currently configured maximum H-bond donor interaction direction deviation.
void setMaxXBAInteractionDirDeviation(double angle)
Sets the maximum halogen-bond acceptor interaction direction deviation.
void setMaxHBDInteractionDirDeviation(double angle)
Sets the maximum H-bond donor interaction direction deviation.
FeatureGeometryMatchFunctor(double max_hba_int_dir_angle=DEF_MAX_HBA_INTERACTION_DIR_ANGLE, double max_hba_orient_dev=DEF_MAX_HBA_ORIENTATION_DEVIATION, double max_hbd_int_dir_dev=DEF_MAX_HBD_INTERACTION_DIR_DEVIATION, double max_xba_int_dir_dev=DEF_MAX_XBA_INTERACTION_DIR_DEVIATION, double max_xbd_int_dir_dev=DEF_MAX_XBD_INTERACTION_DIR_DEVIATION, double max_ar_orient_dev=DEF_MAX_AR_ORIENTATION_DEVIATION)
Constructs a FeatureGeometryMatchFunctor with the specified per-type angle tolerances.
double operator()(const Feature &ftr1, const Feature &ftr2) const
Calculates a score reflecting the goodness of the spatial feature orientation match.
void setMaxHBAOrientationDeviation(double angle)
Sets the maximum H-bond acceptor orientation deviation.
double getMaxHBAInteractionDirAngle() const
Returns the currently configured maximum H-bond acceptor interaction direction angle.
void setMaxHBAInteractionDirAngle(double angle)
Sets the maximum H-bond acceptor interaction direction angle.
double getMaxHBAOrientationDeviation() const
Returns the currently configured maximum H-bond acceptor orientation deviation.
double getMaxXBDInteractionDirDeviation() const
Returns the currently configured maximum halogen-bond donor interaction direction deviation.
Abstract base class representing a single pharmacophore feature within a parent Pharm::Pharmacophore.
Definition: Feature.hpp:48
CVector< double, 3 > Vector3D
Bounded 3 element vector holding floating point values of type double.
Definition: Vector.hpp:2937
The namespace of the Chemical Data Processing Library.