Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HbdGrid.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 src/protocols/qsar/scoring_grid/HbaGrid.hh
11 /// @author Sam DeLuca
12 
13 #ifndef INCLUDED_protocols_qsar_scoring_grid_HbdGrid_hh
14 #define INCLUDED_protocols_qsar_scoring_grid_HbdGrid_hh
15 
18 #include <numeric/interpolation/spline/SplineGenerator.hh>
19 
20 #include <utility/vector1.hh>
21 
22 
23 
24 namespace protocols {
25 namespace qsar {
26 namespace scoring_grid {
27 
28 class HbdGrid : public SingleGrid
29 {
30 public:
31  HbdGrid();
32  virtual ~HbdGrid();
33  virtual void refresh(core::pose::Pose const & pose, core::Vector const & center, core::Size const & ligand_chain_id_to_exclude);
34  virtual void refresh(core::pose::Pose const & pose, core::Vector const & center);
35  virtual void refresh(core::pose::Pose const & pose, core::Vector const & center, utility::vector1<core::Size> ligand_chain_ids_to_exclude);
36  virtual core::Real score(core::conformation::Residue const & residue, core::Real const max_score, qsarMapOP qsar_map);
37  /// @brief return the current score of an atom using the current grid
38  virtual core::Real atom_score(core::conformation::Residue const & residue, core::Size atomno, qsarMapOP qsar_map);
39 
40  /// @brief serialize the SingleGrid to a json_spirit object
41  virtual utility::json_spirit::Value serialize();
42  /// @brief deserialize a json_spirit object to a SingleGrid
43  virtual void deserialize(utility::json_spirit::mObject data);
44  void parse_my_tag(utility::tag::TagPtr const tag);
45 
46 private:
47  numeric::interpolation::spline::InterpolatorOP lj_spline_;
48 };
49 
50 }
51 }
52 }
53 
54 #endif /* HBAGRID_FWD_HH_ */