Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AtomicContactFilter.hh
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 sw=2 noet:
3 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 /// @file devel/protein_interface_design/filters/DisulfideFilter.hh
11 /// @brief Filters for interfaces which could form a disulfide bond between
12 /// docking partners.
13 /// @author Sarel Fleishman (sarelf@uw.edu)
14 
15 #ifndef INCLUDED_protocols_simple_filters_AtomicContactFilter_hh
16 #define INCLUDED_protocols_simple_filters_AtomicContactFilter_hh
17 
18 
19 // Project Headers
21 #include <core/pose/Pose.fwd.hh>
22 #include <core/types.hh>
23 #include <utility/tag/Tag.fwd.hh>
26 #include <protocols/moves/ResId.hh>
27 
28 #include <utility/vector1.hh>
29 
30 
31 namespace protocols {
32 namespace simple_filters {
33 
34 /// @brief detects atomic (<4Ang) contacts between any two atoms of two residues
36 {
37 private:
39 public:
40  /// @brief default ctor
42  AtomicContactFilter( core::Size const res1, core::Size const res2, core::Real const distance=4.0, bool const sidechain=1, bool const backbone=0, bool const protons=0 );
43  virtual bool apply( core::pose::Pose const & pose ) const;
44  core::Real compute( core::pose::Pose const & pose ) const;
45  virtual void report( std::ostream & out, core::pose::Pose const & pose ) const;
46  virtual core::Real report_sm( core::pose::Pose const & pose ) const;
47  virtual filters::FilterOP clone() const {
48  return new AtomicContactFilter( *this );
49  }
51  return new AtomicContactFilter();
52  }
53 
54  virtual ~AtomicContactFilter(){};
55  void parse_my_tag( utility::tag::TagPtr const tag,
59  core::pose::Pose const & );
60 private:
61  core::Size residue1_;/*, residue2_ residue2 is managed by the ResId baseclass*/
65 };
66 
67 } // filters
68 } // protocols
69 
70 #endif
71