Debian Codegraph @

include/BALL/DOCKING/COMMON/staticLigandFragment.h

raw symbols SCIP
1 // -*- Mode: C++; tab-width: 2; -*-
2 // vi: set ts=2:
3 //
4
5 #ifndef BALL_DOCKING_COMMON_STATICLIGANDFRAGMENT
6 #define BALL_DOCKING_COMMON_STATICLIGANDFRAGMENT
7
8 #ifndef BALL_MATH_MATRIX44_H
9 #include <BALL/MATHS/matrix44.h>
10 #endif
11
12 #ifndef BALL_KERNEL_ATOM_H
13 #include <BALL/KERNEL/atom.h>
14 #endif
15
16 namespace BALL
17 {
18 class BALL_EXPORT StaticLigandFragment
19 {
20 public:
21 class Connection;
22
23 /** the position of this fragment within ligand_fragments_ */
24 int ID;
25
26 /** all atoms of this ligand fragment */
27 list<Atom*> atoms;
28
29 vector<Connection> connections;
30
31 /** the overall force of the entire fragment */
32 Vector3 force;
33
34 /** direction of the fragment force; i.e. the sum of the absolute values of the atom forces */
35 Vector3 force_axis;
36
37 /** the geometrical center of the ligand fragment */
38 Vector3 center;
39
40 /** rotates the current and all connected ligand fragments (except static_fragment) around given axis (--> bond between two fragments) */
41 //void rotate(const Connection* rotation_bond, int degree, int static_fragment);
42
43 /** rotates the current and all connected ligand fragments (except static_fragment) according to a given transformation matrix */
44 //void rotate(TMatrix4x4<float>& M, Vector3& origin, int static_fragment);
45
46 /** A Connection represent a single rotatable bond which connects two StaticLigandFragments */
47 struct Connection
48 {
49 // /** the position of this connection within neighbor_connections */
50 //int ID;
51
52 /** atom of *this* fragment that is part of this intra-fragment bond */
53 Atom* atom;
54
55 /** atom of the neighbor fragment that is part of this intra-fragment bond */
56 Atom* neighbor_atom;
57
58 StaticLigandFragment* fragment; // the neighboring fragment
59 };
60 };
61 }
62
63 #endif // BALL_DOCKING_COMMON_STATICLIGANDFRAGMENT