Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ResidueBurialFilter.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/ResidueBurialFilter.hh
11 /// @brief definition of filter class ResidueBurialFilter.
12 /// @author Sarel Fleishman (sarelf@u.washington.edu), Jacob Corn (jecorn@u.washington.edu)
13 
14 #ifndef INCLUDED_protocols_simple_filters_ResidueBurialFilter_hh
15 #define INCLUDED_protocols_simple_filters_ResidueBurialFilter_hh
16 
18 #include <core/types.hh>
20 #include <utility/tag/Tag.fwd.hh>
24 
25 namespace protocols {
26 namespace simple_filters {
27 
29 {
30 public:
32  ResidueBurialFilter( core::Size const target_residue, core::Size const neighbors, core::Real const distance_threshold );
33  bool apply( core::pose::Pose const & pose ) const;
34  void report( std::ostream & out, core::pose::Pose const & pose ) const;
35  core::Real report_sm( core::pose::Pose const & pose ) const;
36  core::Size compute( core::pose::Pose const & pose ) const;
37  filters::FilterOP clone() const;
41 
42  virtual ~ResidueBurialFilter();
46 private:
50  core::pack::task::TaskFactoryOP task_factory_; /// used to determine which residues to check for burial dynamically. All designable residues will be checked, and if any of them is buried, returns true
51  core::Real residue_fraction_buried_; // dflt 0.0001; what fraction of the residues specified by the task_factory should be buried for the filter to pass
52 
53 };
54 
55 }
56 }
57 
58 #endif