Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
InterfaceSasaFilter.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/InterfaceSasaFilter.hh
11 /// @brief definition of filter class InterfaceSasaFilter.
12 /// @author Sarel Fleishman (sarelf@u.washington.edu), Jacob Corn (jecorn@u.washington.edu)
13 
14 #ifndef INCLUDED_protocols_simple_filters_InterfaceSasaFilter_hh
15 #define INCLUDED_protocols_simple_filters_InterfaceSasaFilter_hh
16 
17 #include <utility/vector1.hh>
19 #include <core/types.hh>
21 #include <core/pose/Pose.fwd.hh>
22 #include <utility/tag/Tag.fwd.hh>
26 
27 namespace protocols {
28 namespace simple_filters {
29 
31 {
32 public:
34  InterfaceSasaFilter( core::Real const lower_threshold, bool const hydrophobic=false, bool const polar=false, core::Real const upper_threshold=100000000.0, std::string const sym_dof_names="" );
35 
36  bool apply( core::pose::Pose const & pose ) const;
37  void report( std::ostream & out, core::pose::Pose const & pose ) const;
38  core::Real report_sm( core::pose::Pose const & pose ) const;
39  core::Real compute( core::pose::Pose const & pose ) const; // which residue numbers are neighbors
40  filters::FilterOP clone() const;
42 
43  virtual ~InterfaceSasaFilter();
44  void jump( core::Size const jump );
45  void add_jump( core::Size const jump );
47 
49  void sym_dof_names( utility::vector1<std::string> const sym_dof_names );
50  void add_sym_dof_name( std::string const sym_dof_name );
51 
53  void parse_def( utility::lua::LuaObject const & def,
54  utility::lua::LuaObject const & score_fxns,
55  utility::lua::LuaObject const & tasks );
56 private:
59  bool hydrophobic_, polar_; /// count only hydrophobics? polars?
60  utility::vector1<core::Size> jumps_; // dflt 1; across which jumps to compute sasa
61  utility::vector1<std::string> sym_dof_names_; // dflt 1; sym_dof_names for jumps across which to compute sasa
62 };
63 
64 }
65 }
66 
67 #endif