AGX Dynamics  2.35.0.1
agx::Matrix4x4T< T > Class Template Reference

Matrix class for affine transformations. More...

#include <Matrix4x4.h>

+ Inheritance diagram for agx::Matrix4x4T< T >:

Public Types

typedef T Type
 

Public Member Functions

 Matrix4x4T ()
 Creates a new matrix, initialized to be an identity matrix. More...
 
 Matrix4x4T (const EulerAngles &rotation, const Vec3T< T > &translation=Vec3T< T >())
 Create a matrix from Euler angles. More...
 
template<typename T2 >
 Matrix4x4T (const Matrix4x4T< T2 > &mat)
 Copy constructor. More...
 
 Matrix4x4T (const OrthoMatrix3x3 &rotation, const Vec3T< T > &translation=Vec3T< T >())
 Create a matrix from a 3x3 rotation matrix. More...
 
 Matrix4x4T (const QuatT< T > &rotation, const Vec3T< T > &translation=Vec3T< T >())
 Create a matrix from a quaternion. More...
 
 Matrix4x4T (T a00, T a01, T a02, T a03, T a10, T a11, T a12, T a13, T a20, T a21, T a22, T a23, T a30, T a31, T a32, T a33)
 Create a matrix from 16 T scalars. More...
 
 Matrix4x4T (T const *const ptr)
 Create a matrix from a vector of 16 reals. More...
 
 ~Matrix4x4T ()=default
 Destructor. More...
 
Matrix4x4T< T > & addTranslate (const Vec3T< T > &t)
 
Matrix4x4T< T > & addTranslate (T tx, T ty, T tz)
 
void get (EulerAngles &e) const
 
void get (OrthoMatrix3x3 &m3) const
 
void get (QuatT< T > &q) const
 
agx::Vec4T< T > getCol (size_t col) const
 
QuatT< T > getRotate () const
 
agx::Vec4T< T > getRow (size_t row) const
 
Vec3T< T > getTranslate () const
 
Matrix4x4T< T > inverse () const
 Matrix inverse. More...
 
bool isFinite () const
 
bool isIdentity () const
 
bool isNaN () const
 
bool isRigidTransformation () const
 
void mult (const Matrix4x4T< T > &, const Matrix4x4T< T > &)
 
void multSSE (const Matrix4x4T< Real32 > &lhs, const Matrix4x4T< Real32 > &rhs)
 
void multSSE (const Matrix4x4T< Real64 > &lhs, const Matrix4x4T< Real64 > &rhs)
 
void multSSE (const Matrix4x4T< T > &lhs, const Matrix4x4T< T > &rhs)
 
bool operator!= (const Matrix4x4T< T > &m) const
 
T & operator() (size_t row, size_t col)
 
T operator() (size_t row, size_t col) const
 
Matrix4x4T< T > operator* (const Matrix4x4T< T > &m) const
 
Vec3T< T > operator* (const Vec3T< T > &v) const
 
Vec4T< T > operator* (const Vec4T< T > &v) const
 
void operator*= (const Matrix4x4T< T > &other)
 
Matrix4x4T< T > & operator= (const Matrix4x4T< T > &rhs)
 
bool operator== (const Matrix4x4T< T > &m) const
 
void postMult (const Matrix4x4T< T > &)
 
Vec3T< T > postMult (const Vec3T< T > &v) const
 
Vec4T< T > postMult (const Vec4T< T > &v) const
 
Matrix4x4T< T > & postMultTranslate (const Vec3T< T > &v)
 
void preMult (const Matrix4x4T< T > &)
 
Vec3T< T > preMult (const Vec3T< T > &v) const
 
Vec4T< T > preMult (const Vec4T< T > &v) const
 
Matrix4x4T< T > & preMultTranslate (const Vec3T< T > &v)
 
T * ptr ()
 
const T * ptr () const
 
Matrix4x4T< T > & set (const EulerAngles &e)
 
Matrix4x4T< T > & set (const OrthoMatrix3x3 &m3)
 
