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

#include <ImathForward.h>

Public Types

typedef T BaseType
 
typedef Vec3< TBaseVecType
 

Public Member Functions

Toperator[] (int i)
 
const Toperator[] (int i) const
 
 Matrix33 (Uninitialized)
 
 Matrix33 ()
 
 Matrix33 (T a)
 
 Matrix33 (const T a[3][3])
 
 Matrix33 (T a, T b, T c, T d, T e, T f, T g, T h, T i)
 
 Matrix33 (const Matrix33 &v)
 
template<class S >
 Matrix33 (const Matrix33< S > &v)
 
const Matrix33operator= (const Matrix33 &v)
 
const Matrix33operator= (T a)
 
TgetValue ()
 
const TgetValue () const
 
template<class S >
void getValue (Matrix33< S > &v) const
 
template<class S >
Matrix33setValue (const Matrix33< S > &v)
 
template<class S >
Matrix33setTheMatrix (const Matrix33< S > &v)
 
void makeIdentity ()
 
bool operator== (const Matrix33 &v) const
 
bool operator!= (const Matrix33 &v) const
 
bool equalWithAbsError (const Matrix33< T > &v, T e) const
 
bool equalWithRelError (const Matrix33< T > &v, T e) const
 
const Matrix33operator+= (const Matrix33 &v)
 
const Matrix33operator+= (T a)
 
Matrix33 operator+ (const Matrix33 &v) const
 
const Matrix33operator-= (const Matrix33 &v)
 
const Matrix33operator-= (T a)
 
Matrix33 operator- (const Matrix33 &v) const
 
Matrix33 operator- () const
 
const Matrix33negate ()
 
const Matrix33operator*= (T a)
 
Matrix33 operator* (T a) const
 
const Matrix33operator*= (const Matrix33 &v)
 
Matrix33 operator* (const Matrix33 &v) const
 
template<class S >
void multVecMatrix (const Vec2< S > &src, Vec2< S > &dst) const
 
template<class S >
void multDirMatrix (const Vec2< S > &src, Vec2< S > &dst) const
 
const Matrix33operator/= (T a)
 
Matrix33 operator/ (T a) const
 
const Matrix33transpose ()
 
Matrix33 transposed () const
 
const Matrix33invert (bool singExc=false) throw (IEX_NAMESPACE::MathExc)
 
Matrix33< Tinverse (bool singExc=false) const throw (IEX_NAMESPACE::MathExc)
 
const Matrix33gjInvert (bool singExc=false) throw (IEX_NAMESPACE::MathExc)
 
Matrix33< TgjInverse (bool singExc=false) const throw (IEX_NAMESPACE::MathExc)
 
T minorOf (const int r, const int c) const
 
T fastMinor (const int r0, const int r1, const int c0, const int c1) const
 
T determinant () const
 
template<class S >
const Matrix33setRotation (S r)
 
template<class S >
const Matrix33rotate (S r)
 
const Matrix33setScale (T s)
 
template<class S >
const Matrix33setScale (const Vec2< S > &s)
 
template<class S >
const Matrix33scale (const Vec2< S > &s)
 
template<class S >
const Matrix33setTranslation (const Vec2< S > &t)
 
Vec2< Ttranslation () const
 
template<class S >
const Matrix33translate (const Vec2< S > &t)
 
template<class S >
const Matrix33setShear (const S &h)
 
template<class S >
const Matrix33setShear (const Vec2< S > &h)
 
template<class S >
const Matrix33shear (const S &xy)
 
template<class S >
const Matrix33shear (const Vec2< S > &h)
 
template<class S >
Matrix33< T > & setValue (const Matrix33< S > &v)
 
template<class S >
Matrix33< T > & setTheMatrix (const Matrix33< S > &v)
 
template<class S >
const Matrix33< T > & setRotation (S r)
 
template<class S >
const Matrix33< T > & rotate (S r)
 
template<class S >
const Matrix33< T > & setScale (const Vec2< S > &s)
 
