Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ResidueIEFilter.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 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/ResidueIEFilter.hh
11 /// @brief definition of filter class ResidueIEFilter.
12 /// @author Sagar Khare (khares@u.washington.edu)
13 
14 #ifndef INCLUDED_protocols_simple_filters_ResidueIEFilter_hh
15 #define INCLUDED_protocols_simple_filters_ResidueIEFilter_hh
16 
19 #include <utility/tag/Tag.fwd.hh>
22 #include <core/pose/Pose.fwd.hh>
25 #include <utility/vector1.hh>
26 
27 namespace protocols {
28 namespace simple_filters {
29 
31 {
32 public:
33  ResidueIEFilter() : filters::Filter( "ResidueIE" ) {}
34 
37  bool const whole_pose = false, bool const whole_interface = false, core::Size const rb_jump = 1,
38  core::Real const interface_distance_cutoff = 8.0 , core::Real max_penalty = 0.0, core::Real penalty_factor = 1.0 );
39 
41  bool apply( core::pose::Pose const & pose ) const;
43  return new ResidueIEFilter( *this );
44  }
46  return new ResidueIEFilter();
47  }
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::Real compute( core::pose::Pose const & pose ) const;
52  virtual ~ResidueIEFilter();
57  core::Real threshold() const;
58  void resnums( utility::vector1<core::Size> const & rn );
61  void threshold( core::Real const th );
62 private:
74  bool use_resE_;
75 
76 };
77 
78 }
79 }
80 
81 #endif