Matrix4x4T< T > & set (const QuatT< T > &q)
 
Matrix4x4T< T > & set (T a00, T a01, T a02, T a03, T a10, T a11, T a12, T a13, T a20, T a21, T a22, T a23, T a30, T a31, T a32, T a33)
 
Matrix4x4T< T > & set (T const *const ptr)
 
void setCol (size_t col, const agx::Vec4T< T > &vec)
 
Matrix4x4T< T > & setIdentity ()
 
Matrix4x4T< T > & setRotate (const EulerAngles &euler)
 
Matrix4x4T< T > & setRotate (const OrthoMatrix3x3 &m3)
 
Matrix4x4T< T > & setRotate (const QuatT< T > &q)
 
Matrix4x4T< T > & setRotate (const Vec3T< T > &from, const Vec3T< T > &to)
 
Matrix4x4T< T > & setRotate (T angle, const Vec3T< T > &axis)
 
Matrix4x4T< T > & setRotate (T angle, T x, T y, T z)
 
Matrix4x4T< T > & setRotate (T angle1, const Vec3T< T > &axis1, T angle2, const Vec3T< T > &axis2, T angle3, const Vec3T< T > &axis3)
 
void setRow (size_t row, const agx::Vec4T< T > &vec)
 Set the row of the matrix,. More...
 
Matrix4x4T< T > & setTranslate (const Vec3T< T > &t)
 
Matrix4x4T< T > & setTranslate (T tx, T ty, T tz)
 
Vec3T< T > transform3x3 (const Vec3T< T > &vIn) const
 
Vec3T< T > & transform3x3 (const Vec3T< T > &vIn, Vec3T< T > &vOut) const
 
Vec3T< T > transform3x3Inv (const Vec3T< T > &vIn) const
 
Vec3T< T > & transform3x3Inv (const Vec3T< T > &vIn, Vec3T< T > &vOut) const
 
Matrix4x4T< T > transpose () const
 
bool valid () const
 

Static Public Member Functions

static Matrix4x4T< T > crossMatrix (const Vec3T< T > &vec)
 Generates a new matrix of a specific type. More...
 
static Matrix4x4T< T > rotate (const Vec3T< T > &from, const Vec3T< T > &to)
 
static Matrix4x4T< T > rotate (T angle, const Vec3T< T > &axis)
 
static Matrix4x4T< T > rotate (T angle, T x, T y, T z)
 
static Matrix4x4T< T > rotate (T angle1, const Vec3T< T > &axis1, T angle2, const Vec3T< T > &axis2, T angle3, const Vec3T< T > &axis3)
 
static Matrix4x4T< T > translate (const Vec3T< T > &dv)
 
static Matrix4x4T< T > translate (T x, T y, T z)
 

Protected Member Functions

bool invert (const Matrix4x4T< T > &mat)
 

Static Protected Member Functions

static void multSSE32Implementation (Real32 *out, const Real32 *lhs, const Real32 *rhs)
 
static void multSSE64Implementation (Real64 *out, const Real64 *lhs, const Real64 *rhs)
 

Protected Attributes

T m_data [4][4]
 

Detailed Description

template<typename T>
class agx::Matrix4x4T< T >

Matrix class for affine transformations.

Translations are stored in the last row. The last column will be assumed to be [0 0 0 1]' in all operations, even if it is set to something else.

Definition at line 55 of file Matrix4x4.h.

Member Typedef Documentation

◆ Type

template<typename T >
typedef T agx::Matrix4x4T< T >::Type

Definition at line 58 of file Matrix4x4.h.

Constructor & Destructor Documentation

◆ Matrix4x4T() [1/7]

template<typename T >
agx::Matrix4x4T< T >::Matrix4x4T

Creates a new matrix, initialized to be an identity matrix.

Definition at line 326 of file Matrix4x4.h.

◆ Matrix4x4T() [2/7]

template<typename T >
template<typename T2 >
agx::Matrix4x4T< T >::Matrix4x4T ( const Matrix4x4T< T2 > &  mat)
explicit

