#include <BALL/DOCKING/COMMON/flexibleMolecule.h>
FlexibleMolecule class. This class represents any molecule having multiple conformers.
Definition at line 22 of file flexibleMolecule.h.
BALL::FlexibleMolecule::FlexibleMolecule |
( |
Molecule * |
mol | ) |
|
virtual BALL::FlexibleMolecule::~FlexibleMolecule |
( |
| ) |
|
|
virtual |
virtual void BALL::FlexibleMolecule::addConformation |
( |
Conformation * |
conf | ) |
|
|
virtual |
void BALL::FlexibleMolecule::clearConformations |
( |
| ) |
|
static void BALL::FlexibleMolecule::generateTopologyHash |
( |
const AtomContainer * |
mol, |
|
|
String & |
hash, |
|
|
bool |
ignore_hydrogen = false |
|
) |
| |
|
static |
Generate a hashkey for the topology of the given molecule.
This hashkey uses information about all atoms, bonds and bond-orders and generates a cryptographic hashkey from this data.
Note that the atom positions are not taken into account by this function; if you need a hashkey for a conformation, please you Conformation::generateHash() instead.
- Parameters
-
ignore_hydrogen | if set to true, hydrogen atom are ignore during creation of the hashkey. This is useful for searching molecules regardless of the exact protonation state. |
Get a pointer to the i-th conformation.
- Returns
- pointer to i-th conformation
Get a pointer to a conformation by specifying its ID.
- Returns
- pointer to Conformation having the specified ID
Get the ID of the i-th conformation.
- Returns
- ID of i-th conformation
const vector< Conformation* >& BALL::FlexibleMolecule::getConformations |
( |
| ) |
const |
Get a vector of all stored conformations.
- Returns
- vector of conformation pointers
Get a pointer to the i-th conformer ( = conformation applied to parent molecule).
- Returns
- pointer to i-th conformer
Get a pointer to the conformer by ID ( = conformation applied to parent molecule).
- Returns
- pointer to conformer having the specified ID
String BALL::FlexibleMolecule::getId |
( |
| ) |
const |
Size BALL::FlexibleMolecule::getNumberOfConformations |
( |
| ) |
|
Get the number of stored conformations.
- Returns
- number of conformations
Molecule* BALL::FlexibleMolecule::getParent |
( |
| ) |
|
Get a pointer to the parent molecule supplied in the constructor
- Returns
- pointer to parent molecule
bool BALL::FlexibleMolecule::hasConformation |
( |
String |
id | ) |
|
Has the Flexible Molecule an associated conformation with given ID.
- Returns
- bool
void BALL::FlexibleMolecule::removeMoleculeOwnership |
( |
| ) |
|
void BALL::FlexibleMolecule::setId |
( |
String |
id | ) |
|
Set the ID of the Flexible Molecule
- Parameters
-
vector< Conformation* > BALL::FlexibleMolecule::conformations |
|
protected |
String BALL::FlexibleMolecule::id |
|
protected |
Molecule* BALL::FlexibleMolecule::molecule |
|
protected |
bool BALL::FlexibleMolecule::molecule_ownership_ |
|
protected |