Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OriginalScaffoldBuildPoint.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 // :noTabs=false:tabSize=4:indentSize=4:
4 //
5 // (c) Copyright Rosetta Commons Member Institutions.
6 // (c) This file is part of the Rosetta software suite and is made available under license.
7 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
8 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
9 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
10 
11 /// @file protocols/match/ScaffoldBuildPoint.hh
12 /// @brief Class declarations for the launch point geometry on the Scaffold.
13 /// @author Alex Zanghellini (zanghell@u.washington.edu)
14 /// @author Andrew Leaver-Fay (aleaverfay@gmail.com), porting to mini
15 
16 #ifndef INCLUDED_protocols_match_upstream_OriginalScaffoldBuildPoint_hh
17 #define INCLUDED_protocols_match_upstream_OriginalScaffoldBuildPoint_hh
18 
19 // Unit headers
21 
22 // Package headers
23 // AUTO-REMOVED #include <protocols/match/Hit.hh>
26 
27 // Project headers
28 #include <core/types.hh>
30 #include <core/pose/Pose.fwd.hh>
31 
32 // Utility headers
33 #include <utility/pointer/ReferenceCount.hh>
34 
35 // Numeric headers
36 #include <numeric/xyzVector.hh>
37 
38 #include <utility/vector1.hh>
39 
40 
41 namespace protocols {
42 namespace match {
43 namespace upstream {
44 
45 
47 {
48 public:
49  typedef core::Real Real;
52 public:
56 
57  Real phi() const { return phi_; }
58  Real psi() const { return psi_; }
59 
60  Vector N_pos() const { return N_pos_; }
61  Vector CA_pos() const { return CA_pos_; }
62  Vector C_pos() const { return C_pos_; }
63  Vector O_pos() const { return O_pos_; }
64 
65  Vector H_pos() const { return H_pos_; }
66  Vector HA_pos() const { return HA_pos_; }
67 
68 public:
69  /// Setters
70  void phi( Real setting );
71  void psi( Real setting );
72 
73  void N_pos( Vector const & setting );
74  void CA_pos( Vector const & setting );
75  void C_pos( Vector const & setting );
76  void O_pos( Vector const & setting );
77 
78  void H_pos( Vector const & setting );
79  void HA_pos( Vector const & setting );
80 
81 private:
82 
88 
91 
92 };
93 
95 {
96 public:
98 
99 public:
104 
105  void
107  core::conformation::Residue const & res
108  );
109 
110  virtual
111  bool
112  compatible( ScaffoldBuildPoint const & other, bool first_dispatch = true ) const;
113 
114  virtual
115  bool
116  compatible( OriginalBackboneBuildPoint const & other, bool first_dispatch = true ) const;
117 
118  virtual
119  Size
120  original_insertion_point() const;
121 
122  virtual
123  void
124  insert(
125  Size seqpos_to_insert_at,
126  Hit const & hit,
127  UpstreamBuilderCOP builder,
128  core::pose::Pose & pose
129  ) const;
130 
131  Size original_resid() const { return original_resid_; }
132  //void original_resid( Size setting ) const;
133 
136  return *input_conformation_;
137  }
138 
139 private:
140 
142 
144 
145 };
146 
147 }
148 }
149 }
150 
151 #endif