29 #ifndef CDPL_GRAIL_BURIEDNESSSCORE_HPP
30 #define CDPL_GRAIL_BURIEDNESSSCORE_HPP
70 static constexpr
double DEF_PROBE_RADIUS = 8.0;
75 static constexpr
double DEF_MIN_VDW_SURFACE_DISTANCE = 1.0;
80 static constexpr std::size_t DEF_NUM_TEST_RAYS = 200;
88 BuriednessScore(
double probe_radius = DEF_PROBE_RADIUS,
double min_vdw_surf_dist = DEF_MIN_VDW_SURFACE_DISTANCE,
89 std::size_t num_test_rays = DEF_NUM_TEST_RAYS);
148 void genSphereSurfacePoints();
150 typedef std::vector<Math::Vector3D> PointList;
153 double minVdWSurfaceDist;
154 std::size_t numTestRays;
156 PointList probeSurfPoints;
Type declaration of a generic wrapper class for storing user-defined Chem::Atom 3D-coordinates functi...
Declaration of type CDPL::Util::BitSet.
Definition of the preprocessor macro CDPL_GRAIL_API.
#define CDPL_GRAIL_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Definition of vector data types.
A common interface for data-structures that support a random access to stored Chem::Atom instances.
Definition: AtomContainer.hpp:55
Functor for the calculation of the buriedness of a 3D query position with respect to the surrounding ...
Definition: BuriednessScore.hpp:64
double operator()(const Math::Vector3D &pos, const Chem::AtomContainer &atoms)
Calculates the buriedness score of the query position pos with respect to atoms.
void setAtom3DCoordinatesFunction(const Chem::Atom3DCoordinatesFunction &func)
Specifies a function for the retrieval of atom 3D-coordinates for buriedness calculation.
void setMinVdWSurfaceDistance(double dist)
Sets the minimum required distance between a ray and the van der Waals surface of an atom.
void setProbeRadius(double radius)
Sets the probe sphere radius.
double getProbeRadius() const
Returns the currently configured probe sphere radius.
std::size_t getNumTestRays() const
Returns the currently configured number of test rays.
double getMinVdWSurfaceDistance() const
Returns the currently configured minimum distance to the van der Waals surface of an atom.
BuriednessScore(double probe_radius=DEF_PROBE_RADIUS, double min_vdw_surf_dist=DEF_MIN_VDW_SURFACE_DISTANCE, std::size_t num_test_rays=DEF_NUM_TEST_RAYS)
Constructs a BuriednessScore instance with the given configuration.
void setNumTestRays(std::size_t num_rays)
Sets the number of test rays cast from the query position.
const Chem::Atom3DCoordinatesFunction & getAtom3DCoordinatesFunction() const
Returns the function used for the retrieval of atom 3D-coordinates.
std::function< const Math::Vector3D &(const Chem::Atom &)> Atom3DCoordinatesFunction
A generic wrapper class used to store a user-defined Chem::Atom 3D-coordinates function.
Definition: Atom3DCoordinatesFunction.hpp:43
CVector< double, 3 > Vector3D
A bounded 3 element vector holding floating point values of type double.
Definition: Vector.hpp:1637
boost::dynamic_bitset BitSet
A dynamic bitset class.
Definition: BitSet.hpp:46
The namespace of the Chemical Data Processing Library.