Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StarAbinitio.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/star/StarAbinitio.hh
11 /// @author Christopher Miles (cmiles@uw.edu)
12 
13 #ifndef INCLUDED_PROTOCOLS_STAR_STARABINITIO_HH
14 #define INCLUDED_PROTOCOLS_STAR_STARABINITIO_HH
15 
16 // Unit header
18 
19 // C/C++ headers
20 #include <string>
21 
22 // Utility headers
23 #include <utility/vector1.fwd.hh>
24 
25 // Project headers
28 #include <core/pose/Pose.fwd.hh>
30 #include <protocols/moves/Mover.hh>
32 
33 namespace protocols {
34 namespace star {
35 
37  public:
38  StarAbinitio();
39  void apply(core::pose::Pose& pose);
40 
41  /// @detail Uses the copy constructor to create a new instance
43 
44  /// @detail Uses the no-argument constructor to create a new instance
46 
47  /// @detail Returns the name of this mover
48  std::string get_name() const;
49 
50  private:
51  /// @detail Sets up kinematics to keep the orientation of the aligned regions
52  /// fixed with respect to one another. A virtual residue is placed at the
53  /// aligned regions' center of mass. A jump from the virtual residue to the
54  /// midpoint of each region is added. Interior cutpoints (i.e. those between
55  /// consecutive aligned regions) are retrieved from the input parameter.
56  void setup_kinematics(const protocols::loops::Loops& aligned,
57  const utility::vector1<unsigned>& interior_cuts,
58  core::pose::Pose* pose) const;
59 
60  /// @detail Removes virtual residue, cutpoint variants and restores simple kinematics
61  void tear_down_kinematics(core::pose::Pose* pose) const;
62 
67 };
68 
69 } // namespace star
70 } // namespace protocols
71 
72 #endif // PROTOCOLS_ABINITIO_STAR_STAR_ABINITIO_HH_