template<class S >
const Matrix33< T > & scale (const Vec2< S > &s)
 
template<class S >
const Matrix33< T > & setTranslation (const Vec2< S > &t)
 
template<class S >
const Matrix33< T > & translate (const Vec2< S > &t)
 
template<class S >
const Matrix33< T > & setShear (const S &xy)
 
template<class S >
const Matrix33< T > & setShear (const Vec2< S > &h)
 
template<class S >
const Matrix33< T > & shear (const S &xy)
 
template<class S >
const Matrix33< T > & shear (const Vec2< S > &h)
 

Static Public Member Functions

static unsigned int dimensions ()
 
static T baseTypeMin ()
 
static T baseTypeMax ()
 
static T baseTypeSmallest ()
 
static T baseTypeEpsilon ()
 

Public Attributes

T x [3][3]
 

Detailed Description

template<class T>
class Matrix33< T >

Definition at line 54 of file ImathForward.h.

Member Typedef Documentation

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

Definition at line 410 of file ImathMatrix.h.

template<class T>
typedef Vec3<T> Matrix33< T >::BaseVecType

Definition at line 411 of file ImathMatrix.h.

Constructor & Destructor Documentation

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

Definition at line 87 of file ImathMatrix.h.

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

Definition at line 897 of file ImathMatrix.h.

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

Definition at line 907 of file ImathMatrix.h.

template<class T >
Matrix33< T >::Matrix33 ( const T  a[3][3])
inline

Definition at line 922 of file ImathMatrix.h.

template<class T >
Matrix33< T >::Matrix33 ( T  a,
T  b,
T  c,
T  d,
T  e,
T  f,
T  g,
T  h,
T  i 
)
inline

Definition at line 929 of file ImathMatrix.h.

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

Definition at line 944 of file ImathMatrix.h.

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

Definition at line 952 of file ImathMatrix.h.

Member Function Documentation

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

Definition at line 408 of file ImathMatrix.h.

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

Definition at line 406 of file ImathMatrix.h.

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

Definition at line 405 of file ImathMatrix.h.

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

Definition at line 407 of file ImathMatrix.h.

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

Definition at line 1684 of file ImathMatrix.h.

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

Definition at line 398 of file ImathMatrix.h.

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

Definition at line 1118 of file ImathMatrix.h.

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

Definition at line 1130 of file ImathMatrix.h.

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

Definition at line 1676 of file ImathMatrix.h.

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

Definition at line 991 of file ImathMatrix.h.

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

Definition at line 998 of file ImathMatrix.h.

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

Definition at line 1006 of file ImathMatrix.h.

template<class T >
Matrix33< T > Matrix33< T >::gjInverse ( bool  singExc = false) const
throw (IEX_NAMESPACE::MathExc
)

Definition at line 1441 of file ImathMatrix.h.

template<class T >
const Matrix33< T > & Matrix33< T >::gjInvert ( bool  singExc = false)
throw (IEX_NAMESPACE::MathExc
)

Definition at line 1433 of file ImathMatrix.h.

template<class T >
Matrix33< T > Matrix33< T >::inverse ( bool  singExc = false) const
throw (IEX_NAMESPACE::MathExc
)

Definition at line 1553 of file ImathMatrix.h.

template<class T >
const Matrix33< T > & Matrix33< T >::invert ( bool  singExc = false)
throw (IEX_NAMESPACE::MathExc
)

Definition at line 1545 of file ImathMatrix.h.

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

Definition at line 1078 of file ImathMatrix.h.

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

Definition at line 1664 of file ImathMatrix.h.

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

Definition at line 1356 of file ImathMatrix.h.

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

Definition at line 1341 of file ImathMatrix.h.

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

Definition at line 1255 of file ImathMatrix.h.

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

Definition at line 1103 of file ImathMatrix.h.

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

Definition at line 1289 of file ImathMatrix.h.

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

Definition at line 1326 of file ImathMatrix.h.

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

Definition at line 1272 of file ImathMatrix.h.

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

Definition at line 1311 of file ImathMatrix.h.

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

