HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Matrix44< T > Class Template Reference

#include <ImathForward.h>

Public Types

typedef T BaseType
 
typedef Vec4< TBaseVecType
 

Public Member Functions

Toperator[] (int i)
 
const Toperator[] (int i) const
 
 Matrix44 (Uninitialized)
 
 Matrix44 ()
 
 Matrix44 (T a)
 
 Matrix44 (const T a[4][4])
 
 Matrix44 (T a, T b, T c, T d, T e, T f, T g, T h, T i, T j, T k, T l, T m, T n, T o, T p)
 
 Matrix44 (Matrix33< T > r, Vec3< T > t)
 
 Matrix44 (const Matrix44 &v)
 
template<class S >
 Matrix44 (const Matrix44< S > &v)
 
const Matrix44operator= (const Matrix44 &v)
 
const Matrix44operator= (T a)
 
TgetValue ()
 
const TgetValue () const
 
template<class S >
void getValue (Matrix44< S > &v) const
 
template<class S >
Matrix44setValue (const Matrix44< S > &v)
 
template<class S >
Matrix44setTheMatrix (const Matrix44< S > &v)
 
void makeIdentity ()
 
bool operator== (const Matrix44 &v) const
 
bool operator!= (const Matrix44 &v) const
 
bool equalWithAbsError (const Matrix44< T > &v, T e) const
 
bool equalWithRelError (const Matrix44< T > &v, T e) const
 
const Matrix44operator+= (const Matrix44 &v)
 
const Matrix44operator+= (T a)
 
Matrix44 operator+ (const Matrix44 &v) const
 
const Matrix44operator-= (const Matrix44 &v)
 
const Matrix44operator-= (T a)
 
Matrix44 operator- (const Matrix44 &v) const
 
Matrix44 operator- () const
 
const Matrix44negate ()
 
const Matrix44operator*= (T a)
 
Matrix44 operator* (T a) const
 
const Matrix44operator*= (const Matrix44 &v)
 
Matrix44 operator* (const Matrix44 &v) const
 
template<class S >
void multVecMatrix (const Vec3< S > &src, Vec3< S > &dst) const
 
template<class S >
void multDirMatrix (const Vec3< S > &src, Vec3< S > &dst) const
 
const Matrix44operator/= (T a)
 
Matrix44 operator/ (T a) const
 
const Matrix44transpose ()
 
Matrix44 transposed () const
 
const Matrix44invert (bool singExc=false)
 
Matrix44< Tinverse (bool singExc=false) const
 
const Matrix44gjInvert (bool singExc=false)
 
Matrix44< TgjInverse (bool singExc=false) const
 
T minorOf (const int r, const int c) const
 
T fastMinor (const int r0, const int r1, const int r2, const int c0, const int c1, const int c2) const
 
T determinant () const
 
template<class S >
const Matrix44setEulerAngles (const Vec3< S > &r)
 
template<class S >
const Matrix44setAxisAngle (const Vec3< S > &ax, S ang)
 
template<class S >
const Matrix44rotate (const Vec3< S > &r)
 
const Matrix44setScale (T s)
 
template<class S >
const Matrix44setScale (const Vec3< S > &s)
 
template<class S >
const Matrix44scale (const Vec3< S > &s)
 
template<class S >
const Matrix44setTranslation (const Vec3< S > &t)
 
const Vec3< Ttranslation () const
 
template<class S >
const Matrix44translate (const Vec3< S > &t)
 
template<class S >
const Matrix44setShear (const Vec3< S > &h)
 
template<class S >
const Matrix44setShear (const Shear6< S > &h)
 
template<class S >
const Matrix44shear (const Vec3< S > &h)
 
template<class S >
const Matrix44shear (const Shear6< S > &h)
 
template<class S >
Matrix44< T > & setValue (const Matrix44< S > &v)
 
template<class S >
Matrix44< T > & setTheMatrix (const Matrix44< S > &v)
 
template<class S >
const Matrix44< T > & setEulerAngles (const Vec3< S > &r)
 
template<class S >
const Matrix44< T > & setAxisAngle (const Vec3< S > &axis, S angle)
 
template<class S >
const Matrix44< T > & rotate (const Vec3< S > &r)
 
template<class S >
const Matrix44< T > & setScale (const Vec3< S > &s)
 
template<class S >
const Matrix44< T > & scale (const Vec3< S > &s)
 
template<class S >
const Matrix44< T > & setTranslation (const Vec3< S > &t)
 
template<class S >
const Matrix44< T > & translate (const Vec3< S > &t)
 
