#include <reconstructFragmentProcessor.h>
Inheritance diagram for ReconstructFragmentProcessor:
Public Member Functions | |
Constructors and Destructors | |
ReconstructFragmentProcessor () | |
Default constructor. | |
ReconstructFragmentProcessor (const FragmentDB &db) | |
Detailed constructor. | |
ReconstructFragmentProcessor (const ReconstructFragmentProcessor &db) | |
Copy Constructor. | |
virtual | ~ReconstructFragmentProcessor () |
Destructor. | |
Processor-related methods | |
virtual bool | start () |
Processor start method. | |
virtual bool | finish () |
Processor finish method. | |
virtual Processor::Result | operator() (Fragment &) |
Processor applicaiton method. | |
Accessors | |
list< Atom * > & | getInsertedAtoms () |
Returns a list of inserted atoms. | |
Size | getNumberOfInsertedAtoms () const |
Returns number of recently inserted atoms. | |
void | setFragmentDB (const FragmentDB &fragment_db) |
Set the fragment database. | |
const FragmentDB * | getFragmentDB () const |
Return the current fragment database. | |
Static Public Member Functions | |
Static methods. | |
Matrix4x4 | mapThreeVectors (const Vector3 &w1, const Vector3 &w2, const Vector3 &w3, const Vector3 &v1, const Vector3 &v2, const Vector3 &v3) |
Map three vectors onto each other. | |
Triple< bool, const Atom *, const Atom * > | getTwoReferenceAtoms (const Atom &ref_center_atom, const HashSet< const Atom * > &allowed) throw () |
Search for the next atoms suitable as reference points. | |
list< Atom * > | reconstructFragment (Fragment &frag, const Fragment &tplate) |
Protected Attributes | |
const FragmentDB * | fragment_db_ |
list< Atom * > | inserted_atoms_ |
|
Default constructor. Create a new ReconstructFragmentProcessor, which is not yet bound to a FragmentDB , i.e. which cannot yet reconstruct fragments. |
|
Detailed constructor.
Create a new ReconstructFragmentProcessor, which is bound to the FragmentDB |
|
Copy Constructor.
|
|
Return the current fragment database.
|
|
Returns a list of inserted atoms.
|
|
Returns number of recently inserted atoms.
|
|
Search for the next atoms suitable as reference points.
This method performs a BFS-like search for atoms in the same residue the |
|
Map three vectors onto each other.
This method computes the transformation which move the three points given in |
|
Processor applicaiton method. Tries to reconstruct the current fragment from a matching fragment from the current FragmentDB . Reimplemented from UnaryProcessor< Fragment >. |