Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
superimpose.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/jd2/Job.hh
11 /// @brief header file for ThreadingJob classes, part of August 2008 job distributor as planned at RosettaCon08. This file is responsible for three ideas: "inner" jobs, "outer" jobs (with which the job distributor works) and job container (currently just typdefed in the .fwd.hh)
12 /// @author Steven Lewis smlewi@gmail.com
13 
14 #ifndef INCLUDED_protocols_toolbox_superimpose_hh
15 #define INCLUDED_protocols_toolbox_superimpose_hh
16 
17 // AUTO-REMOVED #include <ObjexxFCL/FArray3D.hh>
18 // AUTO-REMOVED #include <ObjexxFCL/FArray2D.hh>
19 #include <ObjexxFCL/FArray1D.hh>
20 // AUTO-REMOVED #include <numeric/xyzMatrix.hh>
21 // AUTO-REMOVED #include <numeric/xyzVector.hh>
22 // AUTO-REMOVED #include <utility/vector1.hh>
23 #include <core/types.hh>
24 #include <core/pose/Pose.fwd.hh>
25 
26 #include <utility/vector1.hh>
27 #include <numeric/xyzMatrix.fwd.hh>
28 #include <ObjexxFCL/FArray2.fwd.hh>
29 
30 
31 namespace protocols {
32 namespace toolbox {
33 
36 
37 void CA_superimpose( ObjexxFCL::FArray1_double const& weights, core::pose::Pose const& ref_pose, core::pose::Pose& fit_pose );
38 void CA_superimpose( core::pose::Pose const& ref_pose, core::pose::Pose& fit_pose );
39 /*
40 void superimpose(
41  core::Size natoms,
42  ObjexxFCL::FArray1_double& weights,
43  ObjexxFCL::FArray2_double& ref_coords,
44  ObjexxFCL::FArray2_double& coords,
45  Matrix &R //returns rotation matrix
46 );
47 
48 void superimpose(
49  core::Size natoms,
50  ObjexxFCL::FArray1_double& weights,
51  ObjexxFCL::FArray2_double& ref_coords,
52  ObjexxFCL::FArray2_double& coords
53 ); */
54 
56  core::Size natoms,
57  ObjexxFCL::FArray1_double const& weights,
58  ObjexxFCL::FArray2_double const& ref_coords,
59  ObjexxFCL::FArray2_double& coords,
60  Matrix &R
61 );
62 
63 void reset_x(
64  core::Size n,
65  ObjexxFCL::FArray2_double& x,
66  ObjexxFCL::FArray1_double const& wts,
67  ObjexxFCL::FArray1_double& transvec
68 );
69 
70 ///@brief write a CA ALA pdb
71 void dump_as_pdb(
73  core::Size n,
74  ObjexxFCL::FArray2_double& coords,
75  ObjexxFCL::FArray1D_double transvec = ObjexxFCL::FArray1D_double( 3, 0.0 )
76 );
77 
78 void fill_CA_coords( core::pose::Pose const& pose, core::Size natoms, ObjexxFCL::FArray2_double& coords );
79 void fill_CA_coords( core::pose::Pose const& pose, ObjexxFCL::FArray2_double& coords );
80 
81 }
82 }
83 
84 #endif