Copy constructor.

Definition at line 332 of file Matrix4x4.h.

◆ Matrix4x4T() [3/7]

template<typename T >
agx::Matrix4x4T< T >::Matrix4x4T ( T const *const  ptr)
explicit

Create a matrix from a vector of 16 reals.

Definition at line 384 of file Matrix4x4.h.

◆ Matrix4x4T() [4/7]

template<typename T >
agx::Matrix4x4T< T >::Matrix4x4T ( const QuatT< T > &  rotation,
const Vec3T< T > &  translation = Vec3T<T>() 
)

Create a matrix from a quaternion.

Definition at line 391 of file Matrix4x4.h.

◆ Matrix4x4T() [5/7]

template<typename T >
agx::Matrix4x4T< T >::Matrix4x4T ( const EulerAngles &  rotation,
const Vec3T< T > &  translation = Vec3T< T >() 
)

Create a matrix from Euler angles.

◆ Matrix4x4T() [6/7]

template<typename T >
agx::Matrix4x4T< T >::Matrix4x4T ( const OrthoMatrix3x3 &  rotation,
const Vec3T< T > &  translation = Vec3T<T>() 
)

Create a matrix from a 3x3 rotation matrix.

Definition at line 399 of file Matrix4x4.h.

◆ Matrix4x4T() [7/7]

template<typename T >
agx::Matrix4x4T< T >::Matrix4x4T ( T  a00,
T  a01,
T  a02,
T  a03,
T  a10,
T  a11,
T  a12,
T  a13,
T  a20,
T  a21,
T  a22,
T  a23,
T  a30,
T  a31,
T  a32,
T  a33 
)

Create a matrix from 16 T scalars.

Definition at line 356 of file Matrix4x4.h.

◆ ~Matrix4x4T()

template<typename T >
agx::Matrix4x4T< T >::~Matrix4x4T ( )
default

Destructor.

Member Function Documentation

◆ addTranslate() [1/2]

template<typename T >
Matrix4x4T< T > & agx::Matrix4x4T< T >::addTranslate ( const Vec3T< T > &  t)

Definition at line 620 of file Matrix4x4.h.

◆ addTranslate() [2/2]

template<typename T >
Matrix4x4T< T > & agx::Matrix4x4T< T >::addTranslate ( T  tx,
T  ty,
T  tz 
)

Definition at line 630 of file Matrix4x4.h.

◆ crossMatrix()

template<typename T >
Matrix4x4T< T > agx::Matrix4x4T< T >::crossMatrix ( const Vec3T< T > &  vec)
inlinestatic

Generates a new matrix of a specific type.

Definition at line 704 of file Matrix4x4.h.

References agx::Vec3T< T >::x(), agx::Vec3T< T >::y(), and agx::Vec3T< T >::z().

◆ get() [1/3]

template<typename T >
void agx::Matrix4x4T< T >::get ( EulerAngles &  e) const

◆ get() [2/3]

template<typename T >
void agx::Matrix4x4T< T >::get ( OrthoMatrix3x3 &  m3) const

Definition at line 667 of file Matrix4x4.h.

◆ get() [3/3]

template<typename T >
void agx::Matrix4x4T< T >::get ( QuatT< T > &  q) const
Returns
a quaternion of the rotation part of this matrix (real part > 0 by convention)

◆ getCol()

template<typename T >
agx::Vec4T<T> agx::Matrix4x4T< T >::getCol ( size_t  col) const
inline

Definition at line 191 of file Matrix4x4.h.

References agx::Matrix4x4T< T >::m_data.

◆ getRotate()

template<typename T >
QuatT< T > agx::Matrix4x4T< T >::getRotate

Definition at line 659 of file Matrix4x4.h.

◆ getRow()

template<typename T >
agx::Vec4T<T> agx::Matrix4x4T< T >::getRow ( size_t  row) const
inline

Definition at line 181 of file Matrix4x4.h.

