HDK
|
#include "UT_API.h"
#include "UT_Assert.h"
#include "UT_Axis.h"
#include "UT_FixedVectorTraits.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>
Go to the source code of this file.
Classes | |
class | UT_Matrix3T< T > |
class | UT_FixedVector< T, D > |
struct | UT_FixedVectorTraits< UT_Matrix3T< T > > |
struct | UT_Matrix3TFromFixed< T > |
struct | UT_FromFixed< V > |
struct | UT_FromFixed< 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) |
Bilinear interpolation. More... | |
template<typename T , typename S > | |
UT_Matrix3T< T > | SYSbarycentric (const UT_Matrix3T< T > &v0, const UT_Matrix3T< T > &v1, const UT_Matrix3T< T > &v2, S u, S v) |
Barycentric interpolation. More... | |
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 TS > | |
constexpr UT_Matrix3T < SYS_FixedArrayElement_t< TS > > | UTmakeMatrix3T (const TS &as) noexcept |
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) |
#define __UT_Matrix3_h__ |
Definition at line 11 of file UT_Matrix3.h.
|
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 1534 of file UT_Matrix3.h.
UT_API size_t format | ( | char * | buffer, |
size_t | buffer_size, | ||
const UT_Matrix3T< T > & | v | ||
) |
UT_API UT_Matrix3T<T> operator* | ( | const UT_Matrix3T< T > & | m1, |
const UT_Matrix3T< T > & | m2 | ||
) |
UT_API UT_Matrix3T<T> operator* | ( | const UT_Matrix3T< T > & | mat, |
S | sc | ||
) |
|
inline |
Definition at line 1477 of file UT_Matrix3.h.
|
inline |
Definition at line 1527 of file UT_Matrix3.h.
UT_API UT_Matrix3T<T> operator+ | ( | const UT_Matrix3T< T > & | m1, |
const UT_Matrix3T< T > & | m2 | ||
) |
UT_API UT_Matrix3T<T> operator+ | ( | const UT_Matrix3T< T > & | m, |
const UT_Vector3T< S > & | v | ||
) |
|
inline |
Definition at line 1470 of file UT_Matrix3.h.
UT_API UT_Matrix3T<T> operator+ | ( | const UT_Matrix3T< T > & | mat, |
S | sc | ||
) |
|
inline |
UT_API UT_Matrix3T<T> operator- | ( | const UT_Matrix3T< T > & | m1, |
const UT_Matrix3T< T > & | m2 | ||
) |
UT_API UT_Matrix3T<T> operator- | ( | const UT_Matrix3T< T > & | m, |
const UT_Vector3T< S > & | v | ||
) |
UT_API UT_Matrix3T<T> operator- | ( | const UT_Vector3T< S > & | v, |
const UT_Matrix3T< T > & | m | ||
) |
|
inline |
UT_API UT_Matrix3T<T> operator- | ( | S | sc, |
const UT_Matrix3T< T > & | mat | ||
) |
|
inline |
Definition at line 1484 of file UT_Matrix3.h.
UT_API UT_Matrix3T<T> operator/ | ( | S | sc, |
const UT_Matrix3T< T > & | mat | ||
) |
|
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 1516 of file UT_Matrix3.h.
|
inline |
Barycentric interpolation.
Definition at line 79 of file UT_Matrix3.h.
|
inline |
Bilinear interpolation.
Definition at line 72 of file UT_Matrix3.h.
|
inline |
Definition at line 1639 of file UT_Matrix3.h.
|
inline |
Definition at line 1657 of file UT_Matrix3.h.
|
inline |
Definition at line 1622 of file UT_Matrix3.h.
|
inline |
Definition at line 1605 of file UT_Matrix3.h.
|
noexcept |
Definition at line 1717 of file UT_Matrix3.h.