Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::Matrix3< T > Class Template Reference

#include "OVR_Math.h"

Collaboration diagram for OVR::Matrix3< T >:
Collaboration graph

Public Types

enum  NoInitType { NoInit }
 

Public Member Functions

 Matrix3 (NoInitType)
 
 Matrix3 ()
 
 Matrix3 (T m11, T m12, T m13, T m21, T m22, T m23, T m31, T m32, T m33)
 
 Matrix3 (const Quat< T > &q)
 
 Matrix3 (T s)
 
 Matrix3 (const Transform< T > &p)
 
 Matrix3 (const Matrix4< typename Math< T >::OtherFloatType > &src)
 
 Matrix3 (const typename CompatibleTypes< Matrix3< T > >::Type &s)
 
 operator typename CompatibleTypes< Matrix3< T > >::Type () const
 
void ToString (char *dest, UPInt destsize) const
 
void SetIdentity ()
 
bool operator== (const Matrix3 &b) const
 
Matrix3 operator+ (const Matrix3 &b) const
 
Matrix3operator+= (const Matrix3 &b)
 
void operator= (const Matrix3 &b)
 
void operator= (const SymMat3< T > &b)
 
Matrix3 operator- (const Matrix3 &b) const
 
Matrix3operator-= (const Matrix3 &b)
 
Matrix3 operator* (const Matrix3 &b) const
 
Matrix3operator*= (const Matrix3 &b)
 
Matrix3 operator* (T s) const
 
Matrix3operator*= (T s)
 
Vector3< T > operator* (const Vector3< T > &b) const
 
Matrix3 operator/ (T s) const
 
Matrix3operator/= (T s)
 
Vector3< T > Transform (const Vector3< T > &v) const
 
Matrix3 Transposed () const
 
void Transpose ()
 
SubDet (const UPInt *rows, const UPInt *cols) const
 
void Rank1Add (const Vector3< T > &a, const Vector3< T > &b)
 
void Rank1Sub (const Vector3< T > &a, const Vector3< T > &b)
 
Vector3< T > Col (int c) const
 
Vector3< T > Row (int r) const
 
Determinant () const
 
Matrix3< T > Inverse () const
 

Static Public Member Functions

static Matrix3 FromString (const char *src)
 
static const Matrix3Identity ()
 
static Matrix3Multiply (Matrix3 *d, const Matrix3 &a, const Matrix3 &b)
 

Data Fields

M [3][3]
 

Static Private Attributes

static const Matrix3 IdentityValue
 

Detailed Description

template<class T>
class OVR::Matrix3< T >

Definition at line 126 of file OVR_Math.h.

Member Enumeration Documentation

template<class T>
enum OVR::Matrix3::NoInitType
Enumerator
NoInit 

Definition at line 1868 of file OVR_Math.h.

Constructor & Destructor Documentation

template<class T>
OVR::Matrix3< T >::Matrix3 ( NoInitType  )
inline

Definition at line 1871 of file OVR_Math.h.

template<class T>
OVR::Matrix3< T >::Matrix3 ( )
inline

Definition at line 1874 of file OVR_Math.h.

template<class T>
OVR::Matrix3< T >::Matrix3 ( m11,
m12,
m13,
m21,
m22,
m23,
m31,
m32,
m33 
)
inline

Definition at line 1879 of file OVR_Math.h.

template<class T>
OVR::Matrix3< T >::Matrix3 ( const Quat< T > &  q)
inlineexplicit

Definition at line 1902 of file OVR_Math.h.

template<class T>
OVR::Matrix3< T >::Matrix3 ( s)
inlineexplicit

Definition at line 1913 of file OVR_Math.h.

template<class T>
OVR::Matrix3< T >::Matrix3 ( const Transform< T > &  p)
inlineexplicit

Definition at line 1919 of file OVR_Math.h.

template<class T>
OVR::Matrix3< T >::Matrix3 ( const Matrix4< typename Math< T >::OtherFloatType > &  src)
inlineexplicit

Definition at line 1927 of file OVR_Math.h.

template<class T>
OVR::Matrix3< T >::Matrix3 ( const typename CompatibleTypes< Matrix3< T > >::Type &  s)
inline

Definition at line 1935 of file OVR_Math.h.

Member Function Documentation

template<class T>
Vector3<T> OVR::Matrix3< T >::Col ( int  c) const
inline

Definition at line 2154 of file OVR_Math.h.

template<class T>
T OVR::Matrix3< T >::Determinant ( ) const
inline

Definition at line 2164 of file OVR_Math.h.

template<class T>
static Matrix3 OVR::Matrix3< T >::FromString ( const char *  src)
inlinestatic

Definition at line 1957 of file OVR_Math.h.

template<class T>
static const Matrix3& OVR::Matrix3< T >::Identity ( )
inlinestatic

Definition at line 1972 of file OVR_Math.h.

template<class T>
Matrix3<T> OVR::Matrix3< T >::Inverse ( ) const
inline

Definition at line 2176 of file OVR_Math.h.

template<class T>
static Matrix3& OVR::Matrix3< T >::Multiply ( Matrix3< T > *  d,
const Matrix3< T > &  a,
const Matrix3< T > &  b 
)
inlinestatic

Definition at line 2046 of file OVR_Math.h.

template<class T>
OVR::Matrix3< T >::operator typename CompatibleTypes< Matrix3< T > >::Type ( ) const
inline

Definition at line 1941 of file OVR_Math.h.

template<class T>
Matrix3 OVR::Matrix3< T >::operator* ( const Matrix3< T > &  b) const
inline

Definition at line 2059 of file OVR_Math.h.

template<class T>
Matrix3 OVR::Matrix3< T >::operator* ( s) const
inline

Definition at line 2071 of file OVR_Math.h.

template<class T>
Vector3<T> OVR::Matrix3< T >::operator* ( const Vector3< T > &  b) const
inline

Definition at line 2086 of file OVR_Math.h.

template<class T>
Matrix3& OVR::Matrix3< T >::operator*= ( const Matrix3< T > &  b)
inline

Definition at line 2066 of file OVR_Math.h.

template<class T>
Matrix3& OVR::Matrix3< T >::operator*= ( s)
inline

Definition at line 2078 of file OVR_Math.h.

template<class T>
Matrix3 OVR::Matrix3< T >::operator+ ( const Matrix3< T > &  b) const
inline

Definition at line 1991 of file OVR_Math.h.

template<class T>
Matrix3& OVR::Matrix3< T >::operator+= ( const Matrix3< T > &  b)
inline

Definition at line 1998 of file OVR_Math.h.

template<class T>
Matrix3 OVR::Matrix3< T >::operator- ( const Matrix3< T > &  b) const
inline

Definition at line 2030 of file OVR_Math.h.

template<class T>
Matrix3& OVR::Matrix3< T >::operator-= ( const Matrix3< T > &  b)
inline

Definition at line 2037 of file OVR_Math.h.

template<class T>
Matrix3 OVR::Matrix3< T >::operator/ ( s) const
inline

Definition at line 2096 of file OVR_Math.h.

template<class T>
Matrix3& OVR::Matrix3< T >::operator/= ( s)
inline

Definition at line 2103 of file OVR_Math.h.

template<class T>
void OVR::Matrix3< T >::operator= ( const Matrix3< T > &  b)
inline

Definition at line 2006 of file OVR_Math.h.

template<class T>
void OVR::Matrix3< T >::operator= ( const SymMat3< T > &  b)
inline

Definition at line 2014 of file OVR_Math.h.

template<class T>
bool OVR::Matrix3< T >::operator== ( const Matrix3< T > &  b) const
inline

Definition at line 1981 of file OVR_Math.h.

template<class T>
void OVR::Matrix3< T >::Rank1Add ( const Vector3< T > &  a,
const Vector3< T > &  b 
)
inline

Definition at line 2139 of file OVR_Math.h.

template<class T>
void OVR::Matrix3< T >::Rank1Sub ( const Vector3< T > &  a,
const Vector3< T > &  b 
)
inline

Definition at line 2147 of file OVR_Math.h.

template<class T>
Vector3<T> OVR::Matrix3< T >::Row ( int  r) const
inline

Definition at line 2159 of file OVR_Math.h.

template<class T>
void OVR::Matrix3< T >::SetIdentity ( )
inline

Definition at line 1974 of file OVR_Math.h.

template<class T>
T OVR::Matrix3< T >::SubDet ( const UPInt rows,
const UPInt cols 
) const
inline

Definition at line 2131 of file OVR_Math.h.

template<class T>
void OVR::Matrix3< T >::ToString ( char *  dest,
UPInt  destsize 
) const
inline

Definition at line 1949 of file OVR_Math.h.

template<class T>
Vector3<T> OVR::Matrix3< T >::Transform ( const Vector3< T > &  v) const
inline

Definition at line 2111 of file OVR_Math.h.

template<class T>
void OVR::Matrix3< T >::Transpose ( )
inline

Definition at line 2125 of file OVR_Math.h.

template<class T>
Matrix3 OVR::Matrix3< T >::Transposed ( ) const
inline

Definition at line 2118 of file OVR_Math.h.

Field Documentation

template<class T>
const Matrix3 OVR::Matrix3< T >::IdentityValue
staticprivate

Definition at line 1863 of file OVR_Math.h.

template<class T>
T OVR::Matrix3< T >::M[3][3]

Definition at line 1866 of file OVR_Math.h.


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