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

slicer.cpp File Reference

#include "FourierSlicer.h"
#include <stdio.h>
#include "vuMisc/vuCommandLineTool.h"
#include "vuFile/vuFileHelper.h"
#include <GL/glut.h>

Include dependency graph for slicer.cpp:

Include dependency graph

Go to the source code of this file.

Functions

void init (void)
void destroy (void)
void display (void)
void keyboard (unsigned char key, int x, int y)
void reshape (int width, int height)
vuString _helpString (vuCommandLineTool &tool)
bool _parseParameters (int argc, const char **argv)
int main (int argc, const char **argv)

Variables

FourierSlicer_g_Slicer = NULL
vuString g_ErrorMsg
vuString g_OutputFile
vuString g_InputFile
vuString g_TimingFileName
vuString g_FilterName = "d0_c3_2ef"
float g_Scale = 1.0
float g_Bias = 0.0
int g_NumOfViews = -1
int g_Width = -1
int g_Height = -1
bool g_Visualize = false


Function Documentation

vuString _helpString vuCommandLineTool tool  ) 
 

Definition at line 104 of file slicer.cpp.

References vuCommandLineTool::toolName().

Here is the call graph for this function:

bool _parseParameters int  argc,
const char **  argv
 

Definition at line 136 of file slicer.cpp.

References _helpString(), vuCommandLineTool::fileExists(), vuCommandLineTool::floatForParameter(), g_Bias, g_ErrorMsg, g_FilterName, g_InputFile, g_NumOfViews, g_OutputFile, g_Scale, g_TimingFileName, g_Visualize, vuCommandLineTool::getArgument(), vuCommandLineTool::hasParameter(), vuCommandLineTool::intForParameter(), vuString::isEmpty(), vuCommandLineTool::numberOfNonParameters(), vuCommandLineTool::stringForParameter(), vuCommandLineTool::toolName(), and word.

Here is the call graph for this function:

void destroy void   ) 
 

Definition at line 61 of file slicer.cpp.

void display void   ) 
 

Definition at line 69 of file slicer.cpp.

References g_OutputFile, g_Slicer, and FourierSlicer_::lazyCalculateAndDisplay().

Here is the call graph for this function:

void init void   ) 
 

Definition at line 26 of file slicer.cpp.

References vuString::c_str(), g_Height, g_InputFile, g_Slicer, g_Width, vuFileHelper::getFileType(), FourierSlicer_::getImageHeight(), and FourierSlicer_::getImageWidth().

Here is the call graph for this function:

void keyboard unsigned char  key,
int  x,
int  y
 

Definition at line 74 of file slicer.cpp.

References destroy().

Here is the call graph for this function:

int main int  argc,
const char **  argv
 

Definition at line 220 of file slicer.cpp.

References _parseParameters(), destroy(), display(), g_ErrorMsg, g_Height, g_OutputFile, g_Slicer, g_Width, init(), keyboard(), FourierSlicer_::lazyCalculateAndLog(), and reshape().

Here is the call graph for this function:

void reshape int  width,
int  height
 

Definition at line 90 of file slicer.cpp.

References g_Height, g_Width, GL_MODELVIEW, GL_PROJECTION, glLoadIdentity(), glMatrixMode(), glPixelZoom(), glTranslated(), and glViewport().

Here is the call graph for this function:


Variable Documentation

float g_Bias = 0.0
 

Definition at line 20 of file slicer.cpp.

Referenced by _parseParameters().

vuString g_ErrorMsg
 

Definition at line 14 of file slicer.cpp.

vuString g_FilterName = "d0_c3_2ef"
 

Definition at line 18 of file slicer.cpp.

Referenced by _parseParameters().

int g_Height = -1
 

Definition at line 23 of file slicer.cpp.

vuString g_InputFile
 

Definition at line 16 of file slicer.cpp.

int g_NumOfViews = -1
 

Definition at line 21 of file slicer.cpp.

Referenced by _parseParameters().

vuString g_OutputFile
 

Definition at line 15 of file slicer.cpp.

float g_Scale = 1.0
 

Definition at line 19 of file slicer.cpp.

FourierSlicer_* g_Slicer = NULL
 

Definition at line 13 of file slicer.cpp.

Referenced by display(), init(), and main().

vuString g_TimingFileName
 

Definition at line 17 of file slicer.cpp.

Referenced by _parseParameters().

bool g_Visualize = false
 

Definition at line 24 of file slicer.cpp.

int g_Width = -1
 

Definition at line 22 of file slicer.cpp.


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