This class represents a set of transformations that act on 3-dimensional space, and 4-dimensional projective space.The class is implemented as a set of 4x4 matrices. All mathematical operations of the vector space of transformations can be utilized as well as multiplication of transformations. Several functions are included to return the elementary transformations that represent translation, scaling, rotation and the viewing transformation.The interested reader should consult the notes on transformations, in the computer graphics on-line notes.

To Obtain the ClassTo obtain the Transformation class you need both the include file Transformation.h and the source code file Transformation.C.

The user must also include the the Vector class, the Point class, the ProjPoint class, the ListOfVectors class, the ListOfPoints class and the ListOfProjPoint class, for the

Transformationclass to operate correctly.

Make Sure to Also Include...Be sure to include the following lines in your source code file, as these routines utilize them.

#include <stdlib.h> #include <math.h> #include <stream.h> #include <strings.h>Also, if you wish to use UNIX commands (exevlp, system, sleep, etc.) in your program, you should also have#include <unistd.h>

Note the capitalization of the letter

Tin the class name. This avoid name conflicts with other systems (like gl) that uses the typename ``transform'' or ``transformation''.

This class was generated for a research system at UC Davis and has worked in a variety of situations. Unfortunately, this is not a guarantee that it will work in your situation. You may use it ``as is'' or can modify it. If you find errors, and can correct them, please send mail to the address below, as we would also like to know about them.

This document maintained by Ken Joy.

Comments to the author : joy@cs.ucdavis.edu

All contents copyright (c) 1998

Computer Science Department, University of California, Davis

All rights reserved.

Wed Jan 7 14:59:17 PST 1998