References agx::Matrix4x4T< T >::m_data.

◆ getTranslate()

template<typename T >
Vec3T< T > agx::Matrix4x4T< T >::getTranslate

Definition at line 652 of file Matrix4x4.h.

Referenced by agx::Frame::getTranslate().

◆ inverse()

template<typename T >
Matrix4x4T< T > agx::Matrix4x4T< T >::inverse
inline

Matrix inverse.

Returns
the inverse

Definition at line 1052 of file Matrix4x4.h.

References agx::Matrix4x4T< T >::invert().

Referenced by agx::inverse< Matrix4x4d >(), and agx::inverse< Matrix4x4f >().

◆ invert()

template<typename T >
bool agx::Matrix4x4T< T >::invert ( const Matrix4x4T< T > &  mat)
protected

◆ isFinite()

template<typename T >
bool agx::Matrix4x4T< T >::isFinite
Returns
true if all the elements are non-NaN and non-inf

Definition at line 434 of file Matrix4x4.h.

◆ isIdentity()

template<typename T >
bool agx::Matrix4x4T< T >::isIdentity
Returns
true if the matrix is identity.

Definition at line 447 of file Matrix4x4.h.

◆ isNaN()

template<typename T >
bool agx::Matrix4x4T< T >::isNaN
Returns
true if the matrix is a valid one.

Definition at line 420 of file Matrix4x4.h.

◆ isRigidTransformation()

template<typename T >
bool agx::Matrix4x4T< T >::isRigidTransformation
Returns
true if the matrix is rigid transformation.

Definition at line 453 of file Matrix4x4.h.

References agx::equivalent().

Referenced by agx::AffineMatrix4x4T< T >::AffineMatrix4x4T().

◆ mult()

template<typename T >
void agx::Matrix4x4T< T >::mult ( const Matrix4x4T< T > &  lhs,
const Matrix4x4T< T > &  rhs 
)

◆ multSSE() [1/3]

void agx::Matrix4x4T< Real32 >::multSSE ( const Matrix4x4T< Real32 > &  lhs,
const Matrix4x4T< Real32 > &  rhs 
)

Definition at line 1196 of file Matrix4x4.h.

References agx::mult(), and agx::Matrix4x4T< T >::ptr().

◆ multSSE() [2/3]

void agx::Matrix4x4T< Real64 >::multSSE ( const Matrix4x4T< Real64 > &  lhs,
const Matrix4x4T< Real64 > &  rhs 
)

Definition at line 1206 of file Matrix4x4.h.

References agx::mult(), and agx::Matrix4x4T< T >::ptr().

◆ multSSE() [3/3]

template<typename T >
void agx::Matrix4x4T< T >::multSSE ( const Matrix4x4T< T > &  lhs,
const Matrix4x4T< T > &  rhs 
)

◆ multSSE32Implementation()

template<typename T >
void agx::Matrix4x4T< T >::multSSE32Implementation ( Real32 *  out,
const Real32 *  lhs,
const Real32 *  rhs 
)
staticprotected

Definition at line 1116 of file Matrix4x4.h.

References agxAbort1.

◆ multSSE64Implementation()

template<typename T >
void agx::Matrix4x4T< T >::multSSE64Implementation ( Real64 *  out,
const Real64 *  lhs,
const Real64 *  rhs 
)
staticprotected

Definition at line 1188 of file Matrix4x4.h.

References agxAbort1.

◆ operator!=()

template<typename T >
bool agx::Matrix4x4T< T >::operator!= ( const Matrix4x4T< T > &  m) const

Definition at line 877 of file Matrix4x4.h.

References agx::Matrix4x4T< T >::m_data.

◆ operator()() [1/2]

template<typename T >
T & agx::Matrix4x4T< T >::operator() ( size_t  row,
size_t  col 
)

Definition at line 884 of file Matrix4x4.h.

◆ operator()() [2/2]

template<typename T >
T agx::Matrix4x4T< T >::operator() ( size_t  row,
size_t  col 
) const

