The main class, provides methods for analysis of the input. More...
#include <BALL/STRUCTURE/sdGenerator.h>
Classes | |
struct | Default |
Default values for options. More... | |
struct | Option |
Option names. More... | |
Public Types | |
enum | Property { IN_RING, PRE_CORE_CHAIN, CORE_CHAIN, FOUND, INVALID, DEPOSITED, FIRSTNEIGHBOUR, SEQUENCED, FXAS, EDGE, BUILT_IN_CHAIN, ASSEMBLED, SHIFTED, PRE_ASSEMBLED, ROTATED, ZIG, ZAG, STRAIGHT } |
Properties, used to describe atoms and their status. More... | |
Public Member Functions | |
SDGenerator (bool show_hydrogens=false) | |
Default-Constructor. | |
virtual | ~SDGenerator () |
Destructor. | |
void | generateSD (System &molecule_sys) |
Generates a structure Diagram from the input System. | |
std::pair< Atom *, Atom * > | getNeighbours (std::vector< Atom * > &ring, Atom *&atom) |
finds an atom's neighbours inside a certain ring | |
std::vector< std::vector< Atom * > > | sequenceRings (std::vector< std::vector< Atom * > > &ringsystem) |
Puts the Atoms in each ring of the input ringsystem into the correct order. | |
Private Member Functions | |
void | checkAtoms (System &molecule_sys) |
Distinguishes between ring-atoms and core-chain-atoms, removes all H-Atoms from the System. | |
std::vector< std::vector< Atom * > > | getSSSR (System &molecule_sys) |
Determines the smallest set of smallest Rings of the input System. | |
Public Attributes | |
Options | options |
options | |
void | setDefaultOptions () |
The main class, provides methods for analysis of the input.
BALL::SDGenerator::SDGenerator | ( | bool | show_hydrogens = false |
) |
Default-Constructor.
virtual BALL::SDGenerator::~SDGenerator | ( | ) | [virtual] |
Destructor.
void BALL::SDGenerator::checkAtoms | ( | System & | molecule_sys | ) | [private] |
Distinguishes between ring-atoms and core-chain-atoms, removes all H-Atoms from the System.
molecule_sys |
void BALL::SDGenerator::generateSD | ( | System & | molecule_sys | ) |
Generates a structure Diagram from the input System.
molecule_sys |
std::pair<Atom*, Atom*> BALL::SDGenerator::getNeighbours | ( | std::vector< Atom * > & | ring, | |
Atom *& | atom | |||
) |
finds an atom's neighbours inside a certain ring
ring | the ring that shall be searched for the neighbours | |
atom | the atom, whos neighbours shall be found |
Determines the smallest set of smallest Rings of the input System.
molecule_sys |
std::vector<std::vector<Atom*> > BALL::SDGenerator::sequenceRings | ( | std::vector< std::vector< Atom * > > & | ringsystem | ) |
Puts the Atoms in each ring of the input ringsystem into the correct order.
ringsystem |
void BALL::SDGenerator::setDefaultOptions | ( | ) |
Resets the options to default values.
options