Main Page | Class Hierarchy | Class List | Class Members

StaticRayGroup Class Reference

Inheritance diagram for StaticRayGroup:

RayGroup RayShape List of all members.

Public Member Functions

int set (Matrix4D xForm)
int read (FILE *fp)
Matrix4D getMatrix (void)
Matrix4D getInverseMatrix (void)
Matrix4D getNormalMatrix (void)
void writeBegin (int indent, FILE *fp=stdout)
void writeEnd (int indent, FILE *fp=stdout)
int isStatic (void)

Public Attributes

Matrix4D localTransform

Detailed Description

This subclass of RayGroup represents a node in the scene graph whose transformation matrix is constant.


Member Function Documentation

Matrix4D StaticRayGroup::getInverseMatrix void   )  [virtual]
 

This method returns the inverse of the transformation associated with the group.

Implements RayGroup.

Matrix4D StaticRayGroup::getMatrix void   )  [virtual]
 

This method returns the transformation associated with the group.

Implements RayGroup.

Matrix4D StaticRayGroup::getNormalMatrix void   )  [virtual]
 

This method returns the transformation that acts on the surface normals.

Implements RayGroup.

int StaticRayGroup::isStatic void   )  [virtual]
 

This method returns a value of 1 if the RayShape's geometry doesn't change.

Reimplemented from RayShape.

int StaticRayGroup::read FILE *  fp  ) 
 

This method reads in the transformation matrix from a .ray file.

int StaticRayGroup::set Matrix4D  xForm  ) 
 

This method sets the the transformation matrix of the node.

void StaticRayGroup::writeBegin int  indent,
FILE *  fp = stdout
[virtual]
 

This virtual method specifies how the header of the node should be written out to a .ray file.

Implements RayGroup.

void StaticRayGroup::writeEnd int  indent,
FILE *  fp = stdout
[virtual]
 

This virtual method specifies how the footer of the node should be written out to a .ray file.

Implements RayGroup.


Member Data Documentation

Matrix4D StaticRayGroup::localTransform
 

The constant transformation associated to the node.


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