Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PackstatCalculator.hh
Go to the documentation of this file.
1 // (c) Copyright Rosetta Commons Member Institutions.
2 // (c) This file is part of the Rosetta software suite and is made available under license.
3 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
4 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
5 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
6 
7 /// @file /src/protocols/toolbox/PoseMetricCalculators/PackstatCalculator.hh
8 /// @brief
9 /// @author Florian Richter
10 
11 
12 #ifndef INCLUDED_protocols_toolbox_pose_metric_calculators_PackstatCalculator_hh
13 #define INCLUDED_protocols_toolbox_pose_metric_calculators_PackstatCalculator_hh
14 
16 #include <core/pose/Pose.fwd.hh>
17 #include <core/types.hh>
18 #include <basic/MetricValue.fwd.hh>
19 
20 #include <basic/options/option.hh>
21 
22 #include <utility/vector1.hh>
23 
24 #include <set>
25 
26 
27 // option key includes
28 
29 #include <basic/options/keys/packstat.OptionKeys.gen.hh>
30 
31 
32 namespace protocols{
33 namespace toolbox {
34 namespace pose_metric_calculators {
35 
37 
38 public:
39 
41  core::Size oversample = basic::options::option[basic::options::OptionKeys::packstat::oversample],
42  bool remove_nonprotein_res = false
43  );
44 
45 
47  std::set< core::Size > const & special_region,
48  core::Size oversample = basic::options::option[basic::options::OptionKeys::packstat::oversample],
49  bool remove_nonprotein_res = false
50  );
51 
52 
55 
56 protected:
57 
58  virtual void lookup( std::string const & key, basic::MetricValueBase * valptr ) const;
59  virtual std::string print( std::string const & key ) const;
60  virtual void recompute( core::pose::Pose const & this_pose );
61 
62 
63 private:
64 
68 
71 
72  std::set< core::Size > special_region_;
73 
74 };
75 
76 
77 } // namespace pose_metric_calculators
78 } // namespace toolbox
79 } // namespace protocols
80 
81 #endif