Definition at line 890 of file Matrix4x4.h.

◆ operator*() [1/3]

template<typename T >
Matrix4x4T< T > agx::Matrix4x4T< T >::operator* ( const Matrix4x4T< T > &  m) const

Definition at line 916 of file Matrix4x4.h.

References agx::Matrix4x4T< T >::mult().

◆ operator*() [2/3]

template<typename T >
Vec3T< T > agx::Matrix4x4T< T >::operator* ( const Vec3T< T > &  v) const

Definition at line 924 of file Matrix4x4.h.

◆ operator*() [3/3]

template<typename T >
Vec4T< T > agx::Matrix4x4T< T >::operator* ( const Vec4T< T > &  v) const

Definition at line 930 of file Matrix4x4.h.

◆ operator*=()

template<typename T >
void agx::Matrix4x4T< T >::operator*= ( const Matrix4x4T< T > &  other)

Definition at line 905 of file Matrix4x4.h.

◆ operator=()

template<typename T >
Matrix4x4T< T > & agx::Matrix4x4T< T >::operator= ( const Matrix4x4T< T > &  rhs)

Definition at line 896 of file Matrix4x4.h.

References agx::Matrix4x4T< T >::ptr().

◆ operator==()

template<typename T >
bool agx::Matrix4x4T< T >::operator== ( const Matrix4x4T< T > &  m) const

Definition at line 870 of file Matrix4x4.h.

References agx::Matrix4x4T< T >::m_data.

◆ postMult() [1/3]

template<typename T >
void agx::Matrix4x4T< T >::postMult ( const Matrix4x4T< T > &  other)

Definition at line 827 of file Matrix4x4.h.

References AGX_MATRIX4X4_INNER_PRODUCT, and AGX_MATRIX4X4_SET_ROW.

◆ postMult() [2/3]

template<typename T >
Vec3T< T > agx::Matrix4x4T< T >::postMult ( const Vec3T< T > &  v) const

Definition at line 1003 of file Matrix4x4.h.

References agx::Vec3T< T >::x(), agx::Vec3T< T >::y(), and agx::Vec3T< T >::z().

◆ postMult() [3/3]

template<typename T >
Vec4T< T > agx::Matrix4x4T< T >::postMult ( const Vec4T< T > &  v) const

◆ postMultTranslate()

template<typename T >
Matrix4x4T< T > & agx::Matrix4x4T< T >::postMultTranslate ( const Vec3T< T > &  v)

Definition at line 857 of file Matrix4x4.h.

◆ preMult() [1/3]

template<typename T >
void agx::Matrix4x4T< T >::preMult ( const Matrix4x4T< T > &  other)

Definition at line 809 of file Matrix4x4.h.

References AGX_MATRIX4X4_INNER_PRODUCT.

◆ preMult() [2/3]

template<typename T >
Vec3T< T > agx::Matrix4x4T< T >::preMult ( const Vec3T< T > &  v) const

Definition at line 1012 of file Matrix4x4.h.

References agx::Vec3T< T >::x(), agx::Vec3T< T >::y(), and agx::Vec3T< T >::z().

Referenced by agx::operator*().

◆ preMult() [3/3]

template<typename T >
Vec4T< T > agx::Matrix4x4T< T >::preMult ( const Vec4T< T > &  v) const

◆ preMultTranslate()

template<typename T >
Matrix4x4T< T > & agx::Matrix4x4T< T >::preMultTranslate ( const Vec3T< T > &  v)

Definition at line 844 of file Matrix4x4.h.

◆ ptr() [1/2]

◆ ptr() [2/2]

template<typename T >
const T * agx::Matrix4x4T< T >::ptr

Definition at line 690 of file Matrix4x4.h.

◆ rotate() [1/4]

template<typename T >
Matrix4x4T< T > agx::Matrix4x4T< T >::rotate ( const Vec3T< T > &  from,
const Vec3T< T > &  to 
)
inlinestatic

Definition at line 731 of file Matrix4x4.h.

