AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
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 ()=default
 Creates a new matrix, initialized to be an identity matrix.
 
 Matrix4x4T (const EulerAngles &rotation, const Vec3T< T > &translation=Vec3T< T >())
 Create a matrix from Euler angles.
 
 Matrix4x4T (const Matrix4x4T< T > &)=default
 
template<typename T2 , std::enable_if_t< std::is_same< T, T2 >::value==0, bool > = false>
 Matrix4x4T (const Matrix4x4T< T2 > &mat)
 Copy constructor.
 
 Matrix4x4T (const OrthoMatrix3x3 &rotation, const Vec3T< T > &translation=Vec3T< T >())
 Create a matrix from a 3x3 rotation matrix.
 
 Matrix4x4T (const QuatT< T > &rotation, const Vec3T< T > &translation=Vec3T< T >())
 Create a matrix from a quaternion.
 
 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.
 
 Matrix4x4T (T const *const ptr)
 Create a matrix from a vector of 16 reals.
 
 ~Matrix4x4T ()=default
 Destructor.
 
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
 Return a quaternion of the rotation part of this matrix (real part > 0 by convention)
 
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.
 
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)=default
 
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,.
 
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.
 
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] = {{1,0,0,0}, {0,1,0,0}, {0,0,1,0}, {0,0,0,1}}
 

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 57 of file Matrix4x4.h.

Member Typedef Documentation

◆ Type

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

Definition at line 60 of file Matrix4x4.h.

Constructor & Destructor Documentation

◆ Matrix4x4T() [1/8]

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

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

◆ Matrix4x4T() [2/8]

template<typename T >
agx::Matrix4x4T< T >::Matrix4x4T ( const Matrix4x4T< T > &  )
default

◆ Matrix4x4T() [3/8]

template<typename T >
template<typename T2 , std::enable_if_t< std::is_same< T, T2 >::value==0, bool > >
agx::Matrix4x4T< T >::Matrix4x4T ( const Matrix4x4T< T2 > &  mat)
explicit

Copy constructor.

Definition at line 342 of file Matrix4x4.h.

◆ Matrix4x4T() [4/8]

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

Create a matrix from a vector of 16 reals.

Definition at line 395 of file Matrix4x4.h.

◆ Matrix4x4T() [5/8]

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 402 of file Matrix4x4.h.

◆ Matrix4x4T() [6/8]

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

Create a matrix from Euler angles.

◆ Matrix4x4T() [7/8]

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 410 of file Matrix4x4.h.

◆ Matrix4x4T() [8/8]

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 367 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 631 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 641 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 715 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 678 of file Matrix4x4.h.

◆ get() [3/3]

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

Return 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 199 of file Matrix4x4.h.

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

◆ getRotate()

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

Definition at line 670 of file Matrix4x4.h.

◆ getRow()

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

Definition at line 189 of file Matrix4x4.h.

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

◆ getTranslate()

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

Definition at line 663 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 1054 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 445 of file Matrix4x4.h.

◆ isIdentity()

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

Definition at line 458 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 431 of file Matrix4x4.h.

◆ isRigidTransformation()

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

Definition at line 464 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 1198 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 1208 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 1118 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 1190 of file Matrix4x4.h.

References agxAbort1.

◆ operator!=()

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

Definition at line 888 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 895 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 901 of file Matrix4x4.h.

◆ operator*() [1/3]

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

Definition at line 918 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 926 of file Matrix4x4.h.

◆ operator*() [3/3]

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

Definition at line 932 of file Matrix4x4.h.

◆ operator*=()

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

Definition at line 907 of file Matrix4x4.h.

◆ operator=()

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

◆ operator==()

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

Definition at line 881 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 838 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 1005 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 868 of file Matrix4x4.h.

◆ preMult() [1/3]

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

Definition at line 820 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 1014 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 855 of file Matrix4x4.h.

◆ ptr() [1/2]

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

◆ ptr() [2/2]

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

Definition at line 701 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 742 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 758 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 750 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 766 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 541 of file Matrix4x4.h.

◆ set() [3/5]

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

Definition at line 531 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 502 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 494 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 182 of file Matrix4x4.h.

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

◆ setIdentity()

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

Definition at line 652 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 552 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 571 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 580 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 589 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 598 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 175 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 611 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 621 of file Matrix4x4.h.

◆ transform3x3() [1/2]

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

Definition at line 989 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 997 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 726 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 734 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 1044 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 424 of file Matrix4x4.h.

References agx::isNaN().

Member Data Documentation

◆ m_data


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