Assignments Assignments

Functions | Variables
main3.cpp File Reference
`#include <stdio.h>`
`#include <stdlib.h>`
`#include <iostream>`
`#include <fstream>`
`#include <Util/cmdLineParser.h>`
`#include <Ray/window.h>`
`#include <Ray/box.h>`
`#include <Ray/cone.h>`
`#include <Ray/cylinder.h>`
`#include <Ray/sphere.h>`
`#include <Ray/torus.h>`
`#include <Ray/triangle.h>`
`#include <Ray/fileInstance.h>`
`#include <Ray/directionalLight.h>`
`#include <Ray/pointLight.h>`
`#include <Ray/spotLight.h>`
`#include <Ray/sphereLight.h>`

## Functions
void | ShowUsage (const string &ex)
int | main (int argc, char *argv[])

## Variables
CmdLineParameter< string > | InputRayFile ("in")
CmdLineParameter< int > | WindowWidth ("width", 640)
CmdLineParameter< int > | WindowHeight ("height", 480)
CmdLineParameter< int > | Complexity ("cplx", 10)
CmdLineReadable * | params []

## Function Documentation

## ◆ main()

int main | ( | int | argc,
|  | char * | argv[] )

## ◆ ShowUsage()

void ShowUsage | ( | const string & | ex | ) |

## Variable Documentation

## ◆ Complexity

CmdLineParameter< int > Complexity("cplx", 10) | ( | "cplx" | ,
|  | 10 | )

## ◆ InputRayFile

CmdLineParameter< string > InputRayFile("in") | ( | "in" |  | ) |

## ◆ params

CmdLineReadable* params[]

Initial value:
=
{
&InputRayFile , &WindowWidth , &WindowHeight , &Complexity ,
NULL
}
InputRayFile
CmdLineParameter< string > InputRayFile("in")
WindowWidth
CmdLineParameter< int > WindowWidth("width", 640)
Complexity
CmdLineParameter< int > Complexity("cplx", 10)
WindowHeight
CmdLineParameter< int > WindowHeight("height", 480)

## ◆ WindowHeight

CmdLineParameter< int > WindowHeight("height", 480) | ( | "height" | ,
|  | 480 | )

## ◆ WindowWidth

CmdLineParameter< int > WindowWidth("width", 640) | ( | "width" | ,
|  | 640 | )