HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_Matrix3.h File Reference
#include "UT_API.h"
#include "UT_Assert.h"
#include "UT_Axis.h"
#include "UT_FixedVector.h"
#include "UT_Swap.h"
#include "UT_SymMatrix3.h"
#include "UT_Vector3.h"
#include "UT_VectorTypes.h"
#include <SYS/SYS_Deprecated.h>
#include <SYS/SYS_Math.h>
#include <iosfwd>
+ Include dependency graph for UT_Matrix3.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UT_Matrix3T< T >
 
struct  UT_FixedVectorTraits< UT_Matrix3T< T > >
 

Macros

#define __UT_Matrix3_h__
 

Functions

template<typename T >
UT_API UT_Matrix3T< T > operator+ (const UT_Matrix3T< T > &m1, const UT_Matrix3T< T > &m2)
 
template<typename T >
UT_API UT_Matrix3T< T > operator- (const UT_Matrix3T< T > &m1, const UT_Matrix3T< T > &m2)
 
template<typename T >
UT_API UT_Matrix3T< T > operator* (const UT_Matrix3T< T > &m1, const UT_Matrix3T< T > &m2)
 
template<typename T , typename S >
UT_API UT_Matrix3T< T > operator+ (const UT_Matrix3T< T > &m, const UT_Vector3T< S > &v)
 
template<typename T , typename S >
UT_Matrix3T< T > operator+ (const UT_Vector3T< S > &v, const UT_Matrix3T< T > &m)
 
template<typename T , typename S >
UT_API UT_Matrix3T< T > operator- (const UT_Matrix3T< T > &m, const UT_Vector3T< S > &v)
 
template<typename T , typename S >
UT_API UT_Matrix3T< T > operator- (const UT_Vector3T< S > &v, const UT_Matrix3T< T > &m)
 
template<typename T , typename S >
UT_API UT_Matrix3T< T > operator+ (const UT_Matrix3T< T > &mat, S sc)
 
template<typename T , typename S >
UT_Matrix3T< T > operator- (const UT_Matrix3T< T > &mat, S sc)
 
template<typename T , typename S >
UT_API UT_Matrix3T< T > operator* (const UT_Matrix3T< T > &mat, S sc)
 
template<typename T , typename S >
UT_Matrix3T< T > operator/ (const UT_Matrix3T< T > &mat, S sc)
 
template<typename T , typename S >
UT_Matrix3T< T > operator+ (S sc, const UT_Matrix3T< T > &mat)
 
template<typename T , typename S >
UT_API UT_Matrix3T< T > operator- (S sc, const UT_Matrix3T< T > &mat)
 
template<typename T , typename S >
UT_Matrix3T< T > operator* (S sc, const UT_Matrix3T< T > &mat)
 
template<typename T , typename S >
UT_API UT_Matrix3T< T > operator/ (S sc, const UT_Matrix3T< T > &mat)
 
template<typename T >
UT_Matrix3T< T > SYSmin (const UT_Matrix3T< T > &v1, const UT_Matrix3T< T > &v2)
 
template<typename T >
UT_Matrix3T< T > SYSmax (const UT_Matrix3T< T > &v1, const UT_Matrix3T< T > &v2)
 
template<typename T , typename S >
UT_Matrix3T< T > SYSlerp (const UT_Matrix3T< T > &v1, const UT_Matrix3T< T > &v2, S t)
 
template<typename T , typename S >
UT_Matrix3T< T > SYSbilerp (const UT_Matrix3T< T > &u0v0, const UT_Matrix3T< T > &u1v0, const UT_Matrix3T< T > &u0v1, const UT_Matrix3T< T > &u1v1, S u, S v)
 
template<typename T , typename S >
UT_Vector3T< T > operator* (const UT_Vector3T< T > &v, const UT_Matrix3T< S > &m)
 
template<>
UT_Matrix3T< float > SYSlerp (const UT_Matrix3T< float > &v1, const UT_Matrix3T< float > &v2, float t)
 
template<typename T >
UT_API size_t format (char *buffer, size_t buffer_size, const UT_Matrix3T< T > &v)
 
template<typename T , typename S >
UT_Vector3T< T > rowVecMult (const UT_Vector3T< T > &v, const UT_Matrix3T< S > &m)
 
template<typename T , typename S >
UT_Vector3T< T > colVecMult (const UT_Matrix3T< S > &m, const UT_Vector3T< T > &v)
 

Macro Definition Documentation

#define __UT_Matrix3_h__

Definition at line 11 of file UT_Matrix3.h.

Function Documentation

template<typename T , typename S >
UT_Vector3T< T > colVecMult ( const UT_Matrix3T< S > &  m,
const UT_Vector3T< T > &  v 
)
inline

Multiplication of a row or column vector by a matrix (ie. right vs. left multiplication respectively). The operator*() declared above is an alias for rowVecMult(). The functions that take a 4x4 matrix first extend the vector to 4D (with a trailing 1.0 element).

Definition at line 1313 of file UT_Matrix3.h.

template<typename T >
UT_API size_t format ( char *  buffer,
size_t  buffer_size,
const UT_Matrix3T< T > &  v 
)
template<typename T >
UT_API UT_Matrix3T<T> operator* ( const UT_Matrix3T< T > &  m1,
const UT_Matrix3T< T > &  m2 
)
template<typename T , typename S >
UT_API UT_Matrix3T<T> operator* ( const UT_Matrix3T< T > &  mat,
sc 
)
template<typename T , typename S >
UT_Matrix3T< T > operator* ( sc,
const UT_Matrix3T< T > &  mat 
)
inline

Definition at line 1256 of file UT_Matrix3.h.

template<typename T , typename S >
UT_Vector3T<T> operator* ( const UT_Vector3T< T > &  v,
const UT_Matrix3T< S > &  m 
)
inline

Definition at line 1306 of file UT_Matrix3.h.

template<typename T >
UT_API UT_Matrix3T<T> operator+ ( const UT_Matrix3T< T > &  m1,
const UT_Matrix3T< T > &  m2 
)
template<typename T , typename S >
UT_API UT_Matrix3T<T> operator+ ( const UT_Matrix3T< T > &  m,
const UT_Vector3T< S > &  v 
)
template<typename T , typename S >
UT_Matrix3T< T > operator+ ( const UT_Vector3T< S > &  v,
const UT_Matrix3T< T > &  m 
)
inline

Definition at line 1249 of file UT_Matrix3.h.

template<typename T , typename S >
UT_API UT_Matrix3T<T> operator+ ( const UT_Matrix3T< T > &  mat,
sc 
)
template<typename T , typename S >
UT_Matrix3T<T> operator+ ( sc,
const UT_Matrix3T< T > &  mat 
)
inline
template<typename T >
UT_API UT_Matrix3T<T> operator- ( const UT_Matrix3T< T > &  m1,
const UT_Matrix3T< T > &  m2 
)
template<typename T , typename S >
UT_API UT_Matrix3T<T> operator- ( const UT_Matrix3T< T > &  m,
const UT_Vector3T< S > &  v 
)
template<typename T , typename S >
UT_API UT_Matrix3T<T> operator- ( const UT_Vector3T< S > &  v,
const UT_Matrix3T< T > &  m 
)
template<typename T , typename S >
UT_Matrix3T<T> operator- ( const UT_Matrix3T< T > &  mat,
sc 
)
inline
template<typename T , typename S >
UT_API UT_Matrix3T<T> operator- ( sc,
const UT_Matrix3T< T > &  mat 
)
template<typename T , typename S >
UT_Matrix3T< T > operator/ ( const UT_Matrix3T< T > &  mat,
sc 
)
inline

Definition at line 1263 of file UT_Matrix3.h.

template<typename T , typename S >
UT_API UT_Matrix3T<T> operator/ ( sc,
const UT_Matrix3T< T > &  mat 
)
template<typename T , typename S >
UT_Vector3T< T > rowVecMult ( const UT_Vector3T< T > &  v,
const UT_Matrix3T< S > &  m 
)
inline

Multiplication of a row or column vector by a matrix (ie. right vs. left multiplication respectively). The operator*() declared above is an alias for rowVecMult(). The functions that take a 4x4 matrix first extend the vector to 4D (with a trailing 1.0 element).

Definition at line 1295 of file UT_Matrix3.h.

template<typename T , typename S >
UT_Matrix3T<T> SYSbilerp ( const UT_Matrix3T< T > &  u0v0,
const UT_Matrix3T< T > &  u1v0,
const UT_Matrix3T< T > &  u0v1,
const UT_Matrix3T< T > &  u1v1,
u,
v 
)
inline

Definition at line 70 of file UT_Matrix3.h.

template<typename T , typename S >
UT_Matrix3T< T > SYSlerp ( const UT_Matrix3T< T > &  v1,
const UT_Matrix3T< T > &  v2,
t 
)
inline

Definition at line 1412 of file UT_Matrix3.h.

template<>
UT_Matrix3T<float> SYSlerp ( const UT_Matrix3T< float > &  v1,
const UT_Matrix3T< float > &  v2,
float  t 
)
inline

Definition at line 1430 of file UT_Matrix3.h.

template<typename T >
UT_Matrix3T< T > SYSmax ( const UT_Matrix3T< T > &  v1,
const UT_Matrix3T< T > &  v2 
)
inline

Definition at line 1395 of file UT_Matrix3.h.

template<typename T >
UT_Matrix3T< T > SYSmin ( const UT_Matrix3T< T > &  v1,
const UT_Matrix3T< T > &  v2 
)
inline

Definition at line 1378 of file UT_Matrix3.h.