COVISE Core
|
#include <coChemicalElement.h>
Public Member Functions | |
int | getType (const std::string &type) |
float | getRadius (int type) |
void | getColor (int type, float(&color)[4]) |
Static Public Member Functions | |
static coAtomInfo * | instance () |
Public Attributes | |
std::vector< coChemicalElement > | all |
std::map< std::string, int > | idMap |
Private Member Functions | |
coAtomInfo () | |
Static Private Attributes | |
static bool | initialized |
static const int | numStaticAtoms = 118 |
static coChemicalElement | allStatic [numStaticAtoms] |
static coAtomInfo * | myInstance = nullptr |
|
private |
void covise::coAtomInfo::getColor | ( | int | type, |
float(&) | color[4] | ||
) |
float covise::coAtomInfo::getRadius | ( | int | type | ) |
int covise::coAtomInfo::getType | ( | const std::string & | type | ) |
|
static |
std::vector<coChemicalElement> covise::coAtomInfo::all |
|
staticprivate |
std::map<std::string, int> covise::coAtomInfo::idMap |
|
staticprivate |
|
staticprivate |
|
staticprivate |