|
AvogadroLibs 1.103.0
|
Public Types | |
| using | MoleculeType = Molecule_T |
Public Member Functions | |
| AtomTemplate () | |
| AtomTemplate (MoleculeType *m, Index i) | |
| bool | operator== (const AtomTemplate< MoleculeType > &other) const |
| bool | operator!= (const AtomTemplate< MoleculeType > &other) const |
| AtomTemplate< MoleculeType > & | operator++ () |
| AtomTemplate< MoleculeType > | operator++ (int) |
| AtomTemplate< MoleculeType > & | operator-- () |
| AtomTemplate< MoleculeType > | operator-- (int) |
| bool | isValid () const |
| MoleculeType * | molecule () const |
| Index | index () const |
| void | setSelected (bool selected) |
| bool | selected () const |
| void | setForceVector (const Vector3 &force) |
| Vector3 | forceVector () const |
| void | setLabel (const std::string &label) |
| std::string | label () const |
| void | setAtomicNumber (unsigned char num) |
| unsigned char | atomicNumber () const |
| void | setPosition2d (const Vector2 &pos) |
| Vector2 | position2d () const |
| void | setPosition3d (const Vector3 &pos) |
| Vector3 | position3d () const |
| void | setHybridization (AtomHybridization hyb) |
| AtomHybridization | hybridization () const |
| void | setFormalCharge (signed char charge) |
| signed char | formalCharge () const |
| void | setIsotope (unsigned short isotope) |
| unsigned short | isotope () const |
| void | setColor (Vector3ub color) |
| Vector3ub | color () const |
| void | setLayer (size_t layer) |
| size_t | layer () const |
| AtomTemplate | ( | ) |
Creates a new, invalid atom object.
| AtomTemplate | ( | MoleculeType * | m, |
| Index | i ) |
Creates a new atom object representing the atom at index i in molecule m.
| bool operator== | ( | const AtomTemplate< MoleculeType > & | other | ) | const |
| bool operator!= | ( | const AtomTemplate< MoleculeType > & | other | ) | const |
| AtomTemplate< Molecule_T > & operator++ | ( | ) |
| AtomTemplate< Molecule_T > operator++ | ( | int | ) |
| AtomTemplate< Molecule_T > & operator-- | ( | ) |
| AtomTemplate< Molecule_T > operator-- | ( | int | ) |
| bool isValid | ( | ) | const |
| AtomTemplate< Molecule_T >::MoleculeType * molecule | ( | ) | const |
| Index index | ( | ) | const |
| void setAtomicNumber | ( | unsigned char | num | ) |
The proton count of the atom.
| unsigned char atomicNumber | ( | ) | const |
The proton count of the atom.
| void setPosition2d | ( | const Vector2 & | pos | ) |
The 2D position of this atom.
| Vector2 position2d | ( | ) | const |
The 2D position of this atom.
| void setPosition3d | ( | const Vector3 & | pos | ) |
The 3D position of this atom.
| Vector3 position3d | ( | ) | const |
The 3D position of this atom.
| void setHybridization | ( | AtomHybridization | hyb | ) |
The hybridization / coordination of this atom
| AtomHybridization hybridization | ( | ) | const |
The hybridization / coordination of this atom
| void setFormalCharge | ( | signed char | charge | ) |
The formal charge of this atom
| signed char formalCharge | ( | ) | const |
The formal charge of this atom
| void setIsotope | ( | unsigned short | isotope | ) |
The isotope of this atom
| unsigned short isotope | ( | ) | const |
The isotope of this atom
| void setColor | ( | Vector3ub | color | ) |
The color of this atom
| Vector3ub color | ( | ) | const |
The color of this atom
| void setLayer | ( | size_t | layer | ) |
The layer of this atom
| size_t layer | ( | ) | const |
The layer of this atom
| void setSelected | ( | bool | selected | ) |
Is the atom selected. {@
| void setForceVector | ( | const Vector3 & | force | ) |
The force on this atom. {@