|
typedef Molecule_T | MoleculeType |
|
◆ AtomTemplate() [1/2]
template<class Molecule_T >
Creates a new, invalid atom object.
◆ AtomTemplate() [2/2]
template<class Molecule_T >
Creates a new atom object representing the atom at index i
in molecule m
.
◆ operator==()
template<class Molecule_T >
bool operator== |
( |
const AtomTemplate< MoleculeType > & |
other | ) |
const |
- Returns
- True if this and other share the same index and molecule.
◆ operator!=()
template<class Molecule_T >
bool operator!= |
( |
const AtomTemplate< MoleculeType > & |
other | ) |
const |
- Returns
- True if this and other do not share the same index or molecule.
◆ operator++() [1/2]
template<class Molecule_T >
Prefix increment operator. Increment this Atom's index by 1 and return a self-reference. Check isValid() before calling any other methods.
◆ operator++() [2/2]
template<class Molecule_T >
Postfix increment operator. Increment this Atom's index by 1 and return a copy of the current Atom. Check isValid() before calling any other methods.
◆ operator--() [1/2]
template<class Molecule_T >
Prefix decrement operator. Decrement this Atom's index by 1 and return a self-reference. Check isValid() before calling any other methods.
◆ operator--() [2/2]
template<class Molecule_T >
Postfix decrement operator. Decrement this Atom's index by 1 and return a copy of the current Atom. Check isValid() before calling any other methods.
◆ isValid()
template<class Molecule_T >
- Returns
- True if the molecule is set and the index is less than the number of atoms.
◆ molecule()
template<class Molecule_T >
AtomTemplate< Molecule_T >::MoleculeType * molecule |
( |
| ) |
const |
- Returns
- The molecule that contains this Atom.
◆ index()
template<class Molecule_T >
◆ setAtomicNumber()
template<class Molecule_T >
void setAtomicNumber |
( |
unsigned char |
num | ) |
|
The proton count of the atom.
◆ atomicNumber()
template<class Molecule_T >
unsigned char atomicNumber |
( |
| ) |
const |
The proton count of the atom.
◆ setPosition2d()
template<class Molecule_T >
void setPosition2d |
( |
const Vector2 & |
pos | ) |
|
The 2D position of this atom.
- Note
- Not all molecule types support 2D positions. If the current MoleculeType class does not, calling this method will result in a compilation error.
◆ position2d()
template<class Molecule_T >
Vector2 position2d |
( |
| ) |
const |
The 2D position of this atom.
- Note
- Not all molecule types support 2D positions. If the current MoleculeType class does not, calling this method will result in a compilation error.
◆ setPosition3d()
template<class Molecule_T >
void setPosition3d |
( |
const Vector3 & |
pos | ) |
|
The 3D position of this atom.
◆ position3d()
template<class Molecule_T >
Vector3 position3d |
( |
| ) |
const |
The 3D position of this atom.
◆ setHybridization()
template<class Molecule_T >
void setHybridization |
( |
AtomHybridization |
hyb | ) |
|
The hybridization / coordination of this atom
◆ hybridization()
template<class Molecule_T >
AtomHybridization hybridization |
( |
| ) |
const |
The hybridization / coordination of this atom
◆ setFormalCharge()
template<class Molecule_T >
void setFormalCharge |
( |
signed char |
charge | ) |
|
The formal charge of this atom
◆ formalCharge()
template<class Molecule_T >
signed char formalCharge |
( |
| ) |
const |
The formal charge of this atom
◆ setColor()
template<class Molecule_T >
void setColor |
( |
Vector3ub |
color | ) |
|
◆ color()
template<class Molecule_T >
Vector3ub color |
( |
| ) |
const |
◆ setLayer()
template<class Molecule_T >
void setLayer |
( |
size_t |
layer | ) |
|
◆ layer()
template<class Molecule_T >
◆ setSelected()
template<class Molecule_T >
void setSelected |
( |
bool |
selected | ) |
|
◆ setForceVector()
template<class Molecule_T >
void setForceVector |
( |
const Vector3 & |
force | ) |
|
The force on this atom. {@
The documentation for this class was generated from the following file: