Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
InverseRotamersRCG.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/forge/constraints/InverseRotamersRCG.hh
11 ///
12 /// @brief
13 /// @author Florian Richter, floric@u.washington.edu, april 2010
14 
15 
16 
17 
18 #ifndef INCLUDED_protocols_forge_constraints_InverseRotamersRCG_hh
19 #define INCLUDED_protocols_forge_constraints_InverseRotamersRCG_hh
20 
21 //unit headers
23 
24 //package headers
27 
28 //project headers
31 #include <core/pose/Pose.fwd.hh>
32 #include <core/types.hh>
34 
35 // C++headers
36 #include <list>
37 
38 #include <utility/vector1.hh>
39 
40 
41 namespace protocols{
42 namespace forge{
43 namespace constraints{
44 
45 
46 
47 /// @brief a RemodelConstraintGenerator that creates AmbiguousConstraints for all positions
48 /// in a remodeled region towards a list of inverse rotamers. For every remodel position/inverse rotamer
49 /// pair, there will be one MultiConstraint consisting of three CoordinateConstraints. the three
50 /// coordinate constraints will be between:
51 /// 1) remodel res N - invrot N coords
52 /// 2) remodel res Ca - invrot Ca coords
53 /// 3) remodel res Cb - invrot Cb coords
54 /// All of these MultiConstraints are combined to form one AmbiguousConstraint.
55 /// In effect, this RCG should bias the remodel trajectory such that
56 /// one remodel residue backbone overlays with one inverse rotamer backbone
58 {
59 
60 public:
61  // constructors and virtual functions
63 
64  /// @brief copy constructor
65  InverseRotamersRCG( InverseRotamersRCG const & rval );
66 
67  /// @brief value constructor which initializes and then calls init()
69  core::Size const lstart,
70  core::Size const lstop,
71  std::list< core::conformation::ResidueCOP > const & inverse_rotamers
72  );
73 
75 
76  virtual void
77  parse_my_tag( TagPtr const tag,
79  protocols::filters::Filters_map const & filters,
80  protocols::moves::Movers_map const & movers,
81  core::pose::Pose const & pose );
82 
83  virtual std::string
84  get_name() const;
85 
87  fresh_instance() const;
88 
90  clone() const;
91 
92  virtual
93  void
95  core::pose::Pose const & pose );
96 
97 public:
98  // public member functions
99  void
101  core::scoring::constraints::FuncOP constraint_func );
102 
103  void
105 
107 
108  /// @brief initialize with given lstart, lstop, and inverse rotamer residue list
109  void init( core::Size const lstart,
110  core::Size const lstop,
111  std::list< core::conformation::ResidueCOP > const & inverse_rotamers );
112 
113 private:
115 
116  std::list< core::conformation::ResidueCOP > inverse_rotamers_;
117 
120 }; //class InverseRotamersRCG
121 
122 
123 } //namespace remodel
124 } //namespace forge
125 } //namespace protocols
126 
127 
128 
129 
130 #endif // INCLUDED_protocols_forge_remodel_InverseRotamersRCG_HH