BALL
1.4.79
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
DOCKING
COMMON
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
9
#include <
BALL/SCORING/COMMON/scoringFunction.h
>
10
#endif
11
12
#ifndef BALL_DATATYPE_REGULARDATA3D_H
13
#include <
BALL/DATATYPE/regularData3D.h
>
14
#endif
15
16
#include <map>
17
18
namespace
BALL
19
{
20
class
BALL_EXPORT
GridAnalysis
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
43
ScoringFunction
*
scoring_function_
;
44
45
AtomContainer
probe_group_
;
46
47
double
resolution_
;
48
49
Vector3
origin_
;
50
52
Vector3
center_
;
53
54
Size
no_best_poses_
;
55
57
PoseList
best_poses_
;
58
59
Size
border_
;
60
61
};
62
}
63
64
#endif // BALL_DOCKING_COMMON_GRIDANALYSIS_H
BALL::TRegularData3D< float >
BALL::GridAnalysis::border_
Size border_
Definition:
gridAnalysis.h:59
BALL::GridAnalysis::best_poses_
PoseList best_poses_
Definition:
gridAnalysis.h:57
BALL::TVector3< float >
BALL::GridAnalysis::scoring_function_
ScoringFunction * scoring_function_
Definition:
gridAnalysis.h:43
scoringFunction.h
BALL::GridAnalysis::resolution_
double resolution_
Definition:
gridAnalysis.h:47
BALL::ScoringFunction
Definition:
scoringFunction.h:28
BALL::GridAnalysis::no_best_poses_
Size no_best_poses_
Definition:
gridAnalysis.h:54
BALL::AtomContainer
Definition:
atomContainer.h:29
regularData3D.h
BALL::GridAnalysis::PoseList
std::multimap< double, std::pair< Vector3, Vector3 > > PoseList
Definition:
gridAnalysis.h:34
BALL::GridAnalysis::center_
Vector3 center_
Definition:
gridAnalysis.h:52
BALL::GridAnalysis::probe_group_
AtomContainer probe_group_
Definition:
gridAnalysis.h:45
BALL_SIZE_TYPE
BALL::GridAnalysis::origin_
Vector3 origin_
Definition:
gridAnalysis.h:49
BALL_EXPORT
#define BALL_EXPORT
Definition:
COMMON/global.h:50
BALL::GridAnalysis
Definition:
gridAnalysis.h:20
Generated by
1.8.7