template<class S >
const Matrix44< T > & setShear (const Vec3< S > &h)
 
template<class S >
const Matrix44< T > & setShear (const Shear6< S > &h)
 
template<class S >
const Matrix44< T > & shear (const Vec3< S > &h)
 
template<class S >
const Matrix44< T > & shear (const Shear6< S > &h)
 

Static Public Member Functions

static void multiply (const Matrix44 &a, const Matrix44 &b, Matrix44 &c)
 
static unsigned int dimensions ()
 
static T baseTypeMin ()
 
static T baseTypeMax ()
 
static T baseTypeSmallest ()
 
static T baseTypeEpsilon ()
 

Public Attributes

T x [4][4]
 

Detailed Description

template<class T>
class Matrix44< T >

Definition at line 55 of file ImathForward.h.

Member Typedef Documentation

template<class T>
typedef T Matrix44< T >::BaseType

Definition at line 801 of file ImathMatrix.h.

template<class T>
typedef Vec4<T> Matrix44< T >::BaseVecType

Definition at line 802 of file ImathMatrix.h.

Constructor & Destructor Documentation

template<class T>
Matrix44< T >::Matrix44 ( Uninitialized  )
inline

Definition at line 443 of file ImathMatrix.h.

template<class T >
Matrix44< T >::Matrix44 ( )
inline

Definition at line 1894 of file ImathMatrix.h.

template<class T >
Matrix44< T >::Matrix44 ( T  a)
inline

Definition at line 1905 of file ImathMatrix.h.

template<class T >
Matrix44< T >::Matrix44 ( const T  a[4][4])
inline

Definition at line 1927 of file ImathMatrix.h.

template<class T >
Matrix44< T >::Matrix44 ( T  a,
T  b,
T  c,
T  d,
T  e,
T  f,
T  g,
T  h,
T  i,
T  j,
T  k,
T  l,
T  m,
T  n,
T  o,
T  p 
)
inline

Definition at line 1934 of file ImathMatrix.h.

template<class T >
Matrix44< T >::Matrix44 ( Matrix33< T r,
Vec3< T t 
)
inline

Definition at line 1958 of file ImathMatrix.h.

template<class T >
Matrix44< T >::Matrix44 ( const Matrix44< T > &  v)
inline

Definition at line 1980 of file ImathMatrix.h.

template<class T >
template<class S >
Matrix44< T >::Matrix44 ( const Matrix44< S > &  v)
inlineexplicit

Definition at line 2003 of file ImathMatrix.h.

Member Function Documentation

template<class T>
static T Matrix44< T >::baseTypeEpsilon ( )
inlinestatic

Definition at line 799 of file ImathMatrix.h.

template<class T>
static T Matrix44< T >::baseTypeMax ( )
inlinestatic

Definition at line 797 of file ImathMatrix.h.

template<class T>
static T Matrix44< T >::baseTypeMin ( )
inlinestatic

Definition at line 796 of file ImathMatrix.h.

template<class T>
static T Matrix44< T >::baseTypeSmallest ( )
inlinestatic

Definition at line 798 of file ImathMatrix.h.

template<class T >
T Matrix44< T >::determinant ( ) const
inline

Definition at line 2911 of file ImathMatrix.h.

template<class T>
static unsigned int Matrix44< T >::dimensions ( )
inlinestatic

Definition at line 774 of file ImathMatrix.h.

template<class T >
bool Matrix44< T >::equalWithAbsError ( const Matrix44< T > &  v,
T  e 
) const

Definition at line 2234 of file ImathMatrix.h.

template<class T >
bool Matrix44< T >::equalWithRelError ( const Matrix44< T > &  v,
T  e 
) const

Definition at line 2246 of file ImathMatrix.h.

template<class T >
T Matrix44< T >::fastMinor ( const int  r0,
const int  r1,
const int  r2,
const int  c0,
const int  c1,
const int  c2 
) const
inline

Definition at line 2883 of file ImathMatrix.h.

template<class T >
T * Matrix44< T >::getValue ( )
inline

Definition at line 2071 of file ImathMatrix.h.

template<class T >
const T * Matrix44< T >::getValue ( ) const
inline

Definition at line 2078 of file ImathMatrix.h.

template<class T >
template<class S >
void Matrix44< T >::getValue ( Matrix44< S > &  v) const
inline

Definition at line 2086 of file ImathMatrix.h.

template<class T >
Matrix44< T > Matrix44< T >::gjInverse ( bool  singExc = false) const

Definition at line 2702 of file ImathMatrix.h.

template<class T >
const Matrix44< T > & Matrix44< T >::gjInvert ( bool  singExc = false)

Definition at line 2694 of file ImathMatrix.h.

template<class T >
Matrix44< T > Matrix44< T >::inverse ( bool  singExc = false) const

Definition at line 2814 of file ImathMatrix.h.

template<class T >
const Matrix44< T > & Matrix44< T >::invert ( bool  singExc = false)

Definition at line 2806 of file ImathMatrix.h.

template<class T >
void Matrix44< T >::makeIdentity ( )
inline

Definition at line 2179 of file ImathMatrix.h.

template<class T >
T Matrix44< T >::minorOf ( const int  r,
const int  c 
) const
inline

Definition at line 2893 of file ImathMatrix.h.

template<class T >
template<class S >
void Matrix44< T >::multDirMatrix ( const Vec3< S > &  src,
Vec3< S > &  dst 
) const

Definition at line 2587 of file ImathMatrix.h.

template<class T >
void Matrix44< T >::multiply ( const Matrix44< T > &  a,
const Matrix44< T > &  b,
Matrix44< T > &  c 
)
static

Definition at line 2518 of file ImathMatrix.h.

template<class T >
template<class S >
void Matrix44< T >::multVecMatrix ( const Vec3< S > &  src,
Vec3< S > &  dst 
) const

Definition at line 2571 of file ImathMatrix.h.

template<class T >
const Matrix44< T > & Matrix44< T >::negate ( )

Definition at line 2420 of file ImathMatrix.h.

template<class T >
bool Matrix44< T >::operator!= ( const Matrix44< T > &  v) const

Definition at line 2212 of file ImathMatrix.h.

template<class T >
Matrix44< T > Matrix44< T >::operator* ( T  a) const

Definition at line 2468 of file ImathMatrix.h.

template<class T >
Matrix44< T > Matrix44< T >::operator* ( const Matrix44< T > &  v) const
inline

Definition at line 2508 of file ImathMatrix.h.

template<class T >
const Matrix44< T > & Matrix44< T >::operator*= ( T  a)

Definition at line 2444 of file ImathMatrix.h.

template<class T >
const Matrix44< T > & Matrix44< T >::operator*= ( const Matrix44< T > &  v)
inline

Definition at line 2497 of file ImathMatrix.h.

template<class T >
Matrix44< T > Matrix44< T >::operator+ ( const Matrix44< T > &  v) const

Definition at line 2306 of file ImathMatrix.h.

template<class T >
const Matrix44< T > & Matrix44< T >::operator+= ( const Matrix44< T > &  v)

Definition at line 2258 of file ImathMatrix.h.

template<class T >
const Matrix44< T > & Matrix44< T >::operator+= ( T  a)

Definition at line 2282 of file ImathMatrix.h.

template<class T >
Matrix44< T > Matrix44< T >::operator- ( const Matrix44< T > &  v) const

Definition at line 2376 of file ImathMatrix.h.

template<class T >
Matrix44< T > Matrix44< T >::operator- ( ) const

Definition at line 2398 of file ImathMatrix.h.

template<class T >
const Matrix44< T > & Matrix44< T >::operator-= ( const Matrix44< T > &  v)

Definition at line 2328 of file ImathMatrix.h.

template<class T >
const Matrix44< T > & Matrix44< T >::operator-= ( T  a)

Definition at line 2352 of file ImathMatrix.h.

template<class T >
Matrix44< T > Matrix44< T >::operator/ ( T  a) const

Definition at line 2626 of file ImathMatrix.h.

template<class T >
const Matrix44< T > & Matrix44< T >::operator/= ( T  a)

Definition at line 2602 of file ImathMatrix.h.

template<class T >
const Matrix44< T > & Matrix44< T >::operator= ( const Matrix44< T > &  v)
inline

Definition at line 2025 of file ImathMatrix.h.

template<class T >
const Matrix44< T > & Matrix44< T >::operator= ( T  a)
inline

Definition at line 2048 of file ImathMatrix.h.

template<class T >
bool Matrix44< T >::operator== ( const Matrix44< T > &  v) const

Definition at line 2190 of file ImathMatrix.h.

template<class T >
T * Matrix44< T >::operator[] ( int  i)
inline

Definition at line 1880 of file ImathMatrix.h.

template<class T >
const T * Matrix44< T >::operator[] ( int  i) const
inline

Definition at line 1887 of file ImathMatrix.h.

