![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Calculator that fills a spatial grid with per-cell buriedness scores derived from GRAIL::BuriednessScore. More...
#include <BuriednessGridCalculator.hpp>
Public Types | |
| typedef std::shared_ptr< BuriednessGridCalculator > | SharedPointer |
A reference-counted smart pointer [SHPTR] for dynamically allocated BuriednessGridCalculator instances. More... | |
Public Member Functions | |
| BuriednessGridCalculator () | |
Constructs the BuriednessGridCalculator instance. More... | |
| BuriednessGridCalculator (const BuriednessGridCalculator &calc) | |
Constructs a copy of the BuriednessGridCalculator instance calc. More... | |
| void | setProbeRadius (double radius) |
| Sets the probe sphere radius used by the underlying GRAIL::BuriednessScore. More... | |
| double | getProbeRadius () const |
| Returns the currently configured probe sphere radius. More... | |
| void | setMinVdWSurfaceDistance (double dist) |
| Sets the minimum required distance between a ray and the Van der Waals surface of an atom. More... | |
| double | getMinVdWSurfaceDistance () const |
| Returns the currently configured minimum distance to the Van der Waals surface of an atom. More... | |
| void | setNumTestRays (std::size_t num_rays) |
| Sets the number of test rays cast from each grid cell. More... | |
| std::size_t | getNumTestRays () const |
| Returns the currently configured number of test rays. More... | |
| void | setAtom3DCoordinatesFunction (const Chem::Atom3DCoordinatesFunction &func) |
| Specifies a function for the retrieval of atom 3D-coordinates for grid calculation. More... | |
| const Chem::Atom3DCoordinatesFunction & | getAtom3DCoordinatesFunction () const |
| Returns the function used for the retrieval of atom 3D-coordinates. More... | |
| void | calculate (const Chem::AtomContainer &atoms, Grid::DSpatialGrid &grid) |
| Calculates the buriedness value at each cell of grid for the given atoms. More... | |
| BuriednessGridCalculator & | operator= (const BuriednessGridCalculator &calc) |
| Copy assignment operator. More... | |
Calculator that fills a spatial grid with per-cell buriedness scores derived from GRAIL::BuriednessScore.
For each grid cell, the buriedness score with respect to the surrounding atoms is computed and stored. The configurable parameters (probe radius, minimum Van der Waals surface distance, number of test rays) are forwarded to the underlying BuriednessScore instance.
| typedef std::shared_ptr<BuriednessGridCalculator> CDPL::GRAIL::BuriednessGridCalculator::SharedPointer |
A reference-counted smart pointer [SHPTR] for dynamically allocated BuriednessGridCalculator instances.
| CDPL::GRAIL::BuriednessGridCalculator::BuriednessGridCalculator | ( | ) |
Constructs the BuriednessGridCalculator instance.
| CDPL::GRAIL::BuriednessGridCalculator::BuriednessGridCalculator | ( | const BuriednessGridCalculator & | calc | ) |
Constructs a copy of the BuriednessGridCalculator instance calc.
| calc | The BuriednessGridCalculator to copy. |
| void CDPL::GRAIL::BuriednessGridCalculator::setProbeRadius | ( | double | radius | ) |
Sets the probe sphere radius used by the underlying GRAIL::BuriednessScore.
| radius | The probe sphere radius. |
| double CDPL::GRAIL::BuriednessGridCalculator::getProbeRadius | ( | ) | const |
Returns the currently configured probe sphere radius.
| void CDPL::GRAIL::BuriednessGridCalculator::setMinVdWSurfaceDistance | ( | double | dist | ) |
Sets the minimum required distance between a ray and the Van der Waals surface of an atom.
| dist | The minimum distance to the Van der Waals surface. |
| double CDPL::GRAIL::BuriednessGridCalculator::getMinVdWSurfaceDistance | ( | ) | const |
Returns the currently configured minimum distance to the Van der Waals surface of an atom.
| void CDPL::GRAIL::BuriednessGridCalculator::setNumTestRays | ( | std::size_t | num_rays | ) |
Sets the number of test rays cast from each grid cell.
| num_rays | The number of test rays. |
| std::size_t CDPL::GRAIL::BuriednessGridCalculator::getNumTestRays | ( | ) | const |
Returns the currently configured number of test rays.
| void CDPL::GRAIL::BuriednessGridCalculator::setAtom3DCoordinatesFunction | ( | const Chem::Atom3DCoordinatesFunction & | func | ) |
Specifies a function for the retrieval of atom 3D-coordinates for grid calculation.
| func | The atom 3D-coordinates function. |
| const Chem::Atom3DCoordinatesFunction& CDPL::GRAIL::BuriednessGridCalculator::getAtom3DCoordinatesFunction | ( | ) | const |
Returns the function used for the retrieval of atom 3D-coordinates.
| void CDPL::GRAIL::BuriednessGridCalculator::calculate | ( | const Chem::AtomContainer & | atoms, |
| Grid::DSpatialGrid & | grid | ||
| ) |
Calculates the buriedness value at each cell of grid for the given atoms.
| atoms | The atoms used as the environment for the buriedness calculation. |
| grid | The output grid populated with per-cell buriedness scores. |
| BuriednessGridCalculator& CDPL::GRAIL::BuriednessGridCalculator::operator= | ( | const BuriednessGridCalculator & | calc | ) |
Copy assignment operator.
| calc | The other BuriednessGridCalculator instance. |