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

Tools/Lightfield/raycaster.cpp File Reference

#include "Scanner.h"
#include <stdio.h>
#include "vuMisc/vuCommandLineTool.h"
#include <GL/glut.h>

Include dependency graph for Tools/Lightfield/raycaster.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

Scannerg_Scanner = NULL
vuString g_ErrorMsg
vuString g_TFuncFile
vuString g_OutputFile
vuString g_InputFile
int g_Views = -1
int g_Width = -1
int g_Height = -1
bool g_Visualize = false


Function Documentation

vuString _helpString vuCommandLineTool tool  ) 
 

Definition at line 72 of file Tools/Lightfield/raycaster.cpp.

References vuCommandLineTool::toolName().

Here is the call graph for this function:

bool _parseParameters int  argc,
const char **  argv
 

Definition at line 98 of file Tools/Lightfield/raycaster.cpp.

References _helpString(), vuCommandLineTool::fileExists(), g_ErrorMsg, g_Height, g_InputFile, g_OutputFile, g_TFuncFile, g_Views, g_Visualize, g_Width, 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 29 of file Tools/Lightfield/raycaster.cpp.

Referenced by keyboard(), and main().

void display void   ) 
 

Definition at line 37 of file Tools/Lightfield/raycaster.cpp.

References g_OutputFile, g_Scanner, and Scanner::lazyCalculateAndDisplay().

Referenced by main().

Here is the call graph for this function:

void init void   ) 
 

Definition at line 22 of file Tools/Lightfield/raycaster.cpp.

References vuString::c_str(), g_InputFile, g_Scanner, g_TFuncFile, vuString::isEmpty(), and Scanner::loadTFuncFromFile().

Referenced by main().

Here is the call graph for this function:

void keyboard unsigned char  key,
int  x,
int  y
 

Definition at line 42 of file Tools/Lightfield/raycaster.cpp.

References destroy().

Referenced by main().

Here is the call graph for this function:

int main int  argc,
const char **  argv
 

Definition at line 194 of file Tools/Lightfield/raycaster.cpp.

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

Here is the call graph for this function:

void reshape int  width,
int  height
 

Definition at line 58 of file Tools/Lightfield/raycaster.cpp.

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

Referenced by main().

Here is the call graph for this function:


Variable Documentation

vuString g_ErrorMsg
 

Definition at line 13 of file Tools/Lightfield/raycaster.cpp.

int g_Height = -1
 

Definition at line 19 of file Tools/Lightfield/raycaster.cpp.

Referenced by _parseParameters(), init(), main(), and reshape().

vuString g_InputFile
 

Definition at line 16 of file Tools/Lightfield/raycaster.cpp.

vuString g_OutputFile
 

Definition at line 15 of file Tools/Lightfield/raycaster.cpp.

Scanner* g_Scanner = NULL
 

Definition at line 12 of file Tools/Lightfield/raycaster.cpp.

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

vuString g_TFuncFile
 

Definition at line 14 of file Tools/Lightfield/raycaster.cpp.

Referenced by _parseParameters(), and init().

int g_Views = -1
 

Definition at line 17 of file Tools/Lightfield/raycaster.cpp.

Referenced by _parseParameters().

bool g_Visualize = false
 

Definition at line 20 of file Tools/Lightfield/raycaster.cpp.

Referenced by _parseParameters().

int g_Width = -1
 

Definition at line 18 of file Tools/Lightfield/raycaster.cpp.

Referenced by _parseParameters(), init(), main(), and reshape().


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