#include <BALL/STRUCTURE/reconstructFragmentProcessor.h>
BALL::ReconstructFragmentProcessor::ReconstructFragmentProcessor |
( |
| ) |
|
BALL::ReconstructFragmentProcessor::ReconstructFragmentProcessor |
( |
const FragmentDB & |
db | ) |
|
virtual BALL::ReconstructFragmentProcessor::~ReconstructFragmentProcessor |
( |
| ) |
|
|
virtual |
virtual bool BALL::ReconstructFragmentProcessor::finish |
( |
| ) |
|
|
virtual |
const FragmentDB* BALL::ReconstructFragmentProcessor::getFragmentDB |
( |
| ) |
const |
Return the current fragment database.
list<Atom*>& BALL::ReconstructFragmentProcessor::getInsertedAtoms |
( |
| ) |
|
Returns a list of inserted atoms.
Size BALL::ReconstructFragmentProcessor::getNumberOfInsertedAtoms |
( |
| ) |
const |
Returns number of recently inserted atoms.
static Triple<bool, const Atom*, const Atom*> BALL::ReconstructFragmentProcessor::getTwoReferenceAtoms |
( |
const Atom & |
ref_center_atom, |
|
|
const HashSet< const Atom * > & |
allowed |
|
) |
| |
|
static |
Search for the next atoms suitable as reference points. This method performs a BFS-like search for atoms in the same residue the ref_center_atom
is in. It will consider only atoms contained in the hash set allowed
.
Map three vectors onto each other. This method computes the transformation which move the three points given in v1
, v2
, and v3
onto the the three reference points w1
, w2
, and w3
. v1
is always mapped exactly onto w1
, and the plane spanned by v1
, v2
, and v3
is always mapped onto the plane spanned by the three reference points. Furthermore, v2
is mapped such that the vector connecting v1
and v2
is parallel to the vector connecting w1
and w2
after the transformation. Well-defined, but less meaningful transformations are obtained if any of the two point sets is co-linear.
static list<Atom*> BALL::ReconstructFragmentProcessor::reconstructFragment |
( |
Fragment & |
frag, |
|
|
const Fragment & |
tplate |
|
) |
| |
|
static |
void BALL::ReconstructFragmentProcessor::setFragmentDB |
( |
const FragmentDB & |
fragment_db | ) |
|
Set the fragment database
virtual bool BALL::ReconstructFragmentProcessor::start |
( |
| ) |
|
|
virtual |
const FragmentDB* BALL::ReconstructFragmentProcessor::fragment_db_ |
|
protected |
list<Atom*> BALL::ReconstructFragmentProcessor::inserted_atoms_ |
|
protected |