Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RmsdFilter.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/protein_interface_design/filters/RmsdFilter.hh
11 /// @brief Find packing defects at an interface using packstat score terms
12 /// @author Jacob Corn (jecorn@u.washington.edu)
13 
14 #ifndef INCLUDED_protocols_protein_interface_design_filters_RmsdFilter_hh
15 #define INCLUDED_protocols_protein_interface_design_filters_RmsdFilter_hh
16 
17 
18 #include <core/pose/Pose.fwd.hh>
19 #include <core/types.hh>
21 #include <utility/tag/Tag.fwd.hh>
22 #include <list>
23 
24 #include <utility/vector1.hh>
25 
26 
27 namespace protocols {
28 namespace protein_interface_design {
29 namespace filters {
30 
32 {
33 public:
34  RmsdFilter();
35  RmsdFilter(
36  std::list<core::Size> const selection,
37  bool const superimpose,
38  core::Real const threshold,
39  core::pose::PoseOP reference_pose
40  );
41  bool apply( core::pose::Pose const & pose ) const;
44  return new RmsdFilter();
45  }
46  void report( std::ostream & out, core::pose::Pose const & pose ) const;
47  core::Real report_sm( core::pose::Pose const & pose ) const;
48  core::Real compute( core::pose::Pose const & pose ) const;
49  virtual ~RmsdFilter();
51  void superimpose_on_all( bool const b ){ superimpose_on_all_ = b; }
52  bool superimpose_on_all() const{ return superimpose_on_all_; }
53 private:
54  std::list< core::Size > selection_;
58 
60  bool superimpose_on_all_; // dflt false; if segments are defined, are those to be used for superimposing or only to measure rmsd?
61 
62 };
63 
64 } // filters
65 } // protein_interface_design
66 } // protocols
67 
68 #endif //INCLUDED_protocols_protein_interface_design_filters_RmsdFilter_HH_
69