Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

UnMatrix Class Reference
[GLT Math]

4x4 UnMatrix More...

#include <umatrix.h>

List of all members.

Public Methods

 UnMatrix ()

 UnMatrix (const UnMatrix &)
 Copy Constructor.

 UnMatrix (const Matrix &matrix)
 Construct from 4x4 matrix.

 ~UnMatrix ()

bool uniformScale (const double tol=1.0e-4) const
 Is the scale uniform?

bool noRotation (const double tol=1.0e-4) const
 Is there no rotation transformation?

bool noShear (const double tol=1.0e-4) const
 Is there no shear transformation?

bool noPerspective (const double tol=1.0e-4) const
 Is there no perspective transformation?

double & operator[] (const UnMatrixField field)
 Access UnMatrix fields.


std::ostream & operator<< (std::ostream &os, const UnMatrixField &field)
 Output an UnMatrix field description to a text stream.

std::ostream & operator<< (std::ostream &os, const UnMatrix &unMatrix)
 Write an UnMatrix to a text stream.

std::istream & operator>> (std::istream &is, UnMatrixField &field)
 Read an UnMatrix field from a text stream.

std::istream & operator>> (std::istream &is, UnMatrix &unMatrix)
 Read an UnMatrix from a text stream.

UnMatrix operator- (const UnMatrix &b, const UnMatrix &a)
 UnMatrix difference.

UnMatrix operator * (const UnMatrix &a, const double scaleFactor)
 UnMatrix scaling.

UnMatrix operator+ (const UnMatrix &a, const UnMatrix &b)
 UnMatrix addition.

Detailed Description

4x4 UnMatrix

Nigel Stewart, RMIT ( , Spencer W. Thomas, University of Michigan
Graphics Gems II - Decomposing a matrix into simple transformations. Pg. 320

The unmatrix subroutine fills in a vector of floating point values. These symbols make it easier to get the data back out.

Definition at line 83 of file umatrix.h.

The documentation for this class was generated from the following files:
Generated on Tue Nov 5 11:11:49 2002 for GLT by doxygen1.2.18