Main Page | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

movie.cpp File Reference

#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 Documentation

void reverse void *  v,
int  n
 

double get_radius char *  element  ) 
 

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.

Parameters:
element The 1 or 2 character chemical symbol for an element.

double field char  s[],
int  start,
int  end
 


Variable Documentation

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.


Generated on Thu Nov 27 08:17:11 2003 for Animp - Animated Particles by doxygen 1.3.2