Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StepWiseProteinLoopBridger.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 SWA_LoopBridger.hh
11 /// @brief
12 /// @detailed
13 ///
14 /// @author Rhiju Das
15 
16 
17 #ifndef INCLUDED_protocols_swa_protein_StepWiseProteinLoopBridger_HH
18 #define INCLUDED_protocols_swa_protein_StepWiseProteinLoopBridger_HH
19 
20 #include <core/pose/Pose.fwd.hh>
22 // AUTO-REMOVED #include <core/id/TorsionID.hh>
24 // AUTO-REMOVED #include <protocols/swa/StepWisePoseSampleGenerator.hh>
25 #include <protocols/moves/Mover.hh>
26 #include <protocols/loops/Loop.hh>
27 #include <utility/vector1.hh>
28 
29 //Auto Headers
30 #include <core/id/TorsionID.fwd.hh>
32 
33 
34 namespace protocols {
35 namespace swa {
36 namespace protein {
37 
38  /////////////////////////////////////////////////////////////////////////////////////////////////
40  public:
41 
42  //constructor!
46 
47  //destructor -- necessary?
49 
50  /// @brief Apply the minimizer to one pose
51  virtual void apply( core::pose::Pose & pose_to_visualize );
52 
53  virtual std::string get_name() const;
54 
55 
58 
59  private:
60 
61  void
62  setup_torsions( core::pose::Pose const & pose );
63 
64  void
65  figure_out_loop( core::pose::Pose const & pose );
66 
67  void
69  utility::vector1< core::Real > const & db_ang,
70  utility::vector1< core::Real > const & db_len ) const;
71 
72  void
78  core::Size const & start_res_ ,
79  core::Size const & end_res_ ) const;
80 
81  void
83 
84  void
86 
87  void
89 
90  void save_phi_psi_offsets( core::pose::Pose const & pose );
91  void fix_phi_psi_offsets( core::pose::Pose & pose ) const;
92 
93  void
95 
96  void
97  initialize_is_fixed_res( utility::vector1< core::Size > const & fixed_res, std::string const & working_sequence );
98 
99  private:
100 
102 
106 
108 
110 
112 
114 
117 
120 
121  bool const verbose_;
122 
125 
128 
129  };
130 
131 } //swa
132 } // protocols
133 
134 }
135 #endif