Main Page | Class Hierarchy | Class List | Class Members

RayVertex Class Reference

List of all members.

Public Member Functions

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

Public Attributes

int index
Point3D position
Point3D normal
Point2D texCoordinate

Detailed Description

This class stores information about a vertex .


Member Function Documentation

int RayVertex::read FILE *  fp  ) 
 

This method reads in the vertex information from a .ray file.

void RayVertex::write FILE *  fp = stdout  ) 
 

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


Member Data Documentation

int RayVertex::index
 

The index of the vertex within the scene

Point3D RayVertex::normal
 

The normal at the vertex

Point3D RayVertex::position
 

The position of the vertex

Point2D RayVertex::texCoordinate
 

The texture coordinates at the vertex


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