Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RNA_IdealCoord.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/rna/RNA_IdealCoord.hh
11 /// @brief Apply ideal RNA geometry to a residue or a pose
12 /// @author Fang-Chieh Chou
13 
14 
15 #ifndef INCLUDED_protocols_rna_RNA_IdealCoord_HH
16 #define INCLUDED_protocols_rna_RNA_IdealCoord_HH
17 
18 #include <core/types.hh>
20 #include <core/pose/Pose.fwd.hh>
21 #include <core/pose/Pose.hh>
22 #include <core/id/AtomID.fwd.hh>
23 #include <core/id/TorsionID.fwd.hh>
24 #include <utility/vector1.fwd.hh>
25 
26 // Utility headers
27 
28 // ObjexxFCL headers
29 
30 //// C++ headers
31 #include <string>
32 
33 
34 using namespace core;
35 using namespace core::pose;
36 
37 namespace protocols {
38 namespace rna {
39 
41 public:
42 
44  ~RNA_IdealCoord();
45 
46  //Apply ideal coords to one residue. Keep the backbone torsion values by default
47  void apply( Pose & pose, Size const seqpos, bool const is_north = true, bool const keep_backbone_torsion = true ) const;
48 
49  //Apply ideal coords to whole pose.
50  //pucker_conformations: 0 for skipping, 1 for North, 2 for South
51  void apply( Pose & pose, utility::vector1 < Size > const & pucker_conformations, bool const keep_backbone_torsion = true ) const;
52 
53 private:
54  void init();
55  bool is_torsion_exists(Pose const & pose, id::TorsionID const & torsion_id) const;
58 };
59 
60 }
61 }
62 
63 #endif