BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
gridAnalysis.h
Go to the documentation of this file.
1 // -*- Mode: C++; tab-width: 2; -*-
2 // vi: set ts=2:
3 //
4 
5 #ifndef BALL_DOCKING_COMMON_GRIDANALYSIS_H
6 #define BALL_DOCKING_COMMON_GRIDANALYSIS_H
7 
8 #ifndef BALL_SCORING_COMMON_SCORINGFUNCTION_H
10 #endif
11 
12 #ifndef BALL_DATATYPE_REGULARDATA3D_H
14 #endif
15 
16 #include <map>
17 
18 namespace BALL
19 {
21  {
22  public:
23  GridAnalysis(ScoringFunction* sf, AtomContainer* probe_group);
24 
25  void setResolution(const double& resolution);
26 
27  void enableSavingBestPoses(Size number_best_poses);
28 
29  RegularData3D* calculate();
30 
31  std::list<AtomContainer*> getBestPoses();
32 
33  protected:
34  typedef std::multimap<double, std::pair<Vector3, Vector3> > PoseList;
35 
37  void moveProbeGroup_(const Vector3& destination);
38 
41  void rotateProbeGroup_(int axis, int degree);
42 
44 
46 
47  double resolution_;
48 
50 
53 
55 
58 
60 
61  };
62 }
63 
64 #endif // BALL_DOCKING_COMMON_GRIDANALYSIS_H
PoseList best_poses_
Definition: gridAnalysis.h:57
ScoringFunction * scoring_function_
Definition: gridAnalysis.h:43
std::multimap< double, std::pair< Vector3, Vector3 > > PoseList
Definition: gridAnalysis.h:34
AtomContainer probe_group_
Definition: gridAnalysis.h:45
#define BALL_EXPORT
Definition: COMMON/global.h:50