Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VdwGrid.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/ligand_docking/scoring_grid/VdwGrid.hh
11 /// @author Sam DeLuca
12 
13 #ifndef INCLUDED_protocols_qsar_scoring_grid_VdwGrid_hh
14 #define INCLUDED_protocols_qsar_scoring_grid_VdwGrid_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 VdwGrid : public SingleGrid
29 {
30 public:
31 
32  VdwGrid();
33  virtual ~VdwGrid();
34  virtual void refresh(core::pose::Pose const & pose, core::Vector const & center, core::Size const & );
35  virtual void refresh(core::pose::Pose const & pose, core::Vector const & center);
36  virtual void refresh(core::pose::Pose const & pose, core::Vector const & center, utility::vector1<core::Size> );
37 
38  void parse_my_tag(utility::tag::TagPtr const tag);
39 
40  virtual core::Real score(core::conformation::Residue const & residue, core::Real const max_score, qsarMapOP qsar_map);
41  /// @brief return the current score of an atom using the current grid
42  virtual core::Real atom_score(core::conformation::Residue const & residue, core::Size atomno, qsarMapOP qsar_map);
43 
44  /// @brief serialize the Interpolator to a json_spirit object
45  virtual utility::json_spirit::Value serialize();
46  /// @brief deserialize a json_spirit object to a Interpolator
47  virtual void deserialize(utility::json_spirit::mObject data);
48 
49 private:
50 
51 
52  numeric::interpolation::spline::InterpolatorOP lj_spline_;
54 
55 };
56 
57 }
58 }
59 }
60 
61 #endif /* ATRGRID_CC_ */