Project

General

Profile

OPENXR Scol plugin

Public Member Functions

 Matrix4 (float m00, float m01, float m02, float m03, float m10, float m11, float m12, float m13, float m20, float m21, float m22, float m23, float m30, float m31, float m32, float m33)
 
 Matrix4 (XrMatrix4x4f mat)
 
 Matrix4 (const Matrix3 &m3x3)
 
 Matrix4 (const Quaternion &rot)
 
void extract3x3MatrixNegZ (Matrix3 &m3x3) const
 
void extract3x3MatrixNegX (Matrix3 &m3x3) const
 
void extract3x3Matrix (Matrix3 &m3x3) const
 
Quaternion extractQuaternion () const
 
Quaternion extractQuaternionNegZ () const
 
Quaternion extractQuaternionNegX () const
 
Vector3 getTrans () const
 
void operator= (const Matrix3 &mat3)
 
float * operator[] (size_t iRow)
 
const float * operator[] (size_t iRow) const
 
Matrix4 operator* (const Matrix4 &m2) const
 
Matrix4 concatenate (const Matrix4 &m2) const
 

Static Public Attributes

static const Matrix4 IDENTITY
 

Protected Attributes

union { 
 
   float   m [4][4] 
 
   float   _m [16] 
 
};  
 

Detailed Description

Definition at line 1257 of file vrmaths.h.

Constructor & Destructor Documentation

◆ Matrix4() [1/5]

Matrix4::Matrix4 ( )
inline

Definition at line 1267 of file vrmaths.h.

◆ Matrix4() [2/5]

Matrix4::Matrix4 ( float  m00,
float  m01,
float  m02,
float  m03,
float  m10,
float  m11,
float  m12,
float  m13,
float  m20,
float  m21,
float  m22,
float  m23,
float  m30,
float  m31,
float  m32,
float  m33 
)
inline

Definition at line 1269 of file vrmaths.h.

◆ Matrix4() [3/5]

Matrix4::Matrix4 ( XrMatrix4x4f  mat)
inline

Definition at line 1293 of file vrmaths.h.

◆ Matrix4() [4/5]

Matrix4::Matrix4 ( const Matrix3 m3x3)
inline

Definition at line 1313 of file vrmaths.h.

◆ Matrix4() [5/5]

Matrix4::Matrix4 ( const Quaternion rot)
inline

Definition at line 1319 of file vrmaths.h.

Member Function Documentation

◆ concatenate()

Matrix4 Matrix4::concatenate ( const Matrix4 m2) const
inline

Definition at line 1412 of file vrmaths.h.

◆ extract3x3Matrix()

void Matrix4::extract3x3Matrix ( Matrix3 m3x3) const
inline

Definition at line 1353 of file vrmaths.h.

◆ extract3x3MatrixNegX()

void Matrix4::extract3x3MatrixNegX ( Matrix3 m3x3) const
inline

Definition at line 1340 of file vrmaths.h.

◆ extract3x3MatrixNegZ()

void Matrix4::extract3x3MatrixNegZ ( Matrix3 m3x3) const
inline

Definition at line 1327 of file vrmaths.h.

◆ extractQuaternion()

Quaternion Matrix4::extractQuaternion ( ) const
inline

Definition at line 1366 of file vrmaths.h.

◆ extractQuaternionNegX()

Quaternion Matrix4::extractQuaternionNegX ( ) const
inline

Definition at line 1380 of file vrmaths.h.

◆ extractQuaternionNegZ()

Quaternion Matrix4::extractQuaternionNegZ ( ) const
inline

Definition at line 1373 of file vrmaths.h.

◆ getTrans()

Vector3 Matrix4::getTrans ( ) const
inline

Definition at line 1387 of file vrmaths.h.

◆ operator*()

Matrix4 Matrix4::operator* ( const Matrix4 m2) const
inline

Definition at line 1407 of file vrmaths.h.

◆ operator=()

void Matrix4::operator= ( const Matrix3 mat3)
inline

Definition at line 1391 of file vrmaths.h.

◆ operator[]() [1/2]

float * Matrix4::operator[] ( size_t  iRow)
inline

Definition at line 1397 of file vrmaths.h.

◆ operator[]() [2/2]

const float * Matrix4::operator[] ( size_t  iRow) const
inline

Definition at line 1402 of file vrmaths.h.

Member Data Documentation

◆ _m

float Matrix4::_m[16]

Definition at line 1262 of file vrmaths.h.

◆ IDENTITY

const Matrix4 Matrix4::IDENTITY
static

Definition at line 1265 of file vrmaths.h.

◆ m

float Matrix4::m[4][4]

Definition at line 1261 of file vrmaths.h.


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