29 #ifndef CDPL_PHARM_PHARMACOPHOREGENERATOR_HPP
30 #define CDPL_PHARM_PHARMACOPHOREGENERATOR_HPP
148 typedef std::set<unsigned int> EnabledFeatureSet;
149 typedef std::map<unsigned int, FeatureGenerator::SharedPointer> FeatureGeneratorMap;
151 FeatureGeneratorMap featureGeneratorMap;
152 EnabledFeatureSet enabledFeatures;
Definition of class CDPL::Pharm::FeatureGenerator.
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.
Abstract base class for representations of a chemical structure as a graph of bonded atoms.
Definition: MolecularGraph.hpp:57
std::shared_ptr< FeatureGenerator > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated FeatureGenerator instances.
Definition: FeatureGenerator.hpp:62
Base class for pharmacophore generators that orchestrate per-feature-type Pharm::FeatureGenerator ins...
Definition: PharmacophoreGenerator.hpp:50
void clearEnabledFeatures()
Disables the generation of all types features.
PharmacophoreGenerator(const PharmacophoreGenerator &gen)
Constructs a copy of the PharmacophoreGenerator instance gen.
virtual ~PharmacophoreGenerator()
Virtual destructor.
Definition: PharmacophoreGenerator.hpp:68
PharmacophoreGenerator & operator=(const PharmacophoreGenerator &gen)
Copy assignment operator.
const Chem::Atom3DCoordinatesFunction & getAtom3DCoordinatesFunction() const
Returns the function that was registered for the retrieval of atom 3D-coordinates.
void generate(const Chem::MolecularGraph &molgraph, Pharmacophore &pharm, bool append=false)
Perceives the enabled pharmacophore features of the molecular graph molgraph and adds them to the pha...
void setFeatureGenerator(unsigned int type, const FeatureGenerator::SharedPointer &ftr_gen)
Specifies a Pharm::FeatureGenerator instance that gets used for the generation of the specified type ...
void setAtom3DCoordinatesFunction(const Chem::Atom3DCoordinatesFunction &func)
Specifies a function for the retrieval of atom 3D-coordinates for feature generation.
SharedPointer clone() const
Creates a deep copy of the PharmacophoreGenerator instance (including all registered feature generato...
void enableFeature(unsigned int type, bool enable)
Enables or disables the generation of features of the specified type.
bool isFeatureEnabled(unsigned int type) const
Tells whether the generation of features of the specified type is currently enabled or disabled.
PharmacophoreGenerator()
Constructs the PharmacophoreGenerator instance.
void removeFeatureGenerator(unsigned int type)
Removes the Pharm::FeatureGenerator instance for the specified type of features.
FeatureGenerator::SharedPointer getFeatureGenerator(unsigned int type) const
Returns the Pharm::FeatureGenerator instance that was registered for the generation of the specified ...
std::shared_ptr< PharmacophoreGenerator > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated PharmacophoreGenerator instances.
Definition: PharmacophoreGenerator.hpp:54
Abstract base class for mutable containers of Pharm::Feature instances representing a pharmacophore m...
Definition: Pharmacophore.hpp:53
std::function< const Math::Vector3D &(const Chem::Atom &)> Atom3DCoordinatesFunction
Generic wrapper class used to store a user-defined Chem::Atom 3D-coordinates function.
Definition: Atom3DCoordinatesFunction.hpp:43
The namespace of the Chemical Data Processing Library.