Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Private Attributes
OVR::Matrix4f Class Reference

#include <OVR_Math.h>

List of all members.

Public Types

enum  NoInitType { NoInit }

Public Member Functions

Matrix4f Adjugated () const
float Cofactor (int I, int J) const
float Determinant () const
void Invert ()
Matrix4f Inverted () const
 Matrix4f (NoInitType)
 Matrix4f ()
 Matrix4f (float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24, float m31, float m32, float m33, float m34, float m41, float m42, float m43, float m44)
 Matrix4f (float m11, float m12, float m13, float m21, float m22, float m23, float m31, float m32, float m33)
Matrix4f operator* (const Matrix4f &b) const
Matrix4f operator* (float s) const
Matrix4foperator*= (const Matrix4f &b)
Matrix4foperator*= (float s)
void SetIdentity ()
float SubDet (const int *rows, const int *cols) const
template<Axis A1, Axis A2, Axis A3, RotateDirection D, HandedSystem S>
void ToEulerAngles (float *a, float *b, float *c)
template<Axis A1, Axis A2, RotateDirection D, HandedSystem S>
void ToEulerAnglesABA (float *a, float *b, float *c)
Vector3f Transform (const Vector3f &v) const
void Transpose ()
Matrix4f Transposed () const

Static Public Member Functions

static Matrix4f AxisConversion (const WorldAxes &to, const WorldAxes &from)
static const Matrix4fIdentity ()
static Matrix4f LookAtLH (const Vector3f &eye, const Vector3f &at, const Vector3f &up)
static Matrix4f LookAtRH (const Vector3f &eye, const Vector3f &at, const Vector3f &up)
static Matrix4fMultiply (Matrix4f *d, const Matrix4f &a, const Matrix4f &b)
static Matrix4f Ortho2D (float w, float h)
static Matrix4f PerspectiveLH (float yfov, float aspect, float znear, float zfar)
static Matrix4f PerspectiveRH (float yfov, float aspect, float znear, float zfar)
static Matrix4f RotationAxis (Axis A, float angle, RotateDirection d, HandedSystem s)
static Matrix4f RotationX (float angle)
static Matrix4f RotationY (float angle)
static Matrix4f RotationZ (float angle)
static Matrix4f Scaling (const Vector3f &v)
static Matrix4f Scaling (float x, float y, float z)
static Matrix4f Scaling (float s)
static Matrix4f Translation (const Vector3f &v)
static Matrix4f Translation (float x, float y, float z=0.0f)

Public Attributes

float M [4][4]

Static Private Attributes

static Matrix4f IdentityValue

Detailed Description

Definition at line 331 of file OVR_Math.h.


Member Enumeration Documentation

Enumerator:
NoInit 

Definition at line 338 of file OVR_Math.h.


Constructor & Destructor Documentation

Definition at line 341 of file OVR_Math.h.

Definition at line 344 of file OVR_Math.h.

OVR::Matrix4f::Matrix4f ( float  m11,
float  m12,
float  m13,
float  m14,
float  m21,
float  m22,
float  m23,
float  m24,
float  m31,
float  m32,
float  m33,
float  m34,
float  m41,
float  m42,
float  m43,
float  m44 
) [inline]

Definition at line 349 of file OVR_Math.h.

OVR::Matrix4f::Matrix4f ( float  m11,
float  m12,
float  m13,
float  m21,
float  m22,
float  m23,
float  m31,
float  m32,
float  m33 
) [inline]

Definition at line 360 of file OVR_Math.h.


Member Function Documentation

Matrix4f OVR::Matrix4f::Adjugated ( ) const [inline]

Definition at line 463 of file OVR_Math.h.

static Matrix4f OVR::Matrix4f::AxisConversion ( const WorldAxes to,
const WorldAxes from 
) [inline, static]

Definition at line 564 of file OVR_Math.h.

float OVR::Matrix4f::Cofactor ( int  I,
int  J 
) const [inline]

Definition at line 452 of file OVR_Math.h.

float OVR::Matrix4f::Determinant ( ) const [inline]

Definition at line 458 of file OVR_Math.h.

static const Matrix4f& OVR::Matrix4f::Identity ( ) [inline, static]

Definition at line 370 of file OVR_Math.h.

void OVR::Matrix4f::Invert ( ) [inline]

Definition at line 478 of file OVR_Math.h.

Matrix4f OVR::Matrix4f::Inverted ( ) const [inline]

Definition at line 471 of file OVR_Math.h.

Matrix4f OVR::Matrix4f::LookAtLH ( const Vector3f eye,
const Vector3f at,
const Vector3f up 
) [static]

Definition at line 79 of file OVR_Math.cpp.

Matrix4f OVR::Matrix4f::LookAtRH ( const Vector3f eye,
const Vector3f at,
const Vector3f up 
) [static]

Definition at line 66 of file OVR_Math.cpp.

static Matrix4f& OVR::Matrix4f::Multiply ( Matrix4f d,
const Matrix4f a,
const Matrix4f b 
) [inline, static]

Definition at line 381 of file OVR_Math.h.

Matrix4f OVR::Matrix4f::operator* ( const Matrix4f b) const [inline]

Definition at line 395 of file OVR_Math.h.

Matrix4f OVR::Matrix4f::operator* ( float  s) const [inline]

Definition at line 407 of file OVR_Math.h.

Matrix4f& OVR::Matrix4f::operator*= ( const Matrix4f b) [inline]

Definition at line 402 of file OVR_Math.h.

Matrix4f& OVR::Matrix4f::operator*= ( float  s) [inline]

Definition at line 415 of file OVR_Math.h.

Matrix4f OVR::Matrix4f::Ortho2D ( float  w,
float  h 
) [static]

Definition at line 142 of file OVR_Math.cpp.

Matrix4f OVR::Matrix4f::PerspectiveLH ( float  yfov,
float  aspect,
float  znear,
float  zfar 
) [static]

Definition at line 93 of file OVR_Math.cpp.

Matrix4f OVR::Matrix4f::PerspectiveRH ( float  yfov,
float  aspect,
float  znear,
float  zfar 
) [static]

Definition at line 111 of file OVR_Math.cpp.

static Matrix4f OVR::Matrix4f::RotationAxis ( Axis  A,
float  angle,
RotateDirection  d,
HandedSystem  s 
) [inline, static]

Definition at line 636 of file OVR_Math.h.

static Matrix4f OVR::Matrix4f::RotationX ( float  angle) [inline, static]

Definition at line 666 of file OVR_Math.h.

static Matrix4f OVR::Matrix4f::RotationY ( float  angle) [inline, static]

Definition at line 682 of file OVR_Math.h.

static Matrix4f OVR::Matrix4f::RotationZ ( float  angle) [inline, static]

Definition at line 698 of file OVR_Math.h.

static Matrix4f OVR::Matrix4f::Scaling ( const Vector3f v) [inline, static]

Definition at line 606 of file OVR_Math.h.

static Matrix4f OVR::Matrix4f::Scaling ( float  x,
float  y,
float  z 
) [inline, static]

Definition at line 615 of file OVR_Math.h.

static Matrix4f OVR::Matrix4f::Scaling ( float  s) [inline, static]

Definition at line 624 of file OVR_Math.h.

void OVR::Matrix4f::SetIdentity ( ) [inline]

Definition at line 372 of file OVR_Math.h.

float OVR::Matrix4f::SubDet ( const int *  rows,
const int *  cols 
) const [inline]

Definition at line 445 of file OVR_Math.h.

template<Axis A1, Axis A2, Axis A3, RotateDirection D, HandedSystem S>
void OVR::Matrix4f::ToEulerAngles ( float *  a,
float *  b,
float *  c 
) [inline]

Definition at line 490 of file OVR_Math.h.

template<Axis A1, Axis A2, RotateDirection D, HandedSystem S>
void OVR::Matrix4f::ToEulerAnglesABA ( float *  a,
float *  b,
float *  c 
) [inline]

Definition at line 528 of file OVR_Math.h.

Vector3f OVR::Matrix4f::Transform ( const Vector3f v) const [inline]

Definition at line 424 of file OVR_Math.h.

static Matrix4f OVR::Matrix4f::Translation ( const Vector3f v) [inline, static]

Definition at line 588 of file OVR_Math.h.

static Matrix4f OVR::Matrix4f::Translation ( float  x,
float  y,
float  z = 0.0f 
) [inline, static]

Definition at line 597 of file OVR_Math.h.

void OVR::Matrix4f::Transpose ( ) [inline]

Definition at line 439 of file OVR_Math.h.

Matrix4f OVR::Matrix4f::Transposed ( ) const [inline]

Definition at line 431 of file OVR_Math.h.


Member Data Documentation

Definition at line 333 of file OVR_Math.h.

float OVR::Matrix4f::M[4][4]

Definition at line 336 of file OVR_Math.h.


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


oculus_sdk
Author(s): Tully Foote
autogenerated on Thu Jun 6 2019 20:13:49