template<class T>
template<class S >
const Matrix44& Matrix44< T >::rotate ( const Vec3< S > &  r)
template<class T>
template<class S >
const Matrix44<T>& Matrix44< T >::rotate ( const Vec3< S > &  r)

Definition at line 2996 of file ImathMatrix.h.

template<class T>
template<class S >
const Matrix44& Matrix44< T >::scale ( const Vec3< S > &  s)
template<class T>
template<class S >
const Matrix44<T>& Matrix44< T >::scale ( const Vec3< S > &  s)

Definition at line 3071 of file ImathMatrix.h.

template<class T>
template<class S >
const Matrix44& Matrix44< T >::setAxisAngle ( const Vec3< S > &  ax,
S  ang 
)
template<class T>
template<class S >
const Matrix44<T>& Matrix44< T >::setAxisAngle ( const Vec3< S > &  axis,
S  angle 
)

Definition at line 2964 of file ImathMatrix.h.

template<class T>
template<class S >
const Matrix44& Matrix44< T >::setEulerAngles ( const Vec3< S > &  r)
template<class T>
template<class S >
const Matrix44<T>& Matrix44< T >::setEulerAngles ( const Vec3< S > &  r)

Definition at line 2926 of file ImathMatrix.h.

template<class T >
const Matrix44< T > & Matrix44< T >::setScale ( T  s)

Definition at line 3043 of file ImathMatrix.h.

template<class T>
template<class S >
const Matrix44& Matrix44< T >::setScale ( const Vec3< S > &  s)
template<class T>
template<class S >
const Matrix44<T>& Matrix44< T >::setScale ( const Vec3< S > &  s)

Definition at line 3057 of file ImathMatrix.h.

template<class T>
template<class S >
const Matrix44& Matrix44< T >::setShear ( const Vec3< S > &  h)
template<class T>
template<class S >
const Matrix44& Matrix44< T >::setShear ( const Shear6< S > &  h)
template<class T>
template<class S >
const Matrix44<T>& Matrix44< T >::setShear ( const Vec3< S > &  h)

Definition at line 3142 of file ImathMatrix.h.

template<class T>
template<class S >
const Matrix44<T>& Matrix44< T >::setShear ( const Shear6< S > &  h)

Definition at line 3170 of file ImathMatrix.h.

template<class T>
template<class S >
Matrix44& Matrix44< T >::setTheMatrix ( const Matrix44< S > &  v)
template<class T>
template<class S >
Matrix44<T>& Matrix44< T >::setTheMatrix ( const Matrix44< S > &  v)
inline

Definition at line 2148 of file ImathMatrix.h.

template<class T>
template<class S >
const Matrix44& Matrix44< T >::setTranslation ( const Vec3< S > &  t)
template<class T>
template<class S >
const Matrix44<T>& Matrix44< T >::setTranslation ( const Vec3< S > &  t)

Definition at line 3094 of file ImathMatrix.h.

template<class T>
template<class S >
Matrix44& Matrix44< T >::setValue ( const Matrix44< S > &  v)
template<class T>
template<class S >
Matrix44<T>& Matrix44< T >::setValue ( const Matrix44< S > &  v)
inline

Definition at line 2116 of file ImathMatrix.h.

template<class T>
template<class S >
const Matrix44& Matrix44< T >::shear ( const Vec3< S > &  h)
template<class T>
template<class S >
const Matrix44& Matrix44< T >::shear ( const Shear6< S > &  h)
template<class T>
template<class S >
const Matrix44<T>& Matrix44< T >::shear ( const Vec3< S > &  h)

Definition at line 3198 of file ImathMatrix.h.

template<class T>
template<class S >
const Matrix44<T>& Matrix44< T >::shear ( const Shear6< S > &  h)

Definition at line 3218 of file ImathMatrix.h.

template<class T>
template<class S >
const Matrix44& Matrix44< T >::translate ( const Vec3< S > &  t)
template<class T>
template<class S >
const Matrix44<T>& Matrix44< T >::translate ( const Vec3< S > &  t)

Definition at line 3129 of file ImathMatrix.h.

template<class T >
const Vec3< T > Matrix44< T >::translation ( ) const
inline

Definition at line 3121 of file ImathMatrix.h.

template<class T >
const Matrix44< T > & Matrix44< T >::transpose ( )

Definition at line 2648 of file ImathMatrix.h.

template<class T >
Matrix44< T > Matrix44< T >::transposed ( ) const

Definition at line 2672 of file ImathMatrix.h.

Member Data Documentation

template<class T>
T Matrix44< T >::x[4][4]

Definition at line 433 of file ImathMatrix.h.


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