29 #ifndef CDPL_PHARM_FEATUREFUNCTIONS_HPP
30 #define CDPL_PHARM_FEATUREFUNCTIONS_HPP
Definition of class CDPL::Chem::Fragment.
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.
std::shared_ptr< Fragment > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated Fragment instances.
Definition: Fragment.hpp:66
Abstract base class representing a single pharmacophore feature within a parent Pharm::Pharmacophore.
Definition: Feature.hpp:48
VectorNorm2< E >::ResultType length(const VectorExpression< E > &e)
Returns the length (L2 norm) of the vector expression e (alias of norm2()).
Definition: VectorExpression.hpp:979
CVector< double, 3 > Vector3D
Bounded 3 element vector holding floating point values of type double.
Definition: Vector.hpp:2937
CDPL_PHARM_API void clearEnvironmentSubstructure(Feature &feature)
Removes the Pharm::FeatureProperty::ENVIRONMENT_SUBSTRUCTURE property from feature.
CDPL_PHARM_API bool hasGeometry(const Feature &feature)
Tells whether the Pharm::FeatureProperty::GEOMETRY property of feature has been set.
CDPL_PHARM_API void clearWeight(Feature &feature)
Removes the Pharm::FeatureProperty::WEIGHT property from feature.
CDPL_PHARM_API std::string getEnvironmentResidueAtomInfo(const Feature &feature)
Generates a string describing the per-atom residue environment of feature (residue names and atom nam...
CDPL_PHARM_API void setOrientation(Feature &feature, const Math::Vector3D &orient)
Sets the Pharm::FeatureProperty::ORIENTATION property of feature.
CDPL_PHARM_API bool hasLength(const Feature &feature)
Tells whether the Pharm::FeatureProperty::LENGTH property of feature has been set.
CDPL_PHARM_API bool hasWeight(const Feature &feature)
Tells whether the Pharm::FeatureProperty::WEIGHT property of feature has been set.
CDPL_PHARM_API void clearOrientation(Feature &feature)
Removes the Pharm::FeatureProperty::ORIENTATION property from feature.
CDPL_PHARM_API void setHydrophobicity(Feature &feature, double hyd)
Sets the Pharm::FeatureProperty::HYDROPHOBICITY property of feature.
CDPL_PHARM_API void clearLength(Feature &feature)
Removes the Pharm::FeatureProperty::LENGTH property from feature.
CDPL_PHARM_API void clearType(Feature &feature)
Removes the Pharm::FeatureProperty::TYPE property from feature.
CDPL_PHARM_API void setSubstructure(Feature &feature, const Chem::Fragment::SharedPointer &substruct)
Sets the Pharm::FeatureProperty::SUBSTRUCTURE property of feature.
CDPL_PHARM_API void setWeight(Feature &feature, double weight)
Sets the Pharm::FeatureProperty::WEIGHT property of feature.
CDPL_PHARM_API bool getOptionalFlag(const Feature &feature)
Returns the Pharm::FeatureProperty::OPTIONAL_FLAG property of feature.
CDPL_PHARM_API const Chem::Fragment::SharedPointer & getEnvironmentSubstructure(const Feature &feature)
Returns the Pharm::FeatureProperty::ENVIRONMENT_SUBSTRUCTURE property of feature (interacting pocket ...
CDPL_PHARM_API void setOptionalFlag(Feature &feature, bool flag)
Sets the Pharm::FeatureProperty::OPTIONAL_FLAG property of feature.
CDPL_PHARM_API const Chem::Fragment::SharedPointer & getSubstructure(const Feature &feature)
Returns the Pharm::FeatureProperty::SUBSTRUCTURE property of feature (the underlying atoms/bonds).
CDPL_PHARM_API void clearGeometry(Feature &feature)
Removes the Pharm::FeatureProperty::GEOMETRY property from feature.
CDPL_PHARM_API void setType(Feature &feature, unsigned int type)
Sets the Pharm::FeatureProperty::TYPE property of feature.
CDPL_PHARM_API void setDisabledFlag(Feature &feature, bool flag)
Sets the Pharm::FeatureProperty::DISABLED_FLAG property of feature.
CDPL_PHARM_API void setTolerance(Feature &feature, double tol)
Sets the Pharm::FeatureProperty::TOLERANCE property of feature.
CDPL_PHARM_API void setGeometry(Feature &feature, unsigned int geom)
Sets the Pharm::FeatureProperty::GEOMETRY property of feature.
CDPL_PHARM_API double getHydrophobicity(const Feature &feature)
Returns the Pharm::FeatureProperty::HYDROPHOBICITY property of feature.
CDPL_PHARM_API bool hasOptionalFlag(const Feature &feature)
Tells whether the Pharm::FeatureProperty::OPTIONAL_FLAG property of feature has been set.
CDPL_PHARM_API std::string getEnvironmentResidueInfo(const Feature &feature)
Generates a string describing the residue environment of feature (residue names of interacting pocket...
CDPL_PHARM_API const Math::Vector3D & getOrientation(const Feature &feature)
Returns the Pharm::FeatureProperty::ORIENTATION property of feature.
CDPL_PHARM_API void clearSubstructure(Feature &feature)
Removes the Pharm::FeatureProperty::SUBSTRUCTURE property from feature.
CDPL_PHARM_API void clearOptionalFlag(Feature &feature)
Removes the Pharm::FeatureProperty::OPTIONAL_FLAG property from feature.
CDPL_PHARM_API bool hasTolerance(const Feature &feature)
Tells whether the Pharm::FeatureProperty::TOLERANCE property of feature has been set.
CDPL_PHARM_API bool hasEnvironmentSubstructure(const Feature &feature)
Tells whether the Pharm::FeatureProperty::ENVIRONMENT_SUBSTRUCTURE property of feature has been set.
CDPL_PHARM_API bool hasHydrophobicity(const Feature &feature)
Tells whether the Pharm::FeatureProperty::HYDROPHOBICITY property of feature has been set.
CDPL_PHARM_API unsigned int getType(const Feature &feature)
Returns the Pharm::FeatureProperty::TYPE property of feature.
CDPL_PHARM_API void setEnvironmentSubstructure(Feature &feature, const Chem::Fragment::SharedPointer &substruct)
Sets the Pharm::FeatureProperty::ENVIRONMENT_SUBSTRUCTURE property of feature.
CDPL_PHARM_API bool hasSubstructure(const Feature &feature)
Tells whether the Pharm::FeatureProperty::SUBSTRUCTURE property of feature has been set.
CDPL_PHARM_API bool hasOrientation(const Feature &feature)
Tells whether the Pharm::FeatureProperty::ORIENTATION property of feature has been set.
CDPL_PHARM_API void clearTolerance(Feature &feature)
Removes the Pharm::FeatureProperty::TOLERANCE property from feature.
CDPL_PHARM_API void clearDisabledFlag(Feature &feature)
Removes the Pharm::FeatureProperty::DISABLED_FLAG property from feature.
CDPL_PHARM_API double getWeight(const Feature &feature)
Returns the Pharm::FeatureProperty::WEIGHT property of feature.
CDPL_PHARM_API void setLength(Feature &feature, double length)
Sets the Pharm::FeatureProperty::LENGTH property of feature.
CDPL_PHARM_API bool hasDisabledFlag(const Feature &feature)
Tells whether the Pharm::FeatureProperty::DISABLED_FLAG property of feature has been set.
CDPL_PHARM_API double getTolerance(const Feature &feature)
Returns the Pharm::FeatureProperty::TOLERANCE property of feature.
CDPL_PHARM_API bool hasType(const Feature &feature)
Tells whether the Pharm::FeatureProperty::TYPE property of feature has been set.
CDPL_PHARM_API unsigned int getGeometry(const Feature &feature)
Returns the Pharm::FeatureProperty::GEOMETRY property of feature.
CDPL_PHARM_API double getLength(const Feature &feature)
Returns the Pharm::FeatureProperty::LENGTH property of feature.
CDPL_PHARM_API bool getDisabledFlag(const Feature &feature)
Returns the Pharm::FeatureProperty::DISABLED_FLAG property of feature.
CDPL_PHARM_API void clearHydrophobicity(Feature &feature)
Removes the Pharm::FeatureProperty::HYDROPHOBICITY property from feature.
The namespace of the Chemical Data Processing Library.