References agx::Matrix4x4T< T >::setRotate().

◆ rotate() [2/4]

template<typename T >
Matrix4x4T< T > agx::Matrix4x4T< T >::rotate ( T  angle,
const Vec3T< T > &  axis 
)
static

Definition at line 747 of file Matrix4x4.h.

References agx::Matrix4x4T< T >::setRotate().

◆ rotate() [3/4]

template<typename T >
Matrix4x4T< T > agx::Matrix4x4T< T >::rotate ( T  angle,
T  x,
T  y,
T  z 
)
inlinestatic

Definition at line 739 of file Matrix4x4.h.

References agx::Matrix4x4T< T >::setRotate().

◆ rotate() [4/4]

template<typename T >
Matrix4x4T< T > agx::Matrix4x4T< T >::rotate ( T  angle1,
const Vec3T< T > &  axis1,
T  angle2,
const Vec3T< T > &  axis2,
T  angle3,
const Vec3T< T > &  axis3 
)
static

Definition at line 755 of file Matrix4x4.h.

References agx::Matrix4x4T< T >::setRotate().

◆ set() [1/5]

template<typename T >
Matrix4x4T<T>& agx::Matrix4x4T< T >::set ( const EulerAngles &  e)

◆ set() [2/5]

template<typename T >
Matrix4x4T< T > & agx::Matrix4x4T< T >::set ( const OrthoMatrix3x3 &  m3)

Definition at line 530 of file Matrix4x4.h.

◆ set() [3/5]

template<typename T >
Matrix4x4T< T > & agx::Matrix4x4T< T >::set ( const QuatT< T > &  q)

Definition at line 520 of file Matrix4x4.h.

◆ set() [4/5]

template<typename T >
Matrix4x4T< T > & agx::Matrix4x4T< T >::set ( T  a00,
T  a01,
T  a02,
T  a03,
T  a10,
T  a11,
T  a12,
T  a13,
T  a20,
T  a21,
T  a22,
T  a23,
T  a30,
T  a31,
T  a32,
T  a33 
)

Definition at line 491 of file Matrix4x4.h.

◆ set() [5/5]

template<typename T >
Matrix4x4T< T > & agx::Matrix4x4T< T >::set ( T const *const  ptr)
  • set(arg) sets the entire matrix, overwriting all previous values.
  • setRotate(arg) sets the rotational part of the matrix, leaving the translation intact.
  • setTranslate(arg) sets the translational part, without affecting the rotation.
  • setIdentity() creates the identity matrix

They all return a reference to the updated matrix, enabling chained commands. E.g: matrix.setRotate(q).setTranslate(pos)

Definition at line 483 of file Matrix4x4.h.

Referenced by agx::AffineMatrix4x4T< T >::set().

◆ setCol()

template<typename T >
void agx::Matrix4x4T< T >::setCol ( size_t  col,
const agx::Vec4T< T > &  vec 
)
inline

Definition at line 174 of file Matrix4x4.h.

References agx::Matrix4x4T< T >::m_data.

◆ setIdentity()

template<typename T >
Matrix4x4T< T > & agx::Matrix4x4T< T >::setIdentity

Definition at line 641 of file Matrix4x4.h.

◆ setRotate() [1/7]

template<typename T >
Matrix4x4T<T>& agx::Matrix4x4T< T >::setRotate ( const EulerAngles &  euler)

◆ setRotate() [2/7]

template<typename T >
Matrix4x4T< T > & agx::Matrix4x4T< T >::setRotate ( const OrthoMatrix3x3 &  m3)

Definition at line 541 of file Matrix4x4.h.

◆ setRotate() [3/7]

template<typename T >
Matrix4x4T<T>& agx::Matrix4x4T< T >::setRotate ( const QuatT< T > &  q)

◆ setRotate() [4/7]

template<typename T >
Matrix4x4T< T > & agx::Matrix4x4T< T >::setRotate ( const Vec3T< T > &  from,
const Vec3T< T > &  to 
)

