Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PoseMembraneRigidBodyMover.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 PoseMembraneRigidBodyMover.hh
11 /// @brief
12 /// @author Yifan Song
13 
14 #ifndef INCLUDED_protocols_rigid_PoseMembraneRigidBodyMover_hh
15 #define INCLUDED_protocols_rigid_PoseMembraneRigidBodyMover_hh
16 
17 // Package headers
18 #include <protocols/moves/Mover.hh>
19 
20 
21 // Utility Headers
22 #include <core/types.hh>
23 #include <numeric/xyzVector.hh>
24 // AUTO-REMOVED #include <numeric/xyzMatrix.hh>
25 
26 #include <utility/vector1.hh>
27 
28 
29 namespace protocols {
30 namespace rigid {
31 
32 /// move pose into a membrane
34 
35 public:
36  //default constructor
38 
39  void apply( core::pose::Pose & pose );
40 
42  std::string get_name() const;
43 };
44 
45 /// perturb the pose along membrane normal
47 public:
48  MembraneCenterPerturbationMover (); // default constructor
49  MembraneCenterPerturbationMover (core::Real const & trans_mag_in); // constructor
50 
51  void apply( core::pose::Pose & pose );
52 
53  std::string get_name() const;
54 private:
55  ///data
56  core::Real trans_mag_; //maximum translation magnitude
57 
58 };
59 
60 /// rotation pose around membrane center, perturb the membrane normal vector relative to the pose
62 public:
63  MembraneNormalPerturbationMover (); // default constructor
64  MembraneNormalPerturbationMover ( core::Real const & rotation_mag_in ); // constructor
65 
66  void apply( core::pose::Pose & pose );
67 
68  std::string get_name() const;
69 private:
70  ///data
71  core::Real rotation_mag_; //maximum translation magnitude
72 
73 };
74 
75 /// translate the whole pose
77 public:
78  WholeBodyTranslationMover ( core::Vector const & trans_in );
79 
80  void apply( core::pose::Pose & pose );
81  std::string get_name() const;
82 
83 private:
84  /// data
86 };
87 
88 /// rotate the whole pose
90 public:
91  WholeBodyRotationMover ( core::Vector const & axis, core::Vector const & center, core::Real const & alpha /* degrees */ );
92 
93  void apply( core::pose::Pose & pose );
94  std::string get_name() const;
95 
96 private:
97  /// data
98  //numeric::xyzMatrix< core::Real > rotation_m_;
101  core::Real alpha_; /* degrees */
102 };
103 
104 }
105 }
106 
107 #endif //INCLUDED_protocols_rigid_PoseMembraneRigidBodyMover_HH