Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HeavyAtomFilter.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/HeavyAtomFilter.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_filters_HeavyAtomFilter_hh
15 #define INCLUDED_protocols_filters_HeavyAtomFilter_hh
16 
17 
18 #include <core/pose/Pose.hh>
19 #include <core/types.hh>
21 #include <utility/tag/Tag.fwd.hh>
22 #include <list>
23 
24 namespace protocols {
25 namespace filters {
26 
28 {
29 public:
30  HeavyAtomFilter() : protocols::filters::Filter( "HeavyAtom" ) {}
31 
32  HeavyAtomFilter(std::string chain, core::Size heavy_atom_limit ) :
33  protocols::filters::Filter( "HeavyAtom" ),
34  chain_(chain),
35  heavy_atom_limit_(heavy_atom_limit)
36  {}
37 
39  protocols::filters::Filter( init ),
40  chain_(init.chain_),
42 
43  {};
44 
45  virtual ~HeavyAtomFilter(){};
46 
47  bool apply( core::pose::Pose const & pose ) const;
49  return new HeavyAtomFilter( *this );
50  }
51 
53  return new HeavyAtomFilter();
54  }
55 
57 
58 private:
61 };
62 } // filters
63 } // protocols
64 
65 #endif //INCLUDED_protocols_ProteinInterfaceDesign_filters_HeavyAtomFilter_HH_
66