#include <vtkMatrix4x4.h>
Inheritance diagram for vtkMatrix4x4:
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].
Definition at line 34 of file vtkMatrix4x4.h.
void | DeepCopy (const double Elements[16]) |
static void | DeepCopy (double Elements[16], const double newElements[16]) |
void | Identity () |
static void | Zero (double Elements[16]) |
void | Invert () |
static void | Identity (double Elements[16]) |
static void | Invert (vtkMatrix4x4 *in, vtkMatrix4x4 *out) |
void | Transpose () |
static void | Invert (const double inElements[16], double outElements[16]) |
static void | Transpose (vtkMatrix4x4 *in, vtkMatrix4x4 *out) |
void | MultiplyPoint (const float in[4], float out[4]) |
void | MultiplyPoint (const double in[4], double out[4]) |
static void | Transpose (const double inElements[16], double outElements[16]) |
float * | MultiplyPoint (const float in[4]) |
float * | MultiplyFloatPoint (const float in[4]) |
double * | MultiplyDoublePoint (const double in[4]) |
static void | MultiplyPoint (const double Elements[16], const double in[4], double out[4]) |
void | Adjoint (vtkMatrix4x4 *in, vtkMatrix4x4 *out) |
static void | Multiply4x4 (const double a[16], const double b[16], double c[16]) |
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
double | Determinant () |
double * | operator[] (const unsigned int i) |
const double * | operator[] (unsigned int i) const |
void | Adjoint (vtkMatrix4x4 &in, vtkMatrix4x4 &out) |
double | Determinant (vtkMatrix4x4 &in) |
double | Determinant (vtkMatrix4x4 *in) |
void | Invert (vtkMatrix4x4 &in, vtkMatrix4x4 &out) |
void | Transpose (vtkMatrix4x4 &in, vtkMatrix4x4 &out) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | DeepCopy (vtkMatrix4x4 *source) |
void | Zero () |
void | SetElement (int i, int j, double value) |
double | GetElement (int i, int j) const |
Static Public Member Functions | |
static vtkMatrix4x4 * | New () |
static int | IsTypeOf (const char *type) |
static vtkMatrix4x4 * | SafeDownCast (vtkObject *o) |
static void | DeepCopy (double Elements[16], vtkMatrix4x4 *source) |
static void | MultiplyPoint (const double Elements[16], const float in[4], float out[4]) |
static void | Adjoint (const double inElements[16], double outElements[16]) |
static double | Determinant (const double Elements[16]) |
static void | PointMultiply (const double Elements[16], const float in[4], float out[4]) |
static void | PointMultiply (const double Elements[16], const double in[4], double out[4]) |
static void | Multiply4x4 (vtkMatrix4x4 *a, vtkMatrix4x4 *b, vtkMatrix4x4 *c) |
Public Attributes | |
double | Element [4][4] |
Protected Member Functions | |
vtkMatrix4x4 () | |
~vtkMatrix4x4 () | |
Protected Attributes | |
float | FloatPoint [4] |
double | DoublePoint [4] |
|
Reimplemented from vtkObject. Definition at line 51 of file vtkMatrix4x4.h. |
|
Definition at line 197 of file vtkMatrix4x4.h. References Identity(). |
|
Definition at line 198 of file vtkMatrix4x4.h. |
|
Construct a 4x4 identity matrix. Reimplemented from vtkObject. |
|
Reimplemented from vtkObject. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. |
|
Reimplemented from vtkObject. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkObject. |
|
Set the elements of the matrix to the same values as the elements of the source Matrix. Definition at line 57 of file vtkMatrix4x4.h. References vtkObject::Modified(). Referenced by DeepCopy(). |
|
Definition at line 61 of file vtkMatrix4x4.h. References DeepCopy(), and Element. |
|
Non-static member function. Assigns *from* elements array |
|
Non-static member function. Assigns *from* elements array Definition at line 68 of file vtkMatrix4x4.h. References vtkObject::Modified(). |
|
Set all of the elements to zero. Definition at line 74 of file vtkMatrix4x4.h. References vtkObject::Modified(). |
|
Set equal to Identity matrix |
|
Set equal to Identity matrix Definition at line 83 of file vtkMatrix4x4.h. References vtkObject::Modified(). Referenced by vtkMatrix4x4(). |
|
|
|
Matrix Inversion (adapted from Richard Carling in "Graphics Gems," Academic Press, 1990). Definition at line 93 of file vtkMatrix4x4.h. References Element, Invert(), and vtkObject::Modified(). |
|
Definition at line 95 of file vtkMatrix4x4.h. Referenced by Invert(). |
|
|
|
Transpose the matrix and put it into out. Definition at line 105 of file vtkMatrix4x4.h. References Element, vtkObject::Modified(), and Transpose(). |
|
Definition at line 107 of file vtkMatrix4x4.h. Referenced by Transpose(). |
|
Multiply a homogeneous coordinate by this matrix, i.e. out = A*in. The in[4] and out[4] can be the same array. |
|
Multiply a homogeneous coordinate by this matrix, i.e. out = A*in. The in[4] and out[4] can be the same array. Definition at line 117 of file vtkMatrix4x4.h. Referenced by vtkTransform::MultiplyPoint(), and MultiplyPoint(). |
|
Multiply a homogeneous coordinate by this matrix, i.e. out = A*in. The in[4] and out[4] can be the same array. Definition at line 119 of file vtkMatrix4x4.h. References MultiplyPoint(). |
|
|
|
For use in Java, Python or Tcl. The default MultiplyPoint() uses a single-precision point. |
|
For use in Java, Python or Tcl. The default MultiplyPoint() uses a single-precision point. Definition at line 133 of file vtkMatrix4x4.h. |
|
For use in Java, Python or Tcl. The default MultiplyPoint() uses a single-precision point. Definition at line 135 of file vtkMatrix4x4.h. |
|
For use in Java, Python or Tcl. The default MultiplyPoint() uses a single-precision point. Definition at line 137 of file vtkMatrix4x4.h. |
|
Multiplies matrices a and b and stores the result in c. Definition at line 143 of file vtkMatrix4x4.h. References Element. |
|
Compute adjoint of the matrix and put it into out. |
|
Compute adjoint of the matrix and put it into out. Definition at line 153 of file vtkMatrix4x4.h. References Element. |
|
|
|
Compute the determinant of the matrix and return it. Definition at line 161 of file vtkMatrix4x4.h. Referenced by Determinant(). |
|
|
|
Sets the element i,j in the matrix. Definition at line 207 of file vtkMatrix4x4.h. References Element, and vtkObject::Modified(). |
|
Returns the element i,j from the matrix. Definition at line 171 of file vtkMatrix4x4.h. |
|
Definition at line 176 of file vtkMatrix4x4.h. |
|
Definition at line 178 of file vtkMatrix4x4.h. |
|
Definition at line 180 of file vtkMatrix4x4.h. |
|
Definition at line 182 of file vtkMatrix4x4.h. |
|
Definition at line 184 of file vtkMatrix4x4.h. References Determinant(), and Element. |
|
Definition at line 186 of file vtkMatrix4x4.h. |
|
Definition at line 188 of file vtkMatrix4x4.h. |
|
|
|
|
|
Definition at line 46 of file vtkMatrix4x4.h. Referenced by Adjoint(), vtkTransform::Concatenate(), vtkPerspectiveTransform::Concatenate(), vtkGeneralTransform::Concatenate(), DeepCopy(), Determinant(), Invert(), Multiply4x4(), SetElement(), vtkTransform::SetMatrix(), vtkPerspectiveTransform::SetMatrix(), and Transpose(). |
|
Definition at line 198 of file vtkMatrix4x4.h. |
|
Definition at line 201 of file vtkMatrix4x4.h. |