This website uses cookies to improve our services and deliver relevant ads.
By interacting with this site, you agree to this use. For more information, see our Cookies Policy

Libovr 1.26 Reference Guide

OVR::Matrix4 Class Reference

Public Types

enum
NoInitType {
}
T

Static Fields

static const size_t

Data Fields

T
M ( )

Public Member Functions

Matrix4 ( NoInitType )
Matrix4 ( )
Matrix4 ( T m11, T m12, T m13, T m14, T m21, T m22, T m23, T m24, T m31, T m32, T m33, T m34, T m41, T m42, T m43, T m44 )
Matrix4 ( T m11, T m12, T m13, T m21, T m22, T m23, T m31, T m32, T m33 )
Matrix4 ( const Matrix3< T > & m )
Matrix4 ( const Quat< T > & q )
Matrix4 ( const Pose< T > & p )
Matrix4 ( const Matrix4< typename Math< T >::OtherFloatType > & src )
Matrix4 ( const typename CompatibleTypes< Matrix4< T >>::Type & s )
void
ToString ( char * dest, size_t destsize )
void
void
SetXBasis ( const Vector3< T > & v )
Vector3< T >
void
SetYBasis ( const Vector3< T > & v )
Vector3< T >
void
SetZBasis ( const Vector3< T > & v )
Vector3< T >
bool
operator== ( const Matrix4 & b )
Matrix4
operator+ ( const Matrix4 & b )
Matrix4 &
operator+= ( const Matrix4 & b )
Matrix4
operator- ( const Matrix4 & b )
Matrix4 &
operator-= ( const Matrix4 & b )
Matrix4
operator* ( const Matrix4 & b )
Matrix4 &
operator*= ( const Matrix4 & b )
Matrix4
operator* ( T s )
Matrix4 &
operator*= ( T s )
Matrix4
operator/ ( T s )
Matrix4 &
operator/= ( T s )
T
operator() ( int i, int j )
T &
operator() ( int i, int j )
Vector4< T >
operator* ( const Vector4< T > & b )
Vector3< T >
Transform ( const Vector3< T > & v )
Vector4< T >
Transform ( const Vector4< T > & v )
Matrix4
void
T
SubDet ( const size_t * rows, const size_t * cols )
T
Cofactor ( size_t I, size_t J )
T
Matrix4
Matrix4
void
Invert ( )
Matrix4
void
void
ToEulerAngles ( T * a, T * b, T * c )
void
ToEulerAnglesABA ( T * a, T * b, T * c )
void
SetTranslation ( const Vector3< T > & v )
Vector3< T >
T
Distance ( const Matrix4 & m2 )

Static Public Member Functions

static Matrix4
FromString ( const char * src )
static Matrix4
static Matrix4 &
Multiply ( Matrix4 * d, const Matrix4 & a, const Matrix4 & b )
static Matrix4
AxisConversion ( const WorldAxes & to, const WorldAxes & from )
static Matrix4
Translation ( const Vector3< T > & v )
static Matrix4
Translation ( T x, T y, T z )
static Matrix4
Scaling ( const Vector3< T > & v )
static Matrix4
Scaling ( T x, T y, T z )
static Matrix4
Scaling ( T s )
static Matrix4
RotationAxis ( Axis A, T angle, RotateDirection d, HandedSystem s )
static Matrix4
RotationX ( T angle )
static Matrix4
RotationY ( T angle )
static Matrix4
RotationZ ( T angle )
static Matrix4
LookAtRH ( const Vector3< T > & eye, const Vector3< T > & at, const Vector3< T > & up )
static Matrix4
LookAtLH ( const Vector3< T > & eye, const Vector3< T > & at, const Vector3< T > & up )
static Matrix4
PerspectiveRH ( T yfov, T aspect, T znear, T zfar )
static Matrix4
PerspectiveLH ( T yfov, T aspect, T znear, T zfar )
static Matrix4
Ortho2D ( T w, T h )

Member Enumeration Documentation

enum OVR::Matrix4.NoInitType
Enumerator
NoInit
typedef T OVR::Matrix4< T >::ElementType ( )

Public Static Documentation

const size_t OVR::Matrix4< T >::Dimension ( )

Field Documentation

T OVR::Matrix4< T >::M[4][4] ( )

Member Function Documentation

OVR::Matrix4< T >::Matrix4 ( NoInitType )
OVR::Matrix4< T >::Matrix4 ( )
OVR::Matrix4< T >::Matrix4 ( T m11, T m12, T m13, T m14, T m21, T m22, T m23, T m24, T m31, T m32, T m33, T m34, T m41, T m42, T m43, T m44 )
OVR::Matrix4< T >::Matrix4 ( T m11, T m12, T m13, T m21, T m22, T m23, T m31, T m32, T m33 )
OVR::Matrix4< T >::Matrix4 ( const Matrix3< T > & m )
OVR::Matrix4< T >::Matrix4 ( const Quat< T > & q )
OVR::Matrix4< T >::Matrix4 ( const Pose< T > & p )
OVR::Matrix4< T >::Matrix4 ( const Matrix4< typename Math< T >::OtherFloatType > & src )
OVR::Matrix4< T >::Matrix4 ( const typename CompatibleTypes< Matrix4< T >>::Type & s )
OVR::Matrix4< T >::operator typename CompatibleTypes< Matrix4< T >>::Type ( )
void OVR::Matrix4< T >::ToString ( char * dest, size_t destsize )
void OVR::Matrix4< T >::SetIdentity ( )
void OVR::Matrix4< T >::SetXBasis ( const Vector3< T > & v )
Vector3<T> OVR::Matrix4< T >::GetXBasis ( )
void OVR::Matrix4< T >::SetYBasis ( const Vector3< T > & v )
Vector3<T> OVR::Matrix4< T >::GetYBasis ( )
void OVR::Matrix4< T >::SetZBasis ( const Vector3< T > & v )
Vector3<T> OVR::Matrix4< T >::GetZBasis ( )
bool OVR::Matrix4< T >::operator== ( const Matrix4 & b )
Matrix4 OVR::Matrix4< T >::operator+ ( const Matrix4 & b )
Matrix4& OVR::Matrix4< T >::operator+= ( const Matrix4 & b )
Matrix4 OVR::Matrix4< T >::operator- ( const Matrix4 & b )
Matrix4& OVR::Matrix4< T >::operator-= ( const Matrix4 & b )
Matrix4 OVR::Matrix4< T >::operator* ( const Matrix4 & b )
Matrix4& OVR::Matrix4< T >::operator*= ( const Matrix4 & b )
Matrix4 OVR::Matrix4< T >::operator* ( T s )
Matrix4& OVR::Matrix4< T >::operator*= ( T s )
Matrix4 OVR::Matrix4< T >::operator/ ( T s )
Matrix4& OVR::Matrix4< T >::operator/= ( T s )
T OVR::Matrix4< T >::operator() ( int i, int j )
T& OVR::Matrix4< T >::operator() ( int i, int j )
Vector4<T> OVR::Matrix4< T >::operator* ( const Vector4< T > & b )
Vector3<T> OVR::Matrix4< T >::Transform ( const Vector3< T > & v )
Vector4<T> OVR::Matrix4< T >::Transform ( const Vector4< T > & v )
Matrix4 OVR::Matrix4< T >::Transposed ( )
void OVR::Matrix4< T >::Transpose ( )
T OVR::Matrix4< T >::SubDet ( const size_t * rows, const size_t * cols )
T OVR::Matrix4< T >::Cofactor ( size_t I, size_t J )
T OVR::Matrix4< T >::Determinant ( )
Matrix4 OVR::Matrix4< T >::Adjugated ( )
Matrix4 OVR::Matrix4< T >::Inverted ( )
void OVR::Matrix4< T >::Invert ( )
Matrix4 OVR::Matrix4< T >::InvertedHomogeneousTransform ( )
void OVR::Matrix4< T >::InvertHomogeneousTransform ( )
void OVR::Matrix4< T >::ToEulerAngles ( T * a, T * b, T * c )
void OVR::Matrix4< T >::ToEulerAnglesABA ( T * a, T * b, T * c )
void OVR::Matrix4< T >::SetTranslation ( const Vector3< T > & v )
Vector3<T> OVR::Matrix4< T >::GetTranslation ( )
T OVR::Matrix4< T >::Distance ( const Matrix4 & m2 )

Static Member Function Documentation

static Matrix4 OVR::Matrix4< T >::FromString ( const char * src )
static Matrix4 OVR::Matrix4< T >::Identity ( )
static Matrix4& OVR::Matrix4< T >::Multiply ( Matrix4 * d, const Matrix4 & a, const Matrix4 & b )
static Matrix4 OVR::Matrix4< T >::AxisConversion ( const WorldAxes & to, const WorldAxes & from )
static Matrix4 OVR::Matrix4< T >::Translation ( const Vector3< T > & v )
static Matrix4 OVR::Matrix4< T >::Translation ( T x, T y, T z )
static Matrix4 OVR::Matrix4< T >::Scaling ( const Vector3< T > & v )
static Matrix4 OVR::Matrix4< T >::Scaling ( T x, T y, T z )
static Matrix4 OVR::Matrix4< T >::Scaling ( T s )
static Matrix4 OVR::Matrix4< T >::RotationAxis ( Axis A, T angle, RotateDirection d, HandedSystem s )
static Matrix4 OVR::Matrix4< T >::RotationX ( T angle )
static Matrix4 OVR::Matrix4< T >::RotationY ( T angle )
static Matrix4 OVR::Matrix4< T >::RotationZ ( T angle )
static Matrix4 OVR::Matrix4< T >::LookAtRH ( const Vector3< T > & eye, const Vector3< T > & at, const Vector3< T > & up )
static Matrix4 OVR::Matrix4< T >::LookAtLH ( const Vector3< T > & eye, const Vector3< T > & at, const Vector3< T > & up )
static Matrix4 OVR::Matrix4< T >::PerspectiveRH ( T yfov, T aspect, T znear, T zfar )
static Matrix4 OVR::Matrix4< T >::PerspectiveLH ( T yfov, T aspect, T znear, T zfar )
static Matrix4 OVR::Matrix4< T >::Ortho2D ( T w, T h )
The documentation for this class was generated from the following file: Include/Extras/OVR_Math.h