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

#include <rayScene.h>

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


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