Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SetTorsion.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 sw=2 noet:
3 //
4 // This file is part of the Rosetta software suite and is made available under license.
5 // The Rosetta software is developed by the contributing members of the Rosetta Commons consortium.
6 // (C) 199x-2009 Rosetta Commons participating institutions and developers.
7 // For more information, see http://www.rosettacommons.org/.
8 
9 /// @file
10 /// @brief
11 
12 #ifndef INCLUDED_protocols_simple_moves_SetTorsion_hh
13 #define INCLUDED_protocols_simple_moves_SetTorsion_hh
14 
16 #include <protocols/moves/Mover.hh>
17 
18 // Project Headers
19 #include <core/pose/Pose.fwd.hh>
20 #include <core/types.hh>
21 // AUTO-REMOVED #include <core/chemical/AA.hh>
22 
23 //parsing
24 #include <utility/tag/Tag.fwd.hh>
26 #include <protocols/moves/Mover.fwd.hh> //Movers_map
27 #include <protocols/filters/Filter.fwd.hh> //Filters_map
28 
29 #include <utility/vector1.hh>
30 
31 
32 // Utility headers
33 
34 // C++ headers
35 
36 // Unit headers
37 
38 namespace protocols {
39 namespace simple_moves {
40 
41 /// @brief A mover to change one torsion angle
43 {
44 private:
46 public:
47  ///@brief default ctor
48  SetTorsion();
49  virtual ~SetTorsion();
50 
51  virtual void apply( core::pose::Pose & pose );
52  virtual std::string get_name() const;
53  virtual protocols::moves::MoverOP clone() const {
55  }
58  }
59 
60  void parse_my_tag( utility::tag::TagPtr const tag,
64  core::pose::Pose const & );
65  core::Real angle() const { return angle_; }
66  core::Size resnum() const { return resnum_; }
68  void angle( core::Real const a ){ angle_ = a; }
69  void resnum( core::Size const r ){ resnum_ = r; }
70  void torsion_name( std::string const s ){ torsion_name_ = s; }
71 
72 private:
75  std::string torsion_name_; // phi/psi etc.
76 };
77 
78 } // moves
79 } // protocols
80 
81 #endif //INCLUDED_protocols_simple_moves_SetTorsion_HH_
82