Documentation for vtkMatrix4x4

vtkMatrix4x4 - represent and manipulate 4x4 transformation matrices

Super Class: vtkObject

Description:

vtkMatrix4x4 is a class to represent and manipulate 4x4 matrices. Specifically, it is designed to work on 4x4 transformation matrices found in 3D rendering using homogeneous coordinates [x y z w].

 

See Also:

vtkTransform

 

Methods:

static vtkMatrix4x4 *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
void vtkMatrix4x4 ()
void vtkMatrix4x4 (const vtkMatrix4x4 &)
void DeepCopy (vtkMatrix4x4 *)
void Zero ()
void Invert (vtkMatrix4x4 * ,vtkMatrix4x4 *)
void Invert ()
void Transpose (vtkMatrix4x4 * ,vtkMatrix4x4 *)
void Transpose ()
void MultiplyPoint (float ,float )
void PointMultiply (float ,float )
void Adjoint (vtkMatrix4x4 * ,vtkMatrix4x4 *)
float Determinant (vtkMatrix4x4 *)
void SetElement (int ,int ,float )
float GetElement (int ,int )
void Adjoint (vtkMatrix4x4 & ,vtkMatrix4x4 &)
float Determinant (vtkMatrix4x4 &)
void Invert (vtkMatrix4x4 & ,vtkMatrix4x4 &)
void Transpose (vtkMatrix4x4 & ,vtkMatrix4x4 &)

 

Detailed Method Descriptions:

Construct a 4x4 identity matrix.

void vtkMatrix4x4 ()

Construct a 4x4 matrix with the values which are contained in the argument m.

void vtkMatrix4x4 (const vtkMatrix4x4 &)

Set the elements of the matrix to the same values as the elements of the source Matrix.

void DeepCopy (vtkMatrix4x4 *)

Set all of the elements to zero.

void Zero ()

Matrix Inversion (adapted from Richard Carling in "Graphics Gems," Academic Press, 1990).

void Invert (vtkMatrix4x4 * ,vtkMatrix4x4 *)
void Invert ()

Transpose the matrix and put it into out.

void Transpose (vtkMatrix4x4 * ,vtkMatrix4x4 *)
void Transpose ()

Multiply this matrix by a point (in homogeneous coordinates). and return the result in result. The in[4] and result[4] arrays must both be allocated but they can be the same array.

void MultiplyPoint (float ,float )

Multiply a point (in homogeneous coordinates) by this matrix, and return the result in result. The in[4] and result[4] arrays must both be allocated, but they can be the same array.

void PointMultiply (float ,float )

Compute adjoint of the matrix and put it into out.

void Adjoint (vtkMatrix4x4 * ,vtkMatrix4x4 *)

Compute the determinant of the matrix and return it.

float Determinant (vtkMatrix4x4 *)

Sets the element i,j in the matrix.

void SetElement (int ,int ,float )

Returns the element i,j from the matrix.

float GetElement (int ,int )

For legacy compatibility. Do not use.

void Adjoint (vtkMatrix4x4 & ,vtkMatrix4x4 &)
float Determinant (vtkMatrix4x4 &)
void Invert (vtkMatrix4x4 & ,vtkMatrix4x4 &)
void Transpose (vtkMatrix4x4 & ,vtkMatrix4x4 &)