Definition at line 560 of file Matrix4x4.h.

References agx::QuatT< T >::setRotate().

◆ setRotate() [5/7]

template<typename T >
Matrix4x4T< T > & agx::Matrix4x4T< T >::setRotate ( T  angle,
const Vec3T< T > &  axis 
)

Definition at line 569 of file Matrix4x4.h.

References agx::QuatT< T >::setRotate().

◆ setRotate() [6/7]

template<typename T >
Matrix4x4T< T > & agx::Matrix4x4T< T >::setRotate ( T  angle,
T  x,
T  y,
T  z 
)

Definition at line 578 of file Matrix4x4.h.

References agx::QuatT< T >::setRotate().

◆ setRotate() [7/7]

template<typename T >
Matrix4x4T< T > & agx::Matrix4x4T< T >::setRotate ( T  angle1,
const Vec3T< T > &  axis1,
T  angle2,
const Vec3T< T > &  axis2,
T  angle3,
const Vec3T< T > &  axis3 
)

Definition at line 587 of file Matrix4x4.h.

References agx::QuatT< T >::setRotate().

◆ setRow()

template<typename T >
void agx::Matrix4x4T< T >::setRow ( size_t  row,
const agx::Vec4T< T > &  vec 
)
inline

Set the row of the matrix,.

Parameters
rowmust be between [0..3]
vec- value of the row

Definition at line 167 of file Matrix4x4.h.

References agx::Matrix4x4T< T >::m_data.

◆ setTranslate() [1/2]

template<typename T >
Matrix4x4T< T > & agx::Matrix4x4T< T >::setTranslate ( const Vec3T< T > &  t)

Definition at line 600 of file Matrix4x4.h.

Referenced by agx::Matrix4x4T< T >::translate().

◆ setTranslate() [2/2]

template<typename T >
Matrix4x4T< T > & agx::Matrix4x4T< T >::setTranslate ( T  tx,
T  ty,
T  tz 
)

Definition at line 610 of file Matrix4x4.h.

◆ transform3x3() [1/2]

template<typename T >
Vec3T< T > agx::Matrix4x4T< T >::transform3x3 ( const Vec3T< T > &  vIn) const

Definition at line 987 of file Matrix4x4.h.

◆ transform3x3() [2/2]

template<typename T >
Vec3T< T > & agx::Matrix4x4T< T >::transform3x3 ( const Vec3T< T > &  vIn,
Vec3T< T > &  vOut 
) const

◆ transform3x3Inv() [1/2]

template<typename T >
Vec3T< T > agx::Matrix4x4T< T >::transform3x3Inv ( const Vec3T< T > &  vIn) const

Definition at line 995 of file Matrix4x4.h.

◆ transform3x3Inv() [2/2]

template<typename T >
Vec3T< T > & agx::Matrix4x4T< T >::transform3x3Inv ( const Vec3T< T > &  vIn,
Vec3T< T > &  vOut 
) const

◆ translate() [1/2]

template<typename T >
Matrix4x4T< T > agx::Matrix4x4T< T >::translate ( const Vec3T< T > &  dv)
inlinestatic

Definition at line 715 of file Matrix4x4.h.

References agx::Matrix4x4T< T >::setTranslate().

◆ translate() [2/2]

template<typename T >
Matrix4x4T< T > agx::Matrix4x4T< T >::translate ( T  x,
T  y,
T  z 
)
inlinestatic

Definition at line 723 of file Matrix4x4.h.

References agx::Matrix4x4T< T >::setTranslate().

◆ transpose()

template<typename T >
Matrix4x4T< T > agx::Matrix4x4T< T >::transpose
inline
Returns
the transpose

Definition at line 1042 of file Matrix4x4.h.

◆ valid()

template<typename T >
bool agx::Matrix4x4T< T >::valid
Returns
true if the matrix is a valid one.

Definition at line 413 of file Matrix4x4.h.

References agx::isNaN().

Member Data Documentation

◆ m_data


The documentation for this class was generated from the following files: