#include <map>
#include <string>
#include <filesystem>
#include <sstream>
#include <fstream>
#include <glm/glm.hpp>
#include <element.h>
Go to the source code of this file.
◆ atomColoursFromFile()
Read an atom index colour map from a file.
- Parameters
-
- Returns
- std::map<uint64_t, glm::vec4> the atom colourings.
◆ coloursFromFile()
Read an Element colour map from a file.
- Parameters
-
- Returns
- std::map<Element, glm::vec4> the Element colourings.
◆ elementToColour()
Map an Element to a CPK colour.
- Parameters
-
- Returns
- glm::vec4 the colour.
◆ stringSymbolToColour()
glm::vec4 stringSymbolToColour |
( |
std::string & |
s | ) |
|
Map a string symbol to a CPK colour.
- Parameters
-
- Returns
- glm::vec4 the colour.
◆ CPK_COLOURS
Corey–Pauling–Koltun colourings.