29 #ifndef CDPL_GRAIL_BURIEDNESSGRIDCALCULATOR_HPP
30 #define CDPL_GRAIL_BURIEDNESSGRIDCALCULATOR_HPP
50 template <
typename PT,
typename CT,
typename ST>
148 typedef Internal::Octree<Math::Vector3D, Math::Vector3DArray, double> Octree;
149 typedef std::shared_ptr<Octree> OctreePtr;
150 typedef std::vector<std::size_t> AtomIndexList;
155 AtomIndexList atomIndices;
Definition of class CDPL::GRAIL::BuriednessScore.
Definition of class CDPL::Chem::Fragment.
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 a spatial grid data type.
Definition of class CDPL::Math::VectorArray.
Definition of vector data types.
Common interface for data structures that support a random access to stored Chem::Atom instances.
Definition: AtomContainer.hpp:55
Concrete Chem::MolecularGraph implementation that stores references to a selectable subset of atoms a...
Definition: Fragment.hpp:57
Calculator that fills a spatial grid with per-cell buriedness scores derived from GRAIL::BuriednessSc...
Definition: BuriednessGridCalculator.hpp:66
void setNumTestRays(std::size_t num_rays)
Sets the number of test rays cast from each grid cell.
std::size_t getNumTestRays() const
Returns the currently configured number of test rays.
const Chem::Atom3DCoordinatesFunction & getAtom3DCoordinatesFunction() const
Returns the function used for the retrieval of atom 3D-coordinates.
BuriednessGridCalculator()
Constructs the BuriednessGridCalculator instance.
BuriednessGridCalculator & operator=(const BuriednessGridCalculator &calc)
Copy assignment operator.
void setProbeRadius(double radius)
Sets the probe sphere radius used by the underlying GRAIL::BuriednessScore.
std::shared_ptr< BuriednessGridCalculator > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated BuriednessGridCalculator instance...
Definition: BuriednessGridCalculator.hpp:72
void setAtom3DCoordinatesFunction(const Chem::Atom3DCoordinatesFunction &func)
Specifies a function for the retrieval of atom 3D-coordinates for grid calculation.
double getMinVdWSurfaceDistance() const
Returns the currently configured minimum distance to the Van der Waals surface of an atom.
void calculate(const Chem::AtomContainer &atoms, Grid::DSpatialGrid &grid)
Calculates the buriedness value at each cell of grid for the given atoms.
void setMinVdWSurfaceDistance(double dist)
Sets the minimum required distance between a ray and the Van der Waals surface of an atom.
BuriednessGridCalculator(const BuriednessGridCalculator &calc)
Constructs a copy of the BuriednessGridCalculator instance calc.
double getProbeRadius() const
Returns the currently configured probe sphere radius.
Functor for the calculation of the buriedness of a 3D query position with respect to the surrounding ...
Definition: BuriednessScore.hpp:64
Abstract base class for attributed grids whose elements have a defined 3D position in space.
Definition: SpatialGrid.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
VectorArray< Vector3D > Vector3DArray
Array storing vectors of type Math::Vector3D.
Definition: VectorArray.hpp:85
The namespace of the Chemical Data Processing Library.