32 #ifndef Atom_INCLUDE_ONCE 33 #define Atom_INCLUDE_ONCE 58 VL_DEBUG_SET_OBJECT_NAME()
103 unsigned int id()
const {
return mId; }
const std::string & atomName() const
Vector3< float > fvec3
A 3 components vector with float precision.
void setAtomName(const std::string &name)
void setRadius(float radius)
Vector4< float > fvec4
A 4 components vector with float precision.
void setCoordinates(const fvec3 &coordinates)
void setId(unsigned int id)
bool showAtomName() const
Defines whether the atom name should be rendered or not. See also Molecule::setShowAtomNames().
void setShowAtomName(bool show)
Defines whether the atom name should be rendered or not. See also Molecule::setShowAtomNames().
void setVisible(bool visible)
std::vector< Atom *> mAdjacentAtoms
bool isAtomAdjacent(Atom *atom) const
#define VL_INSTRUMENT_CLASS(ClassName, BaseClass)
const fvec3 & coordinates() const
Visualization Library main namespace.
void setVisited(bool visited)
Atom & operator=(const Atom &other)
Assignment operator: does not assign the adjacent atoms.
void setColor(const fvec4 &color)
The base class for all the reference counted objects.
std::vector< Atom *> & adjacentAtoms()
const std::vector< Atom *> & adjacentAtoms() const
const fvec4 & color() const
EAtomType atomType() const
void setAtomType(EAtomType type)
The Atom class represents an atom to be used with the Molecule class.