The C++ Matrix4x4 Class

Overview

The Matrix4x4 class is used to represent transformations which can be applied to projective space points. A common special case is characterized by the bottom row of the matrix being (0,0,0,1). In this case, the transformation is an affine transformation. Read the description of the Matrix3x3 class. A 4x4 matrix storing an affine transformation is easily constructed by first creating a 3x3 matrix, and then using one of the constructors below to make the 4x4 representation from the 3x3 matrix and additional data.

Constructors

C++ Overloaded Operators

In the following, assume that instances of Matrix4x4 called M, N, A1, and A2 have been declared and initialized. Similarly, let us assume that P and Q have been defined as instances of class ProjPoint, R and S are instances of class AffPoint, and that u and v have been defined as instances of class AffVector.

Matrix4x4 Instance Methods

In the following, assume that an instance of Matrix4x4 called M has been declared and initialized.

Matrix4x4 Public Constants

The following constants are Matrix4x4 class variables that can be used in your programs.

Matrix4x4 Class Methods


Jim Miller