My Project
Public Member Functions | Public Attributes | List of all members
RayFile Class Reference

#include <rayScene.h>

Public Member Functions

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

Public Attributes

int index
char filename [STRING_BUFFER_SIZE]
class 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

The documentation for this class was generated from the following files: