HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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)
 
Matrix33< Tinverse (bool singExc=false) const
 
const Matrix33gjInvert (bool singExc=false)
 
Matrix33< TgjInverse (bool singExc=false) const
 
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 406 of file ImathMatrix.h.

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

Definition at line 407 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 889 of file ImathMatrix.h.

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

Definition at line 899 of file ImathMatrix.h.

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

Definition at line 914 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 921 of file ImathMatrix.h.

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

Definition at line 936 of file ImathMatrix.h.

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

Definition at line 944 of file ImathMatrix.h.

Member Function Documentation

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

Definition at line 404 of file ImathMatrix.h.

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

Definition at line 402 of file ImathMatrix.h.

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

Definition at line 401 of file ImathMatrix.h.

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

Definition at line 403 of file ImathMatrix.h.

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

Definition at line 1676 of file ImathMatrix.h.

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

Definition at line 394 of file ImathMatrix.h.

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

Definition at line 1110 of file ImathMatrix.h.

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

Definition at line 1122 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 1668 of file ImathMatrix.h.

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

Definition at line 983 of file ImathMatrix.h.

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

Definition at line 990 of file ImathMatrix.h.

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

Definition at line 998 of file ImathMatrix.h.

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

Definition at line 1433 of file ImathMatrix.h.

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

Definition at line 1425 of file ImathMatrix.h.

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

Definition at line 1545 of file ImathMatrix.h.

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

Definition at line 1537 of file ImathMatrix.h.

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

Definition at line 1070 of file ImathMatrix.h.

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

Definition at line 1656 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 1348 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 1333 of file ImathMatrix.h.

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

Definition at line 1247 of file ImathMatrix.h.

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

Definition at line 1095 of file ImathMatrix.h.

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

Definition at line 1281 of file ImathMatrix.h.

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

Definition at line 1318 of file ImathMatrix.h.

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

Definition at line 1264 of file ImathMatrix.h.

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

Definition at line 1303 of file ImathMatrix.h.

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

Definition at line 1168 of file ImathMatrix.h.

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

Definition at line 1134 of file ImathMatrix.h.

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

Definition at line 1151 of file ImathMatrix.h.

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

Definition at line 1217 of file ImathMatrix.h.

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

Definition at line 1232 of file ImathMatrix.h.

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

Definition at line 1183 of file ImathMatrix.h.

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

Definition at line 1200 of file ImathMatrix.h.

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

Definition at line 1378 of file ImathMatrix.h.

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

Definition at line 1361 of file ImathMatrix.h.

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

Definition at line 959 of file ImathMatrix.h.

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

Definition at line 967 of file ImathMatrix.h.

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

Definition at line 1080 of file ImathMatrix.h.

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

Definition at line 875 of file ImathMatrix.h.

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

Definition at line 882 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 1711 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 1745 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 1686 of file ImathMatrix.h.

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

Definition at line 1719 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 1732 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 1800 of file ImathMatrix.h.

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

Definition at line 1820 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 1046 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 1761 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 1021 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 1840 of file ImathMatrix.h.

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

Definition at line 1858 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 1788 of file ImathMatrix.h.

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

Definition at line 1780 of file ImathMatrix.h.

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

Definition at line 1393 of file ImathMatrix.h.

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

Definition at line 1410 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: