#include <iostream>#include <stdio.h>#include <stdlib.h>#include <string.h>#include "my_types.h"#include "array.cpp"Go to the source code of this file.
Compounds | |
| class | sphere |
| A template class to model spheres displayed using OpenGL. More... | |
| class | gl_sphere |
| Template class for storing spheres with distance values. More... | |
Typedefs | |
| typedef sphere< short, byte > | sphere_s |
| A sphere with short int coordinates. | |
| typedef sphere< float, float > | sphere_f |
| A sphere with float coordinates. | |
| typedef gl_sphere< short, byte > | gl_sphere_s |
| A sphere with short int coordinates and a distance value. | |
| typedef gl_sphere< float, float > | gl_sphere_f |
| A sphere with float coordinates and a distance value. | |
Functions | |
| template<class T, class S> ostream & | operator<< (ostream &out, sphere< T, S > &s) |
| Output operator to print a sphere for debugging. | |
| template<class T, class S> istream & | operator>> (istream &in, sphere< T, S > &s) |
| Input operator to read a sphere for debugging. | |
|
|
A sphere with short int coordinates. This type is an 8 byte sphere. It is well-suited for simulations performed on discrete lattices. Typically the lattice size is limited to a few hundreds in x, y and z which results in millions of grid cells. Memory limits and time constraints will result in this type being useful for years. |
|
|
A sphere with float coordinates. This type is a 20 byte sphere. It was introduced to allow more accurate display of molecules. Atomic coordinates are retrieved from PDB files which allow up to 7 digits. |
|
|
A sphere with short int coordinates and a distance value.
|
|
|
A sphere with float coordinates and a distance value.
|
|
||||||||||||||||
|
Output operator to print a sphere for debugging.
|
|
||||||||||||||||
|
Input operator to read a sphere for debugging.
|
1.3.2