| 1 |
|
| 2 |
$ |
| 3 |
$ |
| 4 |
|
| 5 |
|
| 6 |
#ifndef BALL_DOCKING_COMMON_FLEXDEFINITION_H |
| 7 |
#define BALL_DOCKING_COMMON_FLEXDEFINITION_H |
| 8 |
|
| 9 |
#include <BALL/KERNEL/protein.h> |
| 10 |
|
| 11 |
namespace BALL |
| 12 |
{ |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
class BALL_EXPORT FlexDefinition |
| 18 |
{ |
| 19 |
public: |
| 20 |
|
| 21 |
enum RotamerLibrary |
| 22 |
{ |
| 23 |
DUNBRACK = 0, |
| 24 |
LOVELL |
| 25 |
}; |
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
static FlexDefinition Rigid(); |
| 30 |
|
| 31 |
BALL_CREATE(FlexDefinition) |
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
FlexDefinition(); |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
virtual ~FlexDefinition(); |
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
void addFullyFlexibleResidue(Position idx); |
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
vector<Position> getFullyFlexibleResidues() const; |
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
void addRotamerFlexibleResidue(Position idx); |
| 55 |
|
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
vector<Position> getRotamerFlexibleResidues() const; |
| 60 |
|
| 61 |
private: |
| 62 |
vector<Position> fully_flexible_; |
| 63 |
vector<Position> rotamer_flexible_; |
| 64 |
}; |
| 65 |
} |
| 66 |
|
| 67 |
#endif |