Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ScaffoldBuildPoint.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_ScaffoldBuildPoint_hh
17 #define INCLUDED_protocols_match_upstream_ScaffoldBuildPoint_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>
29 // AUTO-REMOVED #include <core/conformation/Residue.fwd.hh>
30 #include <core/pose/Pose.fwd.hh>
31 
32 // Utility headers
33 #include <utility/pointer/ReferenceCount.hh>
34 
35 // Numeric headers
36 // AUTO-REMOVED #include <numeric/xyzVector.hh>
37 
39 #include <utility/vector1.hh>
40 
41 
42 namespace protocols {
43 namespace match {
44 namespace upstream {
45 
47 {
48 public:
49  typedef core::Size Size;
50 
51 public:
54  virtual ~ScaffoldBuildPoint();
55 
56  virtual bool compatible( ScaffoldBuildPoint const &, bool first_dispatch = true ) const;
57 
58  virtual bool compatible( OriginalBackboneBuildPoint const &, bool first_dispatch = true ) const;
59 
60  /// @brief Inform the calling function where in the original scaffold
61  /// this build point should be inserted. If the output pose from a matching
62  /// has a different number of residues than the original scaffold, then
63  /// the calling function must determine where the hit from this build point
64  /// should be inserted.
65  virtual Size original_insertion_point() const = 0;
66 
67  virtual
68  void
69  insert(
70  Size seqpos_to_insert_at,
71  Hit const & hit,
72  UpstreamBuilderCOP builder,
73  core::pose::Pose & pose
74  ) const = 0;
75 
76 
77  Size index() const { return index_; }
78  void index( Size setting );
79 
80 private:
82 
83 };
84 
85 
86 }
87 }
88 }
89 
90 #endif