Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RB_geometry.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 RB_moves - rigid body geometry
11 /// @brief functions that set up the geometry required for rigid body moves
12 /// @author Monica Berrondo
13 /// edited 8.05.08 by G.Lemmon. I changed jump_ids from int to core::Size.
14 /// I also added 3 methods to get downstream and upstream centroids so we can avoid "dummy" centroids
15 
16 
17 #ifndef INCLUDED_protocols_rigid_RB_geometry_hh
18 #define INCLUDED_protocols_rigid_RB_geometry_hh
19 
20 
21 // Package headers
22 #include <core/types.hh>
23 #include <core/pose/Pose.fwd.hh>
24 #include <numeric/xyzMatrix.fwd.hh>
25 
26 // C++ Headers
27 // AUTO-REMOVED #include <utility>
28 
29 #include <utility/vector1.hh>
30 
31 
32 namespace protocols {
33 namespace geometry {
34 
35 numeric::xyzMatrix_double
36 random_reorientation_matrix(const double phi_range= 360.0, const double psi_range= 360.0);
37 
38 void
40  core::pose::Pose const & pose,
41  core::Size const jump_id,
42  core::Vector & upstream_ctrd, //< output
43  core::Vector & downstream_ctrd //< output
44 );
45 
46 void
48  core::pose::Pose const & pose,
49  core::Size const jump_id,
50  core::Vector & upstream_ctrd, //< output
51  core::Vector & downstream_ctrd, //< output
52  utility::vector1< bool > ok_for_centroid_calculation
53 );
54 
55 
56 std::pair < core::Vector, core::Vector > centroid_pair_by_jump(
57  core::pose::Pose const & pose,
58  core::Size jump_id
59 );
60 
62  core::pose::Pose const & pose,
63  core::Size jump_id
64 );
65 
67  core::pose::Pose const & pose,
68  core::Size jump_id
69 );
70 
71 void
73  core::pose::Pose const & pose,
74  core::Size jump_id,
75  core::Vector & upstream_ctrd,
76  core::Vector & downstream_ctrd
77 );
78 
81  core::pose::Pose const & pose,
82  int const start,
83  int const stop
84 );
85 
86 int
88  core::pose::Pose const & pose,
89  int const start,
90  int const stop
91 );
92 
93 /* int
94 residue_center_of_mass(
95  core::pose::Pose & pose,
96  core::Vector const positions
97 ); */
98 
99 int
101  core::pose::Pose const & pose,
102  int const begin,
103  int const end,
104  core::Vector center
105 );
106 } // geometry
107 } // core
108 
109 #endif