Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Class Members

Transform Class Reference
[Transformations]

#include <lvt/Transform.h>

Inheritance diagram for Transform:

Inheritance graph
[legend]
List of all members.

Detailed Description

Performs a scale, rotation, and translation, in that order.


Public Member Functions

void Render ()
 Performs the transformation.
 Transform ()
 Default constructor.
void Rotate (float angle, const Vec &axis)
 Sets the rotation component of the transform.
void Scale (const Vec &factor)
 Sets the scaling component of the transform.
void Translate (const Vec &t)
 Sets the translation component of the transform.


Constructor & Destructor Documentation

Transform  ) 
 

Default constructor.

Initializes the scale, translation, and rotation to identity operations.


Member Function Documentation

void Render  )  [virtual]
 

Performs the transformation.

Implements Node.

void Rotate float  angle,
const Vec axis
 

Sets the rotation component of the transform.

void Scale const Vec factor  ) 
 

Sets the scaling component of the transform.

void Translate const Vec t  ) 
 

Sets the translation component of the transform.


Generated on Thu Feb 17 09:45:48 2005 for liblvt by  doxygen 1.4.1