Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SheetConstraintsRCG.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/SheetConstraintsRCG.hh
11 ///
12 /// @brief
13 /// @author Nobuyasu Koga( nobuyasu@uw.edu ) , October 2009
14 /// @modified Tom Linsky (tlinsky@uw.edu), Nov 2012
15 
16 
17 #ifndef INCLUDED_protocols_fldsgn_SheetConstraintsRCG_hh
18 #define INCLUDED_protocols_fldsgn_SheetConstraintsRCG_hh
19 
20 // Unit Header
22 
23 // Package Header
25 
26 // Proeject Header
27 #include <core/pose/Pose.fwd.hh>
28 #include <core/types.hh>
30 
31 // AUTO-REMOVED #include <string>
32 
33 #include <utility/vector1.hh>
34 
35 
36 namespace protocols{
37 namespace fldsgn{
38 
40 public:
41 
42  typedef core::Size Size;
43  typedef core::Real Real;
46 
47 
48 public:
50 
52 
53  SheetConstraintsRCG( BluePrintOP const & blue );
54 
55  SheetConstraintsRCG( BluePrintOP const & blue, Real const coef );
56 
57  SheetConstraintsRCG( BluePrintOP const & blue, Real const coef, Real const dist );
58 
59  virtual ~SheetConstraintsRCG();
60 
61  virtual void
62  parse_my_tag( TagPtr const tag,
64  protocols::filters::Filters_map const & filters,
65  protocols::moves::Movers_map const & movers,
66  core::pose::Pose const & pose );
67 
68  virtual std::string
69  get_name() const;
70 
72  fresh_instance() const;
73 
75  clone() const;
76 
77  virtual
78  void generate_remodel_constraints( Pose const & pose );
79 
80  /// @brief sets teh blueprint file used for determining proper sheet pairing
81  /// This function will create the blueprint object for you from the file and use it
82  void set_blueprint( std::string const & blueprint_file );
83 
84  /// @brief sets the blueprint object used for determining proper sheet pairing
85  void set_blueprint( BluePrintOP const & blue );
86 
87  /// @brief set the weight of the sheet constraints
88  void set_weight( Real const coef );
89 
90  /// @brief set the maximum Ca-Ca distance between paired residues
91  void set_distance( Real const dist );
92 
93  /// @brief set the flat-bottom tolerance for the backbone angle between strands for each pair
94  /// This is N1-C1-C2 and N2-C2-C1 for parallel sheets, and N1-C1-N2/N2-C2-N1 for antiparallel.
95  void set_angle_tolerance( Real const angle_tolerance );
96 
97  /// @brief set the flat-bottom tolerance for the Cb1-Ca1-Ca2-Cb2 dihedral angle (0 = optimal)
98  void set_cacb_dihedral_tolerance( Real const dihedral_tolerance );
99 
100  /// @brief set the flat-bottom tolerance for the backbone dihedrals (0=optimal)
101  /// Dihedral 1 = O1-N1-C1-C2, Dihedral 2 = O2-N2-C2-C1
102  void set_bb_dihedral_tolerance( Real const dihedral_tolerance );
103 
104  /// @brief sets whether we should constrain distance only, and not generate dihedral and angle constraints
105  void set_constrain_dist_only( bool const constrain_dist_only );
106 private:
107 
115 }; //class SheetConstraintsRCG
116 
117 
118 } //namespace fldsgn
119 } //namespace protocols
120 
121 
122 
123 
124 #endif // INCLUDED_protocols_fldsgn_SheetConstraintsRCG_HH