Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SAXSScoreFilter.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 src/protocols/filters/SAXSScoreFilters.hh
11 /// @brief header file for SAXSScoreFilter class.
12 /// @detailed Filters poses based on full atom SAXS energy
13 /// @author Dominik Gront
14 
15 #ifndef INCLUDED_protocols_simple_filters_SAXSScoreFilter_hh
16 #define INCLUDED_protocols_simple_filters_SAXSScoreFilter_hh
17 
21 #include <core/pose/Pose.fwd.hh>
22 // AUTO-REMOVED #include <basic/options/keys/OptionKeys.hh>
23 
24 #include <utility/vector1.hh>
25 
26 
27 namespace protocols {
28 namespace simple_filters {
29 
31 public:
32  /// c-tor and d-tor
34 
35  virtual ~SAXSScoreFilter() {}
36 
38  return new SAXSScoreFilter( *this ); }
39 
41  return new SAXSScoreFilter();
42  }
43 
44 
45  /// @brief Returns true if the given pose passes the filter, false otherwise.
46  virtual
47  bool apply( core::pose::Pose const & pose ) const;
48 
49  virtual std::string name() const {
50  return "SAXSScoreFilter";
51  }
52 
53  core::Real cutoff() const {
54  return cutoff_;
55  }
56 
57  void cutoff(core::Real cutoff_value) { cutoff_ = cutoff_value; }
58 
60 private:
64 };
65 
66 } // filters
67 } // protocols
68 
69 #endif