Visualization Library 2.0.0
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
The RingExtractor class traverses a molecule's graph and detects various types of cycles, mainly used for aromatic ring detection. More...
#include <RingExtractor.hpp>
Public Member Functions | |
RingExtractor (Molecule *mol) | |
void | setMolecule (Molecule *mol) |
Molecule * | molecule () const |
void | run () |
void | bootstrap () |
void | depthFirstVisit (Atom *atom, std::vector< ref< Atom > > ¤t_path) |
void | keepAromaticCycles () |
void | sortCycles () |
void | keepPlanarCycles (float epsilon) |
void | removeDoubles () |
void | keepMinimalCycles () |
Protected Attributes | |
Molecule * | mMolecule |
The RingExtractor class traverses a molecule's graph and detects various types of cycles, mainly used for aromatic ring detection.
Definition at line 44 of file RingExtractor.hpp.
|
inline |
Definition at line 47 of file RingExtractor.hpp.
|
inline |
Definition at line 66 of file RingExtractor.hpp.
References vl::Molecule::atom(), vl::Molecule::atomCount(), vl::Molecule::computeAtomAdjacency(), depthFirstVisit(), molecule(), and vl::Atom::setVisited().
Referenced by run().
|
inline |
Definition at line 78 of file RingExtractor.hpp.
References vl::Atom::adjacentAtoms(), vl::Molecule::cycles(), molecule(), vl::Atom::setVisited(), and vl::Atom::visited().
Referenced by bootstrap().
|
inline |
Definition at line 108 of file RingExtractor.hpp.
References vl::Molecule::bond(), vl::Bond::bondType(), vl::BT_Aromatic, vl::Molecule::cycle(), vl::Molecule::cycles(), and molecule().
Referenced by run().
|
inline |
Definition at line 206 of file RingExtractor.hpp.
References vl::Molecule::atoms(), vl::Molecule::cycles(), and molecule().
Referenced by run().
|
inline |
Definition at line 155 of file RingExtractor.hpp.
References vl::AABB::center(), vl::Atom::coordinates(), vl::cross(), vl::Molecule::cycle(), vl::Molecule::cycles(), vl::dot(), molecule(), vl::Vector3< T_Scalar >::normalize(), and vl::normalize().
|
inline |
Definition at line 51 of file RingExtractor.hpp.
References mMolecule.
Referenced by bootstrap(), depthFirstVisit(), keepAromaticCycles(), keepMinimalCycles(), keepPlanarCycles(), removeDoubles(), run(), and sortCycles().
|
inline |
Definition at line 194 of file RingExtractor.hpp.
References vl::Molecule::cycle(), vl::Molecule::cycles(), and molecule().
Referenced by run().
|
inline |
Definition at line 53 of file RingExtractor.hpp.
References bootstrap(), keepAromaticCycles(), keepMinimalCycles(), molecule(), removeDoubles(), and sortCycles().
|
inline |
Definition at line 49 of file RingExtractor.hpp.
References mMolecule.
|
inline |
Definition at line 133 of file RingExtractor.hpp.
References vl::Molecule::cycle(), vl::Molecule::cycles(), vl::Atom::isAtomAdjacent(), and molecule().
Referenced by run().
|
protected |
Definition at line 245 of file RingExtractor.hpp.
Referenced by molecule(), and setMolecule().
Visualization Library 2.0.0 Reference Documentation
Updated on Wed Dec 23 2020 12:44:11.
© Copyright Michele Bosi. All rights reserved.