Visualization Library 2.0.0
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Encapsulates information regarding an atom type. More...
#include <chem_database.hpp>
Public Member Functions | |
AtomInfo (EAtomType type, const char *name, const char *symbol, int atomic_num, double atomic_mass, double melting_pt, double boiling_pt, double electroneg, double electron_aff, int valence, double calculated_r, double empirical_r, double covalent_r, double vdw_r, unsigned int cpk_color, unsigned int rasmol_color) | |
Constructor. More... | |
EAtomType | type () const |
Returns the type of an atom. More... | |
const char * | name () const |
Returns the name of the atom. More... | |
const char * | symbol () const |
Returns the symbol of the atom. More... | |
int | atomicNumber () const |
Returns the atom's atomic number. More... | |
double | atomicMass () const |
Returns the atom mass. More... | |
double | meltingPoint () const |
Returns the element's melting point in Kelvin. More... | |
double | boilingPoint () const |
Returns the element's boiling point in Kelvin. More... | |
double | electronegativity () const |
Returns the atom electronegativity. More... | |
double | electronAffinity () const |
Returns the electron affinity in Kj/mol. More... | |
int | valence () const |
Returns the valence of the atom. More... | |
double | calculatedRadius () const |
Returns the atom's calculated radius in Angstroms. More... | |
double | empiricalRadius () const |
Returns the atom's empirical radius in Angstroms. More... | |
double | covalentRadius () const |
Returns the atom's covalent radius in Angstroms. More... | |
double | vanDerWaalsRadius () const |
Returns the atom's van der Waals radius in Angstroms. More... | |
fvec4 | cpkColor () const |
Returns the atom's CPK color. More... | |
fvec4 | rasmolColor () const |
Returns the atom's RasMol color. More... | |
Protected Attributes | |
EAtomType | mType |
const char * | mName |
const char * | mSymbol |
int | mAtomicNumber |
int | mValence |
unsigned int | mCPKColor |
unsigned int | mRasMolColor |
double | mAtomicMass |
double | mMeltingPoint |
double | mBoilingPoint |
double | mElectronegativity |
double | mElectronAffinity |
double | mCalculatedRadius |
double | mEmpiricalRadius |
double | mCovalentRadius |
double | mVanDerWaalsRadius |
Encapsulates information regarding an atom type.
Definition at line 168 of file chem_database.hpp.
|
inline |
Constructor.
Definition at line 172 of file chem_database.hpp.
References mAtomicMass, mAtomicNumber, mBoilingPoint, mCalculatedRadius, mCovalentRadius, mCPKColor, mElectronAffinity, mElectronegativity, mEmpiricalRadius, mMeltingPoint, mName, mRasMolColor, mSymbol, mType, mValence, mVanDerWaalsRadius, name(), symbol(), type(), and valence().
|
inline |
|
inline |
Returns the atom's atomic number.
Definition at line 201 of file chem_database.hpp.
References mAtomicNumber.
|
inline |
Returns the element's boiling point in Kelvin.
Definition at line 207 of file chem_database.hpp.
References mBoilingPoint.
|
inline |
Returns the atom's calculated radius in Angstroms.
Definition at line 215 of file chem_database.hpp.
References mCalculatedRadius.
|
inline |
Returns the atom's covalent radius in Angstroms.
Definition at line 219 of file chem_database.hpp.
References mCovalentRadius.
|
inline |
Returns the atom's CPK color.
Definition at line 223 of file chem_database.hpp.
References vl::Vector4< T_Scalar >::a(), vl::Vector4< T_Scalar >::b(), vl::Vector4< T_Scalar >::g(), mCPKColor, and vl::Vector4< T_Scalar >::r().
|
inline |
Returns the electron affinity in Kj/mol.
Definition at line 211 of file chem_database.hpp.
References mElectronAffinity.
|
inline |
Returns the atom electronegativity.
Definition at line 209 of file chem_database.hpp.
References mElectronegativity.
|
inline |
Returns the atom's empirical radius in Angstroms.
Definition at line 217 of file chem_database.hpp.
References mEmpiricalRadius.
|
inline |
Returns the element's melting point in Kelvin.
Definition at line 205 of file chem_database.hpp.
References mMeltingPoint.
|
inline |
Returns the name of the atom.
Definition at line 197 of file chem_database.hpp.
References mName.
Referenced by AtomInfo().
|
inline |
Returns the atom's RasMol color.
Definition at line 233 of file chem_database.hpp.
References vl::Vector4< T_Scalar >::a(), vl::Vector4< T_Scalar >::b(), vl::Vector4< T_Scalar >::g(), mRasMolColor, and vl::Vector4< T_Scalar >::r().
|
inline |
Returns the symbol of the atom.
Definition at line 199 of file chem_database.hpp.
References mSymbol.
Referenced by AtomInfo().
|
inline |
Returns the type of an atom.
Definition at line 195 of file chem_database.hpp.
References mType.
Referenced by AtomInfo().
|
inline |
Returns the valence of the atom.
Definition at line 213 of file chem_database.hpp.
References mValence.
Referenced by AtomInfo().
|
inline |
Returns the atom's van der Waals radius in Angstroms.
Definition at line 221 of file chem_database.hpp.
References mVanDerWaalsRadius.
|
protected |
Definition at line 251 of file chem_database.hpp.
Referenced by atomicMass(), and AtomInfo().
|
protected |
Definition at line 247 of file chem_database.hpp.
Referenced by atomicNumber(), and AtomInfo().
|
protected |
Definition at line 253 of file chem_database.hpp.
Referenced by AtomInfo(), and boilingPoint().
|
protected |
Definition at line 256 of file chem_database.hpp.
Referenced by AtomInfo(), and calculatedRadius().
|
protected |
Definition at line 258 of file chem_database.hpp.
Referenced by AtomInfo(), and covalentRadius().
|
protected |
Definition at line 249 of file chem_database.hpp.
Referenced by AtomInfo(), and cpkColor().
|
protected |
Definition at line 255 of file chem_database.hpp.
Referenced by AtomInfo(), and electronAffinity().
|
protected |
Definition at line 254 of file chem_database.hpp.
Referenced by AtomInfo(), and electronegativity().
|
protected |
Definition at line 257 of file chem_database.hpp.
Referenced by AtomInfo(), and empiricalRadius().
|
protected |
Definition at line 252 of file chem_database.hpp.
Referenced by AtomInfo(), and meltingPoint().
|
protected |
Definition at line 245 of file chem_database.hpp.
Referenced by AtomInfo(), and name().
|
protected |
Definition at line 250 of file chem_database.hpp.
Referenced by AtomInfo(), and rasmolColor().
|
protected |
Definition at line 246 of file chem_database.hpp.
Referenced by AtomInfo(), and symbol().
|
protected |
Definition at line 244 of file chem_database.hpp.
Referenced by AtomInfo(), and type().
|
protected |
Definition at line 248 of file chem_database.hpp.
Referenced by AtomInfo(), and valence().
|
protected |
Definition at line 259 of file chem_database.hpp.
Referenced by AtomInfo(), and vanDerWaalsRadius().
Visualization Library 2.0.0 Reference Documentation
Updated on Wed Dec 23 2020 12:44:07.
© Copyright Michele Bosi. All rights reserved.