Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SuperimposeMover.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 SuperimposeMover.hh
11 /// @brief
12 /// @author Ingemar Andre
13 
14 #ifndef INCLUDED_protocols_simple_moves_SuperimposeMover_hh
15 #define INCLUDED_protocols_simple_moves_SuperimposeMover_hh
16 
17 // Unit headers
19 #include <protocols/moves/Mover.hh> // we need to store a pose
20 #include <core/pose/Pose.hh>
21 
22 #include <utility/vector1.hh>
23 
24 
25 namespace protocols {
26 namespace simple_moves {
27 
29 
30 public:
31  /// @brief
32  /// empty constructor
34 
35  SuperimposeMover( core::pose::Pose const & pose );
36 
38 
39  virtual void apply( core::pose::Pose & pose );
40  virtual std::string get_name() const;
41 
42  void set_reference_pose( core::pose::Pose const & pose, Size start=1, Size end=-1);
43  // Undefined, commenting out to fix PyRosetta build void set_target_pose( Size start=1, Size end=-1);
45 
47 
50 
51 private:
52  core::Real superimpose( core::pose::Pose & mod_pose, core::pose::Pose const & ref_pose, Size ref_start, Size ref_end, Size target_start, Size target_end);
53 
54 private:
55 
59 
60 };
61 
62 } // moves
63 } // protocols
64 
65 #endif //INCLUDED_protocols_simple_moves_SuperimposeMover_HH