Rosetta 3.4
Public Types | Public Member Functions
protocols::match::output::UpstreamDownstreamCollisionFilter Class Reference

This class is used to detect collisions between upstream residues and downstream poses. More...

#include <UpstreamDownstreamCollisionFilter.hh>

Inheritance diagram for protocols::match::output::UpstreamDownstreamCollisionFilter:
Inheritance graph
[legend]
Collaboration diagram for protocols::match::output::UpstreamDownstreamCollisionFilter:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

This class is used to detect collisions between upstream residues and downstream poses.


Member Typedef Documentation


Constructor & Destructor Documentation

protocols::match::output::UpstreamDownstreamCollisionFilter::UpstreamDownstreamCollisionFilter ( std::string  filter_name,
UpstreamHitCacherOP  coordinate_cacher 
)
protocols::match::output::UpstreamDownstreamCollisionFilter::~UpstreamDownstreamCollisionFilter ( ) [virtual]

Member Function Documentation

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]
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]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines