represent and manipulate 4x4 transformation matrices
More...
#include <vtkMatrix4x4.h>
Inherits vtkObject.
|
static vtkMatrix4x4 * | New () |
|
static int | IsTypeOf (const char *type) |
|
static vtkMatrix4x4 * | SafeDownCast (vtkObjectBase *o) |
|
static void | MultiplyPoint (const double Elements[16], const float in[4], float out[4]) |
|
static void | MultiplyPoint (const double Elements[16], const double in[4], double out[4]) |
|
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 (const vtkMatrix4x4 *a, const vtkMatrix4x4 *b, vtkMatrix4x4 *c) |
|
static void | Multiply4x4 (const double a[16], const double b[16], double c[16]) |
|
represent and manipulate 4x4 transformation matrices
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
- Examples:
- vtkMatrix4x4 (Examples)
- Tests:
- vtkMatrix4x4 (Tests)
Definition at line 38 of file vtkMatrix4x4.h.
vtkMatrix4x4::vtkMatrix4x4 |
( |
| ) |
|
|
inlineprotected |
vtkMatrix4x4::~vtkMatrix4x4 |
( |
| ) |
|
|
inlineprotected |
Construct a 4x4 identity matrix.
static int vtkMatrix4x4::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkMatrix4x4::IsA |
( |
const char * |
type | ) |
|
|
virtual |
static vtkMatrix4x4* vtkMatrix4x4::SafeDownCast |
( |
vtkObjectBase * |
o | ) |
|
|
static |
virtual vtkObjectBase* vtkMatrix4x4::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkMatrix4x4::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
Set the elements of the matrix to the same values as the elements of the source Matrix.
Definition at line 61 of file vtkMatrix4x4.h.
static void vtkMatrix4x4::DeepCopy |
( |
double |
Elements[16], |
|
|
const vtkMatrix4x4 * |
source |
|
) |
| |
|
inlinestatic |
Set the elements of the matrix to the same values as the elements of the source Matrix.
Definition at line 64 of file vtkMatrix4x4.h.
static void vtkMatrix4x4::DeepCopy |
( |
double |
Elements[16], |
|
|
const double |
newElements[16] |
|
) |
| |
|
static |
Set the elements of the matrix to the same values as the elements of the source Matrix.
void vtkMatrix4x4::DeepCopy |
( |
const double |
Elements[16] | ) |
|
|
inline |
Non-static member function. Assigns from elements array
Definition at line 72 of file vtkMatrix4x4.h.
void vtkMatrix4x4::Zero |
( |
| ) |
|
|
inline |
static void vtkMatrix4x4::Zero |
( |
double |
Elements[16] | ) |
|
|
static |
Set all of the elements to zero.
void vtkMatrix4x4::Identity |
( |
| ) |
|
|
inline |
static void vtkMatrix4x4::Identity |
( |
double |
Elements[16] | ) |
|
|
static |
Set equal to Identity matrix
Matrix Inversion (adapted from Richard Carling in "Graphics Gems," Academic Press, 1990).
Definition at line 97 of file vtkMatrix4x4.h.
void vtkMatrix4x4::Invert |
( |
| ) |
|
|
inline |
Matrix Inversion (adapted from Richard Carling in "Graphics Gems," Academic Press, 1990).
Definition at line 99 of file vtkMatrix4x4.h.
static void vtkMatrix4x4::Invert |
( |
const double |
inElements[16], |
|
|
double |
outElements[16] |
|
) |
| |
|
static |
Matrix Inversion (adapted from Richard Carling in "Graphics Gems," Academic Press, 1990).
Transpose the matrix and put it into out.
Definition at line 109 of file vtkMatrix4x4.h.
void vtkMatrix4x4::Transpose |
( |
| ) |
|
|
inline |
Transpose the matrix and put it into out.
Definition at line 111 of file vtkMatrix4x4.h.
static void vtkMatrix4x4::Transpose |
( |
const double |
inElements[16], |
|
|
double |
outElements[16] |
|
) |
| |
|
static |
Transpose the matrix and put it into out.
void vtkMatrix4x4::MultiplyPoint |
( |
const float |
in[4], |
|
|
float |
out[4] |
|
) |
| |
|
inline |
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 121 of file vtkMatrix4x4.h.
void vtkMatrix4x4::MultiplyPoint |
( |
const double |
in[4], |
|
|
double |
out[4] |
|
) |
| |
|
inline |
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 123 of file vtkMatrix4x4.h.
static void vtkMatrix4x4::MultiplyPoint |
( |
const double |
Elements[16], |
|
|
const float |
in[4], |
|
|
float |
out[4] |
|
) |
| |
|
static |
static void vtkMatrix4x4::MultiplyPoint |
( |
const double |
Elements[16], |
|
|
const double |
in[4], |
|
|
double |
out[4] |
|
) |
| |
|
static |
float* vtkMatrix4x4::MultiplyPoint |
( |
const float |
in[4] | ) |
|
|
inline |
float* vtkMatrix4x4::MultiplyFloatPoint |
( |
const float |
in[4] | ) |
|
|
inline |
double* vtkMatrix4x4::MultiplyDoublePoint |
( |
const double |
in[4] | ) |
|
|
inline |
Multiplies matrices a and b and stores the result in c.
Definition at line 147 of file vtkMatrix4x4.h.
static void vtkMatrix4x4::Multiply4x4 |
( |
const double |
a[16], |
|
|
const double |
b[16], |
|
|
double |
c[16] |
|
) |
| |
|
static |
Multiplies matrices a and b and stores the result in c.
Compute adjoint of the matrix and put it into out.
Definition at line 157 of file vtkMatrix4x4.h.
static void vtkMatrix4x4::Adjoint |
( |
const double |
inElements[16], |
|
|
double |
outElements[16] |
|
) |
| |
|
static |
Compute adjoint of the matrix and put it into out.
double vtkMatrix4x4::Determinant |
( |
| ) |
|
|
inline |
Compute the determinant of the matrix and return it.
Definition at line 166 of file vtkMatrix4x4.h.
static double vtkMatrix4x4::Determinant |
( |
const double |
Elements[16] | ) |
|
|
static |
Compute the determinant of the matrix and return it.
void vtkMatrix4x4::SetElement |
( |
int |
i, |
|
|
int |
j, |
|
|
double |
value |
|
) |
| |
|
inline |
double vtkMatrix4x4::GetElement |
( |
int |
i, |
|
|
int |
j |
|
) |
| const |
|
inline |
Returns the element i,j from the matrix.
Definition at line 177 of file vtkMatrix4x4.h.
double* vtkMatrix4x4::operator[] |
( |
const unsigned int |
i | ) |
|
|
inline |
const double* vtkMatrix4x4::operator[] |
( |
unsigned int |
i | ) |
const |
|
inline |
static void vtkMatrix4x4::PointMultiply |
( |
const double |
Elements[16], |
|
|
const float |
in[4], |
|
|
float |
out[4] |
|
) |
| |
|
static |
static void vtkMatrix4x4::PointMultiply |
( |
const double |
Elements[16], |
|
|
const double |
in[4], |
|
|
double |
out[4] |
|
) |
| |
|
static |
double vtkMatrix4x4::Element[4][4] |
float vtkMatrix4x4::FloatPoint[4] |
|
protected |
double vtkMatrix4x4::DoublePoint[4] |
|
protected |
The documentation for this class was generated from the following file: