Bullet Collision Detection & Physics Library
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
Vectormath::Aos::Matrix3 Class Reference

#include <vectormath_aos.h>

Collaboration diagram for Vectormath::Aos::Matrix3:
Collaboration graph
[legend]

Public Member Functions

 Matrix3 ()
 
 Matrix3 (const Matrix3 &mat)
 
 Matrix3 (const Vector3 &col0, const Vector3 &col1, const Vector3 &col2)
 
 Matrix3 (const Quat &unitQuat)
 
 Matrix3 (float scalar)
 
Matrix3operator= (const Matrix3 &mat)
 
Matrix3setCol0 (const Vector3 &col0)
 
Matrix3setCol1 (const Vector3 &col1)
 
Matrix3setCol2 (const Vector3 &col2)
 
const Vector3 getCol0 () const
 
const Vector3 getCol1 () const
 
const Vector3 getCol2 () const
 
Matrix3setCol (int col, const Vector3 &vec)
 
Matrix3setRow (int row, const Vector3 &vec)
 
const Vector3 getCol (int col) const
 
const Vector3 getRow (int row) const
 
Vector3operator[] (int col)
 
const Vector3 operator[] (int col) const
 
Matrix3setElem (int col, int row, float val)
 
float getElem (int col, int row) const
 
const Matrix3 operator+ (const Matrix3 &mat) const
 
const Matrix3 operator- (const Matrix3 &mat) const
 
const Matrix3 operator- () const
 
const Matrix3 operator* (float scalar) const
 
const Vector3 operator* (const Vector3 &vec) const
 
const Matrix3 operator* (const Matrix3 &mat) const
 
Matrix3operator+= (const Matrix3 &mat)
 
Matrix3operator-= (const Matrix3 &mat)
 
Matrix3operator*= (float scalar)
 
Matrix3operator*= (const Matrix3 &mat)
 
 Matrix3 ()
 
 Matrix3 (const Matrix3 &mat)
 
 Matrix3 (const Vector3 &col0, const Vector3 &col1, const Vector3 &col2)
 
 Matrix3 (const Quat &unitQuat)
 
 Matrix3 (float scalar)
 
Matrix3operator= (const Matrix3 &mat)
 
Matrix3setCol0 (const Vector3 &col0)
 
Matrix3setCol1 (const Vector3 &col1)
 
Matrix3setCol2 (const Vector3 &col2)
 
const Vector3 getCol0 () const
 
const Vector3 getCol1 () const
 
const Vector3 getCol2 () const
 
Matrix3setCol (int col, const Vector3 &vec)
 
Matrix3setRow (int row, const Vector3 &vec)
 
const Vector3 getCol (int col) const
 
const Vector3 getRow (int row) const
 
Vector3operator[] (int col)
 
const Vector3 operator[] (int col) const
 
Matrix3setElem (int col, int row, float val)
 
float getElem (int col, int row) const
 
const Matrix3 operator+ (const Matrix3 &mat) const
 
const Matrix3 operator- (const Matrix3 &mat) const
 
const Matrix3 operator- () const
 
const Matrix3 operator* (float scalar) const
 
const Vector3 operator* (const Vector3 &vec) const
 
const Matrix3 operator* (const Matrix3 &mat) const
 
Matrix3operator+= (const Matrix3 &mat)
 
Matrix3operator-= (const Matrix3 &mat)
 
Matrix3operator*= (float scalar)
 
Matrix3operator*= (const Matrix3 &mat)
 
 Matrix3 ()
 
 Matrix3 (const Matrix3 &mat)
 
 Matrix3 (const Vector3 &col0, const Vector3 &col1, const Vector3 &col2)
 
 Matrix3 (const Quat &unitQuat)
 
 Matrix3 (float scalar)
 
 Matrix3 (const floatInVec &scalar)
 
Matrix3operator= (const Matrix3 &mat)
 
Matrix3setCol0 (const Vector3 &col0)
 
Matrix3setCol1 (const Vector3 &col1)
 
Matrix3setCol2 (const Vector3 &col2)
 
const Vector3 getCol0 () const
 
const Vector3 getCol1 () const
 
const Vector3 getCol2 () const
 
Matrix3setCol (int col, const Vector3 &vec)
 
Matrix3setRow (int row, const Vector3 &vec)
 
const Vector3 getCol (int col) const
 
const Vector3 getRow (int row) const
 
Vector3operator[] (int col)
 
const Vector3 operator[] (int col) const
 
Matrix3setElem (int col, int row, float val)
 
Matrix3setElem (int col, int row, const floatInVec &val)
 
const floatInVec getElem (int col, int row) const
 
const Matrix3 operator+ (const Matrix3 &mat) const
 
const Matrix3 operator- (const Matrix3 &mat) const
 
const Matrix3 operator- () const
 
const Matrix3 operator* (float scalar) const
 
const Matrix3 operator* (const floatInVec &scalar) const
 
const Vector3 operator* (const Vector3 &vec) const
 
const Matrix3 operator* (const Matrix3 &mat) const
 
Matrix3operator+= (const Matrix3 &mat)
 
Matrix3operator-= (const Matrix3 &mat)
 
Matrix3operator*= (float scalar)
 
Matrix3operator*= (const floatInVec &scalar)
 
Matrix3operator*= (const Matrix3 &mat)
 

Static Public Member Functions

static const Matrix3 identity ()
 
static const Matrix3 rotationX (float radians)
 
static const Matrix3 rotationY (float radians)
 
static const Matrix3 rotationZ (float radians)
 
static const Matrix3 rotationZYX (const Vector3 &radiansXYZ)
 
static const Matrix3 rotation (float radians, const Vector3 &unitVec)
 
static const Matrix3 rotation (const Quat &unitQuat)
 
static const Matrix3 scale (const Vector3 &scaleVec)
 
static const Matrix3 identity ()
 
static const Matrix3 rotationX (float radians)
 
static const Matrix3 rotationY (float radians)
 
static const Matrix3 rotationZ (float radians)
 
static const Matrix3 rotationZYX (const Vector3 &radiansXYZ)
 
static const Matrix3 rotation (float radians, const Vector3 &unitVec)
 
static const Matrix3 rotation (const Quat &unitQuat)
 
static const Matrix3 scale (const Vector3 &scaleVec)
 
static const Matrix3 identity ()
 
static const Matrix3 rotationX (float radians)
 
static const Matrix3 rotationY (float radians)
 
static const Matrix3 rotationZ (float radians)
 
static const Matrix3 rotationX (const floatInVec &radians)
 
static const Matrix3 rotationY (const floatInVec &radians)
 
static const Matrix3 rotationZ (const floatInVec &radians)
 
static const Matrix3 rotationZYX (const Vector3 &radiansXYZ)
 
static const Matrix3 rotation (float radians, const Vector3 &unitVec)
 
static const Matrix3 rotation (const floatInVec &radians, const Vector3 &unitVec)
 
static const Matrix3 rotation (const Quat &unitQuat)
 
static const Matrix3 scale (const Vector3 &scaleVec)
 

Private Attributes

Vector3 mCol0
 
Vector3 mCol1
 
Vector3 mCol2
 

Detailed Description

Definition at line 1136 of file neon/vectormath_aos.h.

Constructor & Destructor Documentation

Vectormath::Aos::Matrix3::Matrix3 ( )
inline

Definition at line 1145 of file neon/vectormath_aos.h.

Vectormath::Aos::Matrix3::Matrix3 ( const Matrix3 mat)
inline

Definition at line 31 of file neon/mat_aos.h.

Vectormath::Aos::Matrix3::Matrix3 ( const Vector3 col0,
const Vector3 col1,
const Vector3 col2 
)
inline

Definition at line 69 of file neon/mat_aos.h.

Vectormath::Aos::Matrix3::Matrix3 ( const Quat unitQuat)
inlineexplicit

Definition at line 45 of file neon/mat_aos.h.

Vectormath::Aos::Matrix3::Matrix3 ( float  scalar)
inlineexplicit

Definition at line 38 of file neon/mat_aos.h.

Vectormath::Aos::Matrix3::Matrix3 ( )
inline

Definition at line 1128 of file scalar/vectormath_aos.h.

Vectormath::Aos::Matrix3::Matrix3 ( const Matrix3 mat)
inline
Vectormath::Aos::Matrix3::Matrix3 ( const Vector3 col0,
const Vector3 col1,
const Vector3 col2 
)
inline
Vectormath::Aos::Matrix3::Matrix3 ( const Quat unitQuat)
inlineexplicit
Vectormath::Aos::Matrix3::Matrix3 ( float  scalar)
inlineexplicit
Vectormath::Aos::Matrix3::Matrix3 ( )
inline

Definition at line 1677 of file sse/vectormath_aos.h.

Vectormath::Aos::Matrix3::Matrix3 ( const Matrix3 mat)
inline
Vectormath::Aos::Matrix3::Matrix3 ( const Vector3 col0,
const Vector3 col1,
const Vector3 col2 
)
inline
Vectormath::Aos::Matrix3::Matrix3 ( const Quat unitQuat)
inlineexplicit
Vectormath::Aos::Matrix3::Matrix3 ( float  scalar)
inlineexplicit
Vectormath::Aos::Matrix3::Matrix3 ( const floatInVec scalar)
inlineexplicit

Definition at line 79 of file sse/mat_aos.h.

Member Function Documentation

const Vector3 Vectormath::Aos::Matrix3::getCol ( int  col) const
inline
const Vector3 Vectormath::Aos::Matrix3::getCol ( int  col) const
inline

Definition at line 137 of file neon/mat_aos.h.

const Vector3 Vectormath::Aos::Matrix3::getCol ( int  col) const
inline
const Vector3 Vectormath::Aos::Matrix3::getCol0 ( ) const
inline
const Vector3 Vectormath::Aos::Matrix3::getCol0 ( ) const
inline

Definition at line 122 of file neon/mat_aos.h.

const Vector3 Vectormath::Aos::Matrix3::getCol0 ( ) const
inline
const Vector3 Vectormath::Aos::Matrix3::getCol1 ( ) const
inline
const Vector3 Vectormath::Aos::Matrix3::getCol1 ( ) const
inline

Definition at line 127 of file neon/mat_aos.h.

const Vector3 Vectormath::Aos::Matrix3::getCol1 ( ) const
inline
const Vector3 Vectormath::Aos::Matrix3::getCol2 ( ) const
inline
const Vector3 Vectormath::Aos::Matrix3::getCol2 ( ) const
inline

Definition at line 132 of file neon/mat_aos.h.

const Vector3 Vectormath::Aos::Matrix3::getCol2 ( ) const
inline
float Vectormath::Aos::Matrix3::getElem ( int  col,
int  row 
) const
inline
const floatInVec Vectormath::Aos::Matrix3::getElem ( int  col,
int  row 
) const
inline

Definition at line 117 of file neon/mat_aos.h.

const floatInVec Vectormath::Aos::Matrix3::getElem ( int  col,
int  row 
) const
inline
const Vector3 Vectormath::Aos::Matrix3::getRow ( int  row) const
inline
const Vector3 Vectormath::Aos::Matrix3::getRow ( int  row) const
inline

Definition at line 142 of file neon/mat_aos.h.

const Vector3 Vectormath::Aos::Matrix3::getRow ( int  row) const
inline
static const Matrix3 Vectormath::Aos::Matrix3::identity ( )
inlinestatic
const Matrix3 Vectormath::Aos::Matrix3::identity ( )
inlinestatic

Definition at line 295 of file neon/mat_aos.h.

static const Matrix3 Vectormath::Aos::Matrix3::identity ( )
inlinestatic
const Matrix3 Vectormath::Aos::Matrix3::operator* ( float  scalar) const
inline
const Vector3 Vectormath::Aos::Matrix3::operator* ( const Vector3 vec) const
inline
const Matrix3 Vectormath::Aos::Matrix3::operator* ( const Matrix3 mat) const
inline
const Matrix3 Vectormath::Aos::Matrix3::operator* ( float  scalar) const
inline

Definition at line 242 of file neon/mat_aos.h.

const Vector3 Vectormath::Aos::Matrix3::operator* ( const Vector3 vec) const
inline

Definition at line 262 of file neon/mat_aos.h.

const Matrix3 Vectormath::Aos::Matrix3::operator* ( const Matrix3 mat) const
inline

Definition at line 271 of file neon/mat_aos.h.

const Matrix3 Vectormath::Aos::Matrix3::operator* ( float  scalar) const
inline
const Matrix3 Vectormath::Aos::Matrix3::operator* ( const floatInVec scalar) const
inline

Definition at line 326 of file sse/mat_aos.h.

const Vector3 Vectormath::Aos::Matrix3::operator* ( const Vector3 vec) const
inline
const Matrix3 Vectormath::Aos::Matrix3::operator* ( const Matrix3 mat) const
inline
Matrix3& Vectormath::Aos::Matrix3::operator*= ( float  scalar)
inline
Matrix3& Vectormath::Aos::Matrix3::operator*= ( const Matrix3 mat)
inline
Matrix3 & Vectormath::Aos::Matrix3::operator*= ( float  scalar)
inline

Definition at line 251 of file neon/mat_aos.h.

Matrix3 & Vectormath::Aos::Matrix3::operator*= ( const Matrix3 mat)
inline

Definition at line 280 of file neon/mat_aos.h.

Matrix3& Vectormath::Aos::Matrix3::operator*= ( float  scalar)
inline
Matrix3 & Vectormath::Aos::Matrix3::operator*= ( const floatInVec scalar)
inline

Definition at line 340 of file sse/mat_aos.h.

Matrix3& Vectormath::Aos::Matrix3::operator*= ( const Matrix3 mat)
inline
const Matrix3 Vectormath::Aos::Matrix3::operator+ ( const Matrix3 mat) const
inline
const Matrix3 Vectormath::Aos::Matrix3::operator+ ( const Matrix3 mat) const
inline

Definition at line 194 of file neon/mat_aos.h.

const Matrix3 Vectormath::Aos::Matrix3::operator+ ( const Matrix3 mat) const
inline
Matrix3& Vectormath::Aos::Matrix3::operator+= ( const Matrix3 mat)
inline
Matrix3 & Vectormath::Aos::Matrix3::operator+= ( const Matrix3 mat)
inline

Definition at line 212 of file neon/mat_aos.h.

Matrix3& Vectormath::Aos::Matrix3::operator+= ( const Matrix3 mat)
inline
const Matrix3 Vectormath::Aos::Matrix3::operator- ( const Matrix3 mat) const
inline
const Matrix3 Vectormath::Aos::Matrix3::operator- ( ) const
inline
const Matrix3 Vectormath::Aos::Matrix3::operator- ( const Matrix3 mat) const
inline

Definition at line 203 of file neon/mat_aos.h.

const Matrix3 Vectormath::Aos::Matrix3::operator- ( ) const
inline

Definition at line 224 of file neon/mat_aos.h.

const Matrix3 Vectormath::Aos::Matrix3::operator- ( const Matrix3 mat) const
inline
const Matrix3 Vectormath::Aos::Matrix3::operator- ( ) const
inline
Matrix3& Vectormath::Aos::Matrix3::operator-= ( const Matrix3 mat)
inline
Matrix3 & Vectormath::Aos::Matrix3::operator-= ( const Matrix3 mat)
inline

Definition at line 218 of file neon/mat_aos.h.

Matrix3& Vectormath::Aos::Matrix3::operator-= ( const Matrix3 mat)
inline
Matrix3& Vectormath::Aos::Matrix3::operator= ( const Matrix3 mat)
inline
Matrix3 & Vectormath::Aos::Matrix3::operator= ( const Matrix3 mat)
inline

Definition at line 157 of file neon/mat_aos.h.

Matrix3& Vectormath::Aos::Matrix3::operator= ( const Matrix3 mat)
inline
Vector3& Vectormath::Aos::Matrix3::operator[] ( int  col)
inline
const Vector3 Vectormath::Aos::Matrix3::operator[] ( int  col) const
inline
Vector3 & Vectormath::Aos::Matrix3::operator[] ( int  col)
inline

Definition at line 147 of file neon/mat_aos.h.

const Vector3 Vectormath::Aos::Matrix3::operator[] ( int  col) const
inline

Definition at line 152 of file neon/mat_aos.h.

Vector3& Vectormath::Aos::Matrix3::operator[] ( int  col)
inline
const Vector3 Vectormath::Aos::Matrix3::operator[] ( int  col) const
inline
static const Matrix3 Vectormath::Aos::Matrix3::rotation ( float  radians,
const Vector3 unitVec 
)
inlinestatic
static const Matrix3 Vectormath::Aos::Matrix3::rotation ( const Quat unitQuat)
inlinestatic
const Matrix3 Vectormath::Aos::Matrix3::rotation ( float  radians,
const Vector3 unitVec 
)
inlinestatic

Definition at line 358 of file neon/mat_aos.h.

const Matrix3 Vectormath::Aos::Matrix3::rotation ( const Quat unitQuat)
inlinestatic

Definition at line 377 of file neon/mat_aos.h.

static const Matrix3 Vectormath::Aos::Matrix3::rotation ( float  radians,
const Vector3 unitVec 
)
inlinestatic
const Matrix3 Vectormath::Aos::Matrix3::rotation ( const floatInVec radians,
const Vector3 unitVec 
)
inlinestatic

Definition at line 501 of file sse/mat_aos.h.

static const Matrix3 Vectormath::Aos::Matrix3::rotation ( const Quat unitQuat)
inlinestatic
static const Matrix3 Vectormath::Aos::Matrix3::rotationX ( float  radians)
inlinestatic
const Matrix3 Vectormath::Aos::Matrix3::rotationX ( float  radians)
inlinestatic

Definition at line 304 of file neon/mat_aos.h.

static const Matrix3 Vectormath::Aos::Matrix3::rotationX ( float  radians)
inlinestatic
const Matrix3 Vectormath::Aos::Matrix3::rotationX ( const floatInVec radians)
inlinestatic

Definition at line 407 of file sse/mat_aos.h.

static const Matrix3 Vectormath::Aos::Matrix3::rotationY ( float  radians)
inlinestatic
const Matrix3 Vectormath::Aos::Matrix3::rotationY ( float  radians)
inlinestatic

Definition at line 316 of file neon/mat_aos.h.

static const Matrix3 Vectormath::Aos::Matrix3::rotationY ( float  radians)
inlinestatic
const Matrix3 Vectormath::Aos::Matrix3::rotationY ( const floatInVec radians)
inlinestatic

Definition at line 431 of file sse/mat_aos.h.

static const Matrix3 Vectormath::Aos::Matrix3::rotationZ ( float  radians)
inlinestatic
const Matrix3 Vectormath::Aos::Matrix3::rotationZ ( float  radians)
inlinestatic

Definition at line 328 of file neon/mat_aos.h.

static const Matrix3 Vectormath::Aos::Matrix3::rotationZ ( float  radians)
inlinestatic
const Matrix3 Vectormath::Aos::Matrix3::rotationZ ( const floatInVec radians)
inlinestatic

Definition at line 455 of file sse/mat_aos.h.

static const Matrix3 Vectormath::Aos::Matrix3::rotationZYX ( const Vector3 radiansXYZ)
inlinestatic
const Matrix3 Vectormath::Aos::Matrix3::rotationZYX ( const Vector3 radiansXYZ)
inlinestatic

Definition at line 340 of file neon/mat_aos.h.

static const Matrix3 Vectormath::Aos::Matrix3::rotationZYX ( const Vector3 radiansXYZ)
inlinestatic
static const Matrix3 Vectormath::Aos::Matrix3::scale ( const Vector3 scaleVec)
inlinestatic
const Matrix3 Vectormath::Aos::Matrix3::scale ( const Vector3 scaleVec)
inlinestatic

Definition at line 382 of file neon/mat_aos.h.

static const Matrix3 Vectormath::Aos::Matrix3::scale ( const Vector3 scaleVec)
inlinestatic
Matrix3& Vectormath::Aos::Matrix3::setCol ( int  col,
const Vector3 vec 
)
inline
Matrix3 & Vectormath::Aos::Matrix3::setCol ( int  col,
const Vector3 vec 
)
inline

Definition at line 94 of file neon/mat_aos.h.

Matrix3& Vectormath::Aos::Matrix3::setCol ( int  col,
const Vector3 vec 
)
inline
Matrix3& Vectormath::Aos::Matrix3::setCol0 ( const Vector3 col0)
inline
Matrix3 & Vectormath::Aos::Matrix3::setCol0 ( const Vector3 col0)
inline

Definition at line 76 of file neon/mat_aos.h.

Matrix3& Vectormath::Aos::Matrix3::setCol0 ( const Vector3 col0)
inline
Matrix3& Vectormath::Aos::Matrix3::setCol1 ( const Vector3 col1)
inline
Matrix3 & Vectormath::Aos::Matrix3::setCol1 ( const Vector3 col1)
inline

Definition at line 82 of file neon/mat_aos.h.

Matrix3& Vectormath::Aos::Matrix3::setCol1 ( const Vector3 col1)
inline
Matrix3& Vectormath::Aos::Matrix3::setCol2 ( const Vector3 col2)
inline
Matrix3 & Vectormath::Aos::Matrix3::setCol2 ( const Vector3 col2)
inline

Definition at line 88 of file neon/mat_aos.h.

Matrix3& Vectormath::Aos::Matrix3::setCol2 ( const Vector3 col2)
inline
Matrix3& Vectormath::Aos::Matrix3::setElem ( int  col,
int  row,
float  val 
)
inline
Matrix3 & Vectormath::Aos::Matrix3::setElem ( int  col,
int  row,
float  val 
)
inline

Definition at line 108 of file neon/mat_aos.h.

Matrix3& Vectormath::Aos::Matrix3::setElem ( int  col,
int  row,
float  val 
)
inline
Matrix3 & Vectormath::Aos::Matrix3::setElem ( int  col,
int  row,
const floatInVec val 
)
inline

Definition at line 162 of file sse/mat_aos.h.

Matrix3& Vectormath::Aos::Matrix3::setRow ( int  row,
const Vector3 vec 
)
inline
Matrix3 & Vectormath::Aos::Matrix3::setRow ( int  row,
const Vector3 vec 
)
inline

Definition at line 100 of file neon/mat_aos.h.

Matrix3& Vectormath::Aos::Matrix3::setRow ( int  row,
const Vector3 vec 
)
inline

Member Data Documentation

Vector3 Vectormath::Aos::Matrix3::mCol0
private

Definition at line 1138 of file neon/vectormath_aos.h.

Vector3 Vectormath::Aos::Matrix3::mCol1
private

Definition at line 1139 of file neon/vectormath_aos.h.

Vector3 Vectormath::Aos::Matrix3::mCol2
private

Definition at line 1140 of file neon/vectormath_aos.h.


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