Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ResiduesInInterfaceFilter.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 protocols/simple_filters/ResiduesInInterfaceFilter.hh
11 /// @brief Reports to Tracer which residues are designable in a taskfactory
12 /// @author Sarel Fleishman (sarelf@uw.edu)
13 
14 #ifndef INCLUDED_protocols_simple_filters_ResiduesInInterfaceFilter_hh
15 #define INCLUDED_protocols_simple_filters_ResiduesInInterfaceFilter_hh
16 
18 #include <core/pose/Pose.fwd.hh>
19 #include <core/types.hh>
21 #include <utility/tag/Tag.fwd.hh>
24 
25 namespace protocols {
26 namespace simple_filters{
27 
29 {
30 public:
31  ResiduesInInterfaceFilter() : Filter( "ResInInterface" ) {}
32  ResiduesInInterfaceFilter( core::Size const residues_in_interface_threshold, core::Size const rb_jump ) : Filter( "ResInInterface" ) {
33  residues_in_interface_threshold_ = residues_in_interface_threshold;
34  rb_jump_ = rb_jump;
35  }
36  bool apply( core::pose::Pose const & pose ) const;
38  return new ResiduesInInterfaceFilter( *this );
39  }
41  return new ResiduesInInterfaceFilter();
42  }
44  //utility::pointer::ReferenceCount(),
45  Filter( init ) {
47  rb_jump_ = init.rb_jump_;
48  }
49  void report( std::ostream & out, core::pose::Pose const & pose ) const;
50  core::Real report_sm( core::pose::Pose const & pose ) const;
51  core::Size compute( core::pose::Pose const & pose ) const;
54 private:
56 };
57 
58 }
59 }
60 
61 #endif