Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

gensphere.cpp File Reference

#include <iostream>
#include <stdio.h>
#include <math.h>
#include "vuVector.h"

Include dependency graph for gensphere.cpp:

Include dependency graph

Go to the source code of this file.

Defines

#define MAXX   45
#define MAXY   45
#define MAXZ   90
#define DATSIZE   MAXX*MAXY*MAXZ
#define FNAME   "sphere.bcc.vud"
#define T   1.41421356

Functions

vuVector getVoxelPosition (int x, int y, int z)
void main (void)


Define Documentation

#define DATSIZE   MAXX*MAXY*MAXZ
 

Definition at line 12 of file gensphere.cpp.

#define FNAME   "sphere.bcc.vud"
 

Definition at line 13 of file gensphere.cpp.

#define MAXX   45
 

Definition at line 9 of file gensphere.cpp.

#define MAXY   45
 

Definition at line 10 of file gensphere.cpp.

#define MAXZ   90
 

Definition at line 11 of file gensphere.cpp.

#define T   1.41421356
 

Definition at line 14 of file gensphere.cpp.


Function Documentation

vuVector getVoxelPosition int  x,
int  y,
int  z
 

Definition at line 17 of file gensphere.cpp.

References T.

Referenced by main().

void main void   ) 
 

Definition at line 36 of file gensphere.cpp.

References DATSIZE, FNAME, vuVector::getDominantAxis(), getVoxelPosition(), MAXX, MAXY, MAXZ, and vuVector::norm().

Here is the call graph for this function:


Generated on Wed Dec 15 21:20:41 2004 for vuVolume by  doxygen 1.3.9.1