TransformMatrix Class Reference

#include <TransformMatrix.h>

Description

A transform representated as a row-major matrix.

Functions

Vector Transform (const Vector &p) const
 
Dynacoe::Chain Print () const
 
void Transpose ()
 
void Inverse ()
 
void ReverseMajority ()
 
float * GetData () const
 
TransformMatrix operator* (const TransformMatrix &) const
 
void RotateByAngles (float x, float y, float z)
 
void RotateByVector (const Dynacoe::Vector &)
 
void Translate (float x, float y, float z)
 
void Scale (float x, float y, float z)
 
void SetToIdentity ()
 

Member Function Documentation

Vector Transform ( const Vector p) const

Transforms the given point and returns its result;.

Dynacoe::Chain Print ( ) const

Returns a string containing info on the transform.

void Transpose ( )

Transposes the matrix.

void Inverse ( )

Inverts the matrix.

void ReverseMajority ( )

Reverse the majority of the matrix.

float* GetData ( ) const

Returns the internal representation of the TransformMatrix.

TransformMatrix operator* ( const TransformMatrix ) const

Multiplies 2 matrices.

void RotateByAngles ( float  x,
float  y,
float  z 
)

Rotates the matrix about the Euler angles psi, theta, and phi.

void RotateByVector ( const Dynacoe::Vector )

Rotates about a vector.

void Translate ( float  x,
float  y,
float  z 
)

Expresses a translation by x, y, and z.

void Scale ( float  x,
float  y,
float  z 
)

Expresses a scaling in the x, y, and z directions.

void SetToIdentity ( )

Sets the matrix to the identity matrix, removing all transformations.


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