Main Page | Class Hierarchy | Class List | Class Members

RayFile Class Reference

List of all members.

Public Member Functions

int read (FILE *fp, int transformType)
void write (FILE *fp=stdout)

Public Attributes

int index
char filename [STRING_BUFFER_SIZE]
RayScenescene

Detailed Description

This class stores information about the scene-graph read out from a .ray file.


Member Function Documentation

int RayFile::read FILE *  fp,
int  transformType
 

This method reads in ray-file name from the .ray file and reads the scene-graph from the specified file.

void RayFile::write FILE *  fp = stdout  ) 
 

This method writes out ray-file name to a .ray file. If no file is specified, the ray-file name is written out to stdout.


Member Data Documentation

char RayFile::filename[STRING_BUFFER_SIZE]
 

The name of the .ray file

int RayFile::index
 

The index of the .ray file within the scene

class RayScene* RayFile::scene
 

The scene graph associated with a .ray file


Generated on Wed Feb 22 15:44:23 2006 for Assignment 2 by  doxygen 1.4.1