Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RNA_ScoringInfo.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 core/scoring/methods/RNA_ScoringInfo.hh
11 /// @brief Statistically derived rotamer pair potential class implementation
12 /// @author Phil Bradley
13 /// @author Andrew Leaver-Fay
14 
15 #ifndef INCLUDED_core_scoring_rna_RNA_ScoringInfo_hh
16 #define INCLUDED_core_scoring_rna_RNA_ScoringInfo_hh
17 
18 #include <core/types.hh>
19 
20 // Project headers
21 #include <core/pose/Pose.fwd.hh>
24 
29 
30 #include <basic/datacache/CacheableData.hh>
31 
32 // Utility headers
33 // AUTO-REMOVED #include <utility/vector1.hh>
34 
35 // Numceric Headers
36 #include <numeric/xyzVector.fwd.hh>
37 
38 #include <utility/vector1.hh>
39 
40 
41 // C++
42 
43 namespace core {
44 namespace scoring {
45 namespace rna {
46 
47 ////////////////////////////////////////////////////////////////////////////////////////////////////
48 /// @brief Keep track of RNA centroid, useful atom, base-base info inside the pose.
49 class RNA_ScoringInfo : public basic::datacache::CacheableData {
50 
51 public:
52 
54 
55  RNA_ScoringInfo( RNA_ScoringInfo const & src );
56 
57  basic::datacache::CacheableDataOP
58  clone() const
59  {
60  return new RNA_ScoringInfo( *this );
61  }
62 
63  // Undefinded, comented out to make python bindings complile
64  //void
65  //update( pose::Pose const & pose );
66 
67  Size
68  size() const {
69  return rna_centroid_info_.size();
70  }
71 
72  bool
73  calculated() const
74  {
75  return ( rna_centroid_info_.calculated() &&
78  }
79 
82 
85 
88 
91 
93  is_magnesium() const { return is_magnesium_; }
94 
97 
100 
101  RNA_CentroidInfo const &
103 
106 
109 
112 
115 
118 
119  rna::RNA_DataInfo const &
120  rna_data_info() const { return rna_data_info_; }
121 
122  void
124 
127 
128  void
130 
133 
134 private:
135 
140 
141  // for rna low-res VDW calculations
143 
144  // for rna low-res magnesium calculations
147 
150 
151 };
152 
153 
154 RNA_ScoringInfo const &
155 rna_scoring_info_from_pose( pose::Pose const & pose );
156 
159 
160 
161 }
162 }
163 }
164 #endif