Definition at line 1176 of file ImathMatrix.h.

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

Definition at line 1142 of file ImathMatrix.h.

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

Definition at line 1159 of file ImathMatrix.h.

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

Definition at line 1225 of file ImathMatrix.h.

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

Definition at line 1240 of file ImathMatrix.h.

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

Definition at line 1191 of file ImathMatrix.h.

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

Definition at line 1208 of file ImathMatrix.h.

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

Definition at line 1386 of file ImathMatrix.h.

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

Definition at line 1369 of file ImathMatrix.h.

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

Definition at line 967 of file ImathMatrix.h.

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

Definition at line 975 of file ImathMatrix.h.

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

Definition at line 1088 of file ImathMatrix.h.

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

Definition at line 883 of file ImathMatrix.h.

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

Definition at line 890 of file ImathMatrix.h.

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

Definition at line 1719 of file ImathMatrix.h.

template<class T>
template<class S >
const Matrix33& Matrix33< T >::scale ( const Vec2< S > &  s)
template<class T>
template<class S >
const Matrix33<T>& Matrix33< T >::scale ( const Vec2< S > &  s)

Definition at line 1753 of file ImathMatrix.h.

template<class T>
template<class S >
const Matrix33& Matrix33< T >::setRotation ( S  r)
template<class T>
template<class S >
const Matrix33<T>& Matrix33< T >::setRotation ( S  r)

Definition at line 1694 of file ImathMatrix.h.

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

Definition at line 1727 of file ImathMatrix.h.

template<class T>
template<class S >
const Matrix33& Matrix33< T >::setScale ( const Vec2< S > &  s)
template<class T>
template<class S >
const Matrix33<T>& Matrix33< T >::setScale ( const Vec2< S > &  s)

Definition at line 1740 of file ImathMatrix.h.

template<class T>
template<class S >
const Matrix33& Matrix33< T >::setShear ( const S h)
template<class T>
template<class S >
const Matrix33& Matrix33< T >::setShear ( const Vec2< S > &  h)
template<class T>
template<class S >
const Matrix33<T>& Matrix33< T >::setShear ( const S xy)

Definition at line 1808 of file ImathMatrix.h.

template<class T>
template<class S >
const Matrix33<T>& Matrix33< T >::setShear ( const Vec2< S > &  h)

Definition at line 1828 of file ImathMatrix.h.

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

Definition at line 1054 of file ImathMatrix.h.

template<class T>
template<class S >
const Matrix33& Matrix33< T >::setTranslation ( const Vec2< S > &  t)
template<class T>
template<class S >
const Matrix33<T>& Matrix33< T >::setTranslation ( const Vec2< S > &  t)

Definition at line 1769 of file ImathMatrix.h.

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

Definition at line 1029 of file ImathMatrix.h.

template<class T>
template<class S >
const Matrix33& Matrix33< T >::shear ( const S xy)
template<class T>
template<class S >
const Matrix33& Matrix33< T >::shear ( const Vec2< S > &  h)
template<class T>
template<class S >
const Matrix33<T>& Matrix33< T >::shear ( const S xy)

Definition at line 1848 of file ImathMatrix.h.

template<class T>
template<class S >
const Matrix33<T>& Matrix33< T >::shear ( const Vec2< S > &  h)

Definition at line 1866 of file ImathMatrix.h.

template<class T>
template<class S >
const Matrix33& Matrix33< T >::translate ( const Vec2< S > &  t)
template<class T>
template<class S >
const Matrix33<T>& Matrix33< T >::translate ( const Vec2< S > &  t)

Definition at line 1796 of file ImathMatrix.h.

template<class T >
Vec2< T > Matrix33< T >::translation ( ) const
inline

Definition at line 1788 of file ImathMatrix.h.

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

Definition at line 1401 of file ImathMatrix.h.

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

Definition at line 1418 of file ImathMatrix.h.

Member Data Documentation

template<class T>
T Matrix33< T >::x[3][3]

Definition at line 77 of file ImathMatrix.h.


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