#include "movie.h"#include "sphere.cpp"#include "cylinder.cpp"#include <map>#include <string>Functions | |
| void | reverse (void *v, int n) |
| double | get_radius (char *) |
| Function to return the radius of an element. | |
| double | field (char s[], int start, int end) |
Variables | |
| int | reversed |
| map< string, int > | color_table |
| A map which translates element names like "He" into colors. | |
| map< int, string > | rev_color_table |
| rev_color_table is used to get the element string like "He" for a color index when building the color button menu. | |
|
||||||||||||
|
|
|
|
Function to return the radius of an element. On the first call it calls set_radii and afterwards simply gets the required value from the map.
|
|
||||||||||||||||
|
|
|
|
|
|
|
A map which translates element names like "He" into colors.
|
|
|
rev_color_table is used to get the element string like "He" for a color index when building the color button menu.
|
1.3.2