Rosetta 3.4
|
This class is used to detect collisions between upstream residues and downstream poses. More...
#include <UpstreamDownstreamCollisionFilter.hh>
Public Types | |
typedef core::Real | Real |
typedef MatchCollisionFilter | parent |
Public Member Functions | |
UpstreamDownstreamCollisionFilter (std::string filter_name, UpstreamHitCacherOP coordinate_cacher) | |
virtual | ~UpstreamDownstreamCollisionFilter () |
void | set_downstream_pose (core::pose::Pose const &downstream_pose) |
void | set_num_geometric_constraints (Size n_geomcst) |
void | set_chemical_bond_from_upstream_to_downstream (Size geomcst_id) |
Do not perform any collision detection between an upstream residue and the downstream pose if there is a chemical bond between them. | |
void | set_downstream_builder (Size geomcst_id, downstream::DownstreamBuilderCOP builder) |
void | set_tolerated_overlap (Real setting) |
virtual bool | passes_filter (match const &m) const |
Returns true if there is at least one placement of the downstream partner which does not exceed the collision tolerance with any of the upstream residues. | |
virtual bool | passes_filter (match_dspos1 const &m) const |
Returns true if the specified downstream position does not collide more than tolerated with any of the upstream residues. | |
bool | passes_hardsphere_filter (core::Size geomcst_up, core::Size geomcst_down, Hit const &upstream_hit, Hit const &downstream_hit) const |
bool | passes_hardsphere_filter (core::Size geomcst, Hit const &upstream_hit, utility::vector1< core::Vector > const &coords) const |
This class is used to detect collisions between upstream residues and downstream poses.
Reimplemented from protocols::match::output::MatchCollisionFilter.
protocols::match::output::UpstreamDownstreamCollisionFilter::UpstreamDownstreamCollisionFilter | ( | std::string | filter_name, |
UpstreamHitCacherOP | coordinate_cacher | ||
) |
protocols::match::output::UpstreamDownstreamCollisionFilter::~UpstreamDownstreamCollisionFilter | ( | ) | [virtual] |
bool protocols::match::output::UpstreamDownstreamCollisionFilter::passes_filter | ( | match const & | m | ) | const [virtual] |
Returns true if there is at least one placement of the downstream partner which does not exceed the collision tolerance with any of the upstream residues.
Implements protocols::match::output::MatchCollisionFilter.
bool protocols::match::output::UpstreamDownstreamCollisionFilter::passes_filter | ( | match_dspos1 const & | m | ) | const [virtual] |
Returns true if the specified downstream position does not collide more than tolerated with any of the upstream residues.
Implements protocols::match::output::MatchCollisionFilter.
References protocols::match::output::MatchCollisionFilter::filter_by_lj(), and passes_hardsphere_filter().
bool protocols::match::output::UpstreamDownstreamCollisionFilter::passes_hardsphere_filter | ( | core::Size | geomcst_up, |
core::Size | geomcst_down, | ||
Hit const & | upstream_hit, | ||
Hit const & | downstream_hit | ||
) | const |
Referenced by passes_filter().
bool protocols::match::output::UpstreamDownstreamCollisionFilter::passes_hardsphere_filter | ( | core::Size | geomcst, |
Hit const & | upstream_hit, | ||
utility::vector1< core::Vector > const & | coords | ||
) | const [inline] |
References core::conformation::Residue::atom_type_index(), protocols::match::output::MatchCollisionFilter::bump_grid(), protocols::match::output::MatchCollisionFilter::cacher_, core::kinematics::tree::distance_squared(), core::conformation::Residue::nbr_atom(), core::conformation::Residue::nbr_radius(), core::conformation::Residue::nheavyatoms(), and protocols::match::probe_radius_for_atom_type().
void protocols::match::output::UpstreamDownstreamCollisionFilter::set_chemical_bond_from_upstream_to_downstream | ( | Size | geomcst_id | ) |
Do not perform any collision detection between an upstream residue and the downstream pose if there is a chemical bond between them.
void protocols::match::output::UpstreamDownstreamCollisionFilter::set_downstream_builder | ( | Size | geomcst_id, |
downstream::DownstreamBuilderCOP | builder | ||
) |
void protocols::match::output::UpstreamDownstreamCollisionFilter::set_downstream_pose | ( | core::pose::Pose const & | downstream_pose | ) |
void protocols::match::output::UpstreamDownstreamCollisionFilter::set_num_geometric_constraints | ( | Size | n_geomcst | ) |
void protocols::match::output::UpstreamDownstreamCollisionFilter::set_tolerated_overlap | ( | Real | setting | ) | [virtual] |