![]() |
Rosetta
2020.11
|
#include <NMRGridSearch.hh>
Public Member Functions | |
NMRGridSearch (id::AtomID const &grid_atom1, id::AtomID const &grid_atom2, pose::Pose const &pose) | |
constructor which takes as arguments two AtomIDs that define the location of the grid search. the area in which the grid search is performed is defined by default values for the distance_to_atom1 (= 5 Ang), the stepsize (= 3 Ang), the grid_min_radius (= 2.5 Ang) and the grid_max_radius (= 25 Ang). to define a different area use the public set methods. More... | |
NMRGridSearch (id::AtomID const &grid_atom1, id::AtomID const &grid_atom2, pose::Pose const &pose, Real const distance_center_to_atom1, Real const stepsize, Real const grid_min_radius, Real const grid_max_radius) | |
constructor with a full list of arguments that define the location and area of the grid search. More... | |
NMRGridSearch (NMRGridSearch const &other) | |
copy constructor More... | |
NMRGridSearch & | operator= (NMRGridSearch const &rhs) |
assignment operator More... | |
~NMRGridSearch () | |
@ destructor More... | |
bool | valid_next_grid_point (Vector &metal_coords) |
checks if grid point is within the predefined sphere and updates metal coordinates returns false when last grid point is reached More... | |
id::AtomID const & | get_grid_atom1 () const |
id::AtomID const & | get_grid_atom2 () const |
Real | get_stepsize () const |
Real | get_grid_min_radius () const |
Real | get_grid_max_radius () const |
Real | get_distance_center_to_atom1 () const |
PointPosition | get_grid_search_center () const |
PointPosition | get_best_grid_point () const |
void | set_stepsize (Real step) |
void | set_grid_min_radius (Real radius) |
void | set_grid_max_radius (Real radius) |
void | set_distance_center_to_atom1 (Real distance) |
void | set_grid_atom1 (id::AtomID const &atom) |
void | set_grid_atom2 (id::AtomID const &atom) |
void | set_best_grid_point (PointPosition const &point) |
void | set_grid_search_center (pose::Pose const &pose) |
Calculate and set grid search center from coordinates of atoms 1 and 2 found in the input pose and from the geometric definition of the grid search. More... | |
void | set_grid_search_center (PointPosition const &point) |
Set grid search center directly to specified input point. More... | |
Private Member Functions | |
NMRGridSearch () | |
default constructor More... | |
void | reset_to_start () |
bool | switch_to_next_grid_point (Vector &metal_coords) |
advances metal coordinates by one stepsize in either x, y or z-direction returns false when the last grid point is reached More... | |
core::scoring::nmr::NMRGridSearch::NMRGridSearch | ( | id::AtomID const & | grid_atom1, |
id::AtomID const & | grid_atom2, | ||
pose::Pose const & | pose | ||
) |
constructor which takes as arguments two AtomIDs that define the location of the grid search. the area in which the grid search is performed is defined by default values for the distance_to_atom1 (= 5 Ang), the stepsize (= 3 Ang), the grid_min_radius (= 2.5 Ang) and the grid_max_radius (= 25 Ang). to define a different area use the public set methods.
References set_grid_search_center().
core::scoring::nmr::NMRGridSearch::NMRGridSearch | ( | id::AtomID const & | grid_atom1, |
id::AtomID const & | grid_atom2, | ||
pose::Pose const & | pose, | ||
Real const | distance_center_to_atom1, | ||
Real const | stepsize, | ||
Real const | grid_min_radius, | ||
Real const | grid_max_radius | ||
) |
constructor with a full list of arguments that define the location and area of the grid search.
References set_grid_search_center().
core::scoring::nmr::NMRGridSearch::NMRGridSearch | ( | NMRGridSearch const & | other | ) |
copy constructor
core::scoring::nmr::NMRGridSearch::~NMRGridSearch | ( | ) |
@ destructor
|
private |
default constructor
|
inline |
References best_grid_point_.
|
inline |
References distance_center_to_atom1_.
|
inline |
References grid_atom1_.
|
inline |
References grid_atom2_.
|
inline |
References grid_max_radius_.
|
inline |
References grid_min_radius_.
|
inline |
References center_.
NMRGridSearch & core::scoring::nmr::NMRGridSearch::operator= | ( | NMRGridSearch const & | rhs | ) |
assignment operator
References at_start_position_, best_grid_point_, center_, center_is_set_, current_, delta_, distance_center_to_atom1_, grid_atom1_, grid_atom2_, grid_max_radius_, grid_min_radius_, and stepsize_.
|
private |
References at_start_position_, center_, and current_.
Referenced by set_grid_search_center(), and switch_to_next_grid_point().
|
inline |
References best_grid_point_.
|
inline |
References core::kinematics::distance(), and distance_center_to_atom1_.
|
inline |
References grid_atom1_.
|
inline |
References grid_atom2_.
|
inline |
References grid_max_radius_.
|
inline |
References grid_min_radius_.
void core::scoring::nmr::NMRGridSearch::set_grid_search_center | ( | pose::Pose const & | pose | ) |
Calculate and set grid search center from coordinates of atoms 1 and 2 found in the input pose and from the geometric definition of the grid search.
References core::id::AtomID::atomno(), center_, center_is_set_, distance_center_to_atom1_, grid_atom1_, grid_atom2_, reset_to_start(), core::pose::Pose::residue(), core::id::AtomID::rsd(), core::pose::Pose::total_residue(), core::id::AtomID::valid(), and protocols::kinmatch::xyz().
Referenced by NMRGridSearch().
void core::scoring::nmr::NMRGridSearch::set_grid_search_center | ( | PointPosition const & | point | ) |
Set grid search center directly to specified input point.
References center_, center_is_set_, and reset_to_start().
advances metal coordinates by one stepsize in either x, y or z-direction returns false when the last grid point is reached
References at_start_position_, center_, current_, delta_, grid_max_radius_, reset_to_start(), and stepsize_.
Referenced by valid_next_grid_point().
checks if grid point is within the predefined sphere and updates metal coordinates returns false when last grid point is reached
References center_, center_is_set_, delta_, grid_max_radius_, grid_min_radius_, and switch_to_next_grid_point().
|
private |
Referenced by operator=(), reset_to_start(), and switch_to_next_grid_point().
|
private |
Referenced by get_best_grid_point(), operator=(), and set_best_grid_point().
|
private |
|
private |
Referenced by operator=(), set_grid_search_center(), and valid_next_grid_point().
|
private |
Referenced by operator=(), reset_to_start(), and switch_to_next_grid_point().
|
private |
Referenced by operator=(), switch_to_next_grid_point(), and valid_next_grid_point().
|
private |
Referenced by get_distance_center_to_atom1(), operator=(), set_distance_center_to_atom1(), and set_grid_search_center().
|
private |
Referenced by get_grid_atom1(), operator=(), set_grid_atom1(), and set_grid_search_center().
|
private |
Referenced by get_grid_atom2(), operator=(), set_grid_atom2(), and set_grid_search_center().
|
private |
Referenced by get_grid_max_radius(), operator=(), set_grid_max_radius(), switch_to_next_grid_point(), and valid_next_grid_point().
|
private |
Referenced by get_grid_min_radius(), operator=(), set_grid_min_radius(), and valid_next_grid_point().
|
private |
Referenced by get_stepsize(), operator=(), set_stepsize(), and switch_to_next_grid_point().