|
Rosetta
|
Keep track of the interface information. More...
#include <InterfaceInfo.hh>

Public Member Functions | |
| InterfaceInfo () | |
| Default constructor with rb jump = 1. More... | |
| InterfaceInfo (core::Size rb_jump_in) | |
| Constructor with arguments for non-default rb jump. More... | |
| InterfaceInfo (utility::vector1_size const &rb_jump_in) | |
| Constructor with arguments for multiple jumps. More... | |
| InterfaceInfo (InterfaceInfo const &src) | |
| Copy constructor. More... | |
| basic::datacache::CacheableDataOP | clone () const override |
| void | clear_jumps () |
| Removes all jumps from the interface calculation. More... | |
| void | add_jump (core::Size jump_in) |
| Adds another jump to the interface calculation, for example for multi-body docking. More... | |
| void | distance (core::Real distance_in) |
| Sets the distance cutoff for interface calculations. More... | |
| core::Real | distance () |
| Get the distance cutoff for interface calculations. More... | |
| bool | calculated () const |
| Returns if interface calculation is up to date. More... | |
| bool & | calculated () |
| Returns if interface calculation is up to date. More... | |
| core::Size | num_jump () const |
| Returns the number of jumps that are being used in interface calculations. More... | |
| void | initialize () |
| Sets up InterfaceInfo members such as interface_list_ based on variables from construction. More... | |
| bool | is_interface (core::conformation::Residue rsd) const |
| Returns whether a residue is at any of the interfaces. More... | |
| bool | is_pair (core::conformation::Residue rsd1, core::conformation::Residue rsd2) const |
| Returns whether the two residues are considered a residue pair at any of the interfaces. More... | |
| core::Size | interface_nres (core::Size jump_num) const |
| Returns the number of resides at the interface defined by jump_num. More... | |
| void | calculate (core::pose::Pose const &pose) |
| Calculates the interface for all jumps specified in rb_jump_. More... | |
| core::Size | closest_interface_residue (core::pose::Pose const &pose, core::Size src_rsd, core::Real &distance) const |
| InterfaceCOP | interface (core::Size interface_num) const |
Private Member Functions | |
| void | setup_interfaces () |
Private Attributes | |
| bool | calculated_ = false |
| core::Size | num_jump_ |
| core::Real | distance_ = 6.0 |
| utility::vector1_size | rb_jump_ |
| utility::vector1< InterfaceOP > | interface_list_ |
Keep track of the interface information.
| protocols::scoring::InterfaceInfo::InterfaceInfo | ( | ) |
Default constructor with rb jump = 1.
References initialize(), and rb_jump_.
| protocols::scoring::InterfaceInfo::InterfaceInfo | ( | core::Size | rb_jump_in | ) |
Constructor with arguments for non-default rb jump.
References initialize(), and rb_jump_.
| protocols::scoring::InterfaceInfo::InterfaceInfo | ( | utility::vector1_size const & | rb_jump_in | ) |
Constructor with arguments for multiple jumps.
References initialize(), and rb_jump_.
| protocols::scoring::InterfaceInfo::InterfaceInfo | ( | InterfaceInfo const & | src | ) |
Copy constructor.
References distance_, initialize(), interface_list_, num_jump_, and rb_jump_.
| void protocols::scoring::InterfaceInfo::add_jump | ( | core::Size | jump_in | ) |
Adds another jump to the interface calculation, for example for multi-body docking.
References initialize(), and rb_jump_.
| void protocols::scoring::InterfaceInfo::calculate | ( | core::pose::Pose const & | pose | ) |
Calculates the interface for all jumps specified in rb_jump_.
References interface_list_, core::pose::Pose::num_jump(), and num_jump_.
Referenced by protocols::scoring::InterchainPotential::compute_interface().
|
inline |
Returns if interface calculation is up to date.
References calculated_.
|
inline |
Returns if interface calculation is up to date.
References calculated_.
Referenced by protocols::scoring::InterchainPotential::compute_interface(), and protocols::scoring::InterchainPotential::finalize().
| void protocols::scoring::InterfaceInfo::clear_jumps | ( | ) |
Removes all jumps from the interface calculation.
References initialize(), and rb_jump_.
|
inlineoverride |
| core::Size protocols::scoring::InterfaceInfo::closest_interface_residue | ( | core::pose::Pose const & | pose, |
| core::Size | src_rsd, | ||
| core::Real & | distance | ||
| ) | const |
References distance(), interface_list_, and num_jump_.
|
inline |
Get the distance cutoff for interface calculations.
References distance_.
Referenced by closest_interface_residue().
| void protocols::scoring::InterfaceInfo::distance | ( | core::Real | distance_in | ) |
Sets the distance cutoff for interface calculations.
Sets the distance cutoff for interface calculations, and updates interfaces accordingly.
References distance_, and setup_interfaces().
| void protocols::scoring::InterfaceInfo::initialize | ( | ) |
Sets up InterfaceInfo members such as interface_list_ based on variables from construction.
References num_jump_, rb_jump_, and setup_interfaces().
Referenced by add_jump(), clear_jumps(), protocols::scoring::InterchainPotential::compute_interface(), and InterfaceInfo().
| InterfaceCOP protocols::scoring::InterfaceInfo::interface | ( | core::Size | interface_num | ) | const |
References interface_list_.
| core::Size protocols::scoring::InterfaceInfo::interface_nres | ( | core::Size | jump_num | ) | const |
Returns the number of resides at the interface defined by jump_num.
References interface_list_.
Referenced by protocols::scoring::InterchainPotential::evaluate_contact_score().
| bool protocols::scoring::InterfaceInfo::is_interface | ( | core::conformation::Residue | rsd | ) | const |
Returns whether a residue is at any of the interfaces.
References interface_list_, num_jump_, and core::conformation::Residue::seqpos().
Referenced by protocols::scoring::InterchainPotential::evaluate_env_score().
| bool protocols::scoring::InterfaceInfo::is_pair | ( | core::conformation::Residue | rsd1, |
| core::conformation::Residue | rsd2 | ||
| ) | const |
Returns whether the two residues are considered a residue pair at any of the interfaces.
References interface_list_, and num_jump_.
Referenced by protocols::scoring::InterchainPotential::evaluate_pair_and_vdw_score().
|
inline |
Returns the number of jumps that are being used in interface calculations.
References num_jump_.
Referenced by protocols::scoring::InterchainPotential::evaluate_contact_score().
|
private |
References distance_, interface_list_, num_jump_, and rb_jump_.
Referenced by distance(), and initialize().
|
private |
Referenced by calculated().
|
private |
Referenced by distance(), InterfaceInfo(), and setup_interfaces().
|
private |
Referenced by calculate(), closest_interface_residue(), interface(), interface_nres(), InterfaceInfo(), is_interface(), is_pair(), and setup_interfaces().
|
private |
Referenced by calculate(), closest_interface_residue(), initialize(), InterfaceInfo(), is_interface(), is_pair(), num_jump(), and setup_interfaces().
|
private |
Referenced by add_jump(), clear_jumps(), initialize(), InterfaceInfo(), and setup_interfaces().