Matrix34 Class Reference

#include <Matrix34.h>

Collaboration diagram for Matrix34:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Matrix34 (void)
 Matrix34 (const Vector4 &, const Vector4 &, const Vector4 &)
 Matrix34 (const Matrix34 &m)
 Matrix34 (float fillvalue)
 Matrix34 (const RotateVector &rotate)
 Matrix34 (const Quaternion &)
 Matrix34 (const RotateEuler &re)
 Matrix34 (const TSQ &tsq)
void SetIdentity (BOOL state)
void InitBottomRow ()
Matrix34operator *= (const Matrix34 &other)
const Vector4operator[] (int row) const
Vector4operator[] (int row)
void Set (const Vector4 &a, const Vector4 &b, const Vector4 &c)
void SetIdentity ()
Matrix34 Transpose (void) const
Matrix34 Inverse (void) const
void SetTranslate (const Vector &t)
Vector GetTranslate (void) const
Matrix34 NoTranslate (void) const
Matrix34 GetScaleMatrix (void) const
Vector GetScaleVector (void) const
int operator== (const Matrix34 &a) const
int operator!= (const Matrix34 &a) const
Vector GetXAxis () const
Vector GetYAxis () const
Vector GetZAxis () const
Matrix34 operator * (const Matrix34 &) const
Vector operator * (const Vector &) const
Matrix34 InvertRotateTranslate () const

Protected Attributes

Vector4 v [3]

Friends

Vector operator * (const Vector &v, const Matrix34 &m)
MATRIXEXPORT Matrix34 Identity34 (void)
MATRIXEXPORT Matrix34 Translatef (float x, float y, float z)
MATRIXEXPORT Matrix34 TranslateV (const Vector &v)
MATRIXEXPORT Matrix34 Scalef (float x, float y, float z)
MATRIXEXPORT Matrix34 ScaleV (const Vector &v)
MATRIXEXPORT Matrix34 RotateVRadians (float angle, const Vector &axis)
MATRIXEXPORT Matrix34 Rotatef (float angle, float x, float y, float z)
MATRIXEXPORT Matrix34 Rotate2V (const Vector &from, const Vector &to)
MATRIXEXPORT Matrix34 XRotateRadians (float anglerad)
MATRIXEXPORT Matrix34 YRotateRadians (float anglerad)
MATRIXEXPORT Matrix34 ZRotateRadians (float anglerad)
MATRIXEXPORT Matrix34 YXRotateRadians (float yangle, float xangle)
MATRIXEXPORT Matrix34 YXZRotateRadians (float yangle, float xangle, float zangle)
Matrix34 YXZRotate (float yangle, float xangle, float zangle)
MATRIXEXPORT Matrix34 XZYRotate (float xangle, float zangle, float yangle)
MATRIXEXPORT Matrix34 VectorsToStandard (const Vector &becomezdir, const Vector &becomeydir)
MATRIXEXPORT Matrix34 StandardToVectors (const Vector &newzdir, const Vector &newydir)
Matrix34 RotateV (float angle, const Vector &axis)
Matrix34 XRotate (float angle)
Matrix34 YRotate (float angle)
Matrix34 ZRotate (float angle)
MATRIXEXPORT Matrix44 ToMatrix44 (const Matrix33 &m)
MATRIXEXPORT Matrix44 ToMatrix44 (const Matrix34 &m)
MATRIXEXPORT Matrix33 ToMatrix33 (const Matrix34 &m)
MATRIXEXPORT Matrix33 ToMatrix33 (const Matrix44 &m)
MATRIXEXPORT Matrix34 ToMatrix34 (const Matrix44 &m)
MATRIXEXPORT Matrix34 ToMatrix34 (const Matrix33 &m)
MATRIXEXPORT void MatrixTimesScale (Matrix34 &a, const Vector &s)
MATRIXEXPORT void ScaleTimesMatrix (const Vector &s, Matrix34 &a)
MATRIXEXPORT void TwoVectorsToAxisAngle (const Vector &from, const Vector &to, Vector &axis, float &radangle)
MATRIXEXPORT void TransformVectorNoTranslate (const Matrix34 &matrix, Vector &p)
Matrix34 CreateEulerMatrix (const Rotate &rotate)
void TransformVector (const Matrix34 &matrix, Vector &p)

Detailed Description

Definition at line 21 of file Matrix34.h.


Constructor & Destructor Documentation

Matrix34::Matrix34 void   )  [inline]
 

Definition at line 33 of file Matrix34.h.

References FALSE.

Referenced by GetScaleMatrix(), NoTranslate(), and Transpose().

Matrix34::Matrix34 const Vector4 ,
const Vector4 ,
const Vector4
[inline]
 

Definition at line 175 of file Matrix34.h.

References Set().

Here is the call graph for this function:

Matrix34::Matrix34 const Matrix34 m  )  [inline]
 

Definition at line 455 of file Matrix34.h.

Matrix34::Matrix34 float  fillvalue  )  [inline]
 

Definition at line 180 of file Matrix34.h.

References FALSE, and SetIdentity().

Here is the call graph for this function:

Matrix34::Matrix34 const RotateVector rotate  )  [inline]
 

Definition at line 188 of file Matrix34.h.

References RotateVector::end, FALSE, float(), RADIANS, RotateVector::roll, SetIdentity(), Vector::x, Vector::y, YXRotateRadians, YXZRotateRadians, and Vector::z.

Here is the call graph for this function:

Matrix34::Matrix34 const Quaternion  ) 
 

Matrix34::Matrix34 const RotateEuler re  )  [inline]
 

Definition at line 199 of file Matrix34.h.

References FALSE, SetIdentity(), RotateEuler::x, RotateEuler::y, YXZRotate, and RotateEuler::z.

Here is the call graph for this function:

Matrix34::Matrix34 const TSQ tsq  ) 
 


Member Function Documentation

Matrix34 Matrix34::GetScaleMatrix void   )  const [inline]
 

Definition at line 236 of file Matrix34.h.

References Matrix34(), and NoTranslate().

Referenced by GetScaleVector().

Here is the call graph for this function:

Vector Matrix34::GetScaleVector void   )  const [inline]
 

Definition at line 241 of file Matrix34.h.

References GetScaleMatrix().

Here is the call graph for this function:

Vector Matrix34::GetTranslate void   )  const [inline]
 

Definition at line 224 of file Matrix34.h.

Vector Matrix34::GetXAxis  )  const [inline]
 

Definition at line 76 of file Matrix34.h.

Vector Matrix34::GetYAxis  )  const [inline]
 

Definition at line 77 of file Matrix34.h.

Referenced by RotateEuler::RotateEuler(), and RotateVector::RotateVector().

Vector Matrix34::GetZAxis  )  const [inline]
 

Definition at line 78 of file Matrix34.h.

Referenced by RotateEuler::RotateEuler(), and RotateVector::RotateVector().

void Matrix34::InitBottomRow  )  [inline]
 

Definition at line 53 of file Matrix34.h.

Referenced by Identity34(), and Set().

Matrix34 Matrix34::Inverse void   )  const [inline]
 

Definition at line 472 of file Matrix34.h.

References Matrix44::Inverse(), ToMatrix34, and ToMatrix44.

Here is the call graph for this function:

Matrix34 Matrix34::InvertRotateTranslate  )  const [inline]
 

Definition at line 82 of file Matrix34.h.

References SetTranslate().

Here is the call graph for this function:

Matrix34 Matrix34::NoTranslate void   )  const [inline]
 

Definition at line 229 of file Matrix34.h.

References Matrix34().

Referenced by GetScaleMatrix().

Here is the call graph for this function:

Vector Matrix34::operator * const Vector  )  const [inline]
 

Definition at line 460 of file Matrix34.h.

Matrix34 Matrix34::operator * const Matrix34  )  const
 

Matrix34& Matrix34::operator *= const Matrix34 other  )  [inline]
 

Definition at line 55 of file Matrix34.h.

int Matrix34::operator!= const Matrix34 a  )  const [inline]
 

Definition at line 75 of file Matrix34.h.

int Matrix34::operator== const Matrix34 a  )  const [inline]
 

Definition at line 74 of file Matrix34.h.

Vector4& Matrix34::operator[] int  row  )  [inline]
 

Definition at line 58 of file Matrix34.h.

const Vector4& Matrix34::operator[] int  row  )  const [inline]
 

Definition at line 57 of file Matrix34.h.

void Matrix34::Set const Vector4 a,
const Vector4 b,
const Vector4 c
[inline]
 

Definition at line 166 of file Matrix34.h.

References FALSE, InitBottomRow(), and SetIdentity().

Referenced by Matrix34().

Here is the call graph for this function:

void Matrix34::SetIdentity  )  [inline]
 

Definition at line 60 of file Matrix34.h.

References TRUE.

Referenced by Matrix34(), Set(), and SetTranslate().

void Matrix34::SetIdentity BOOL  state  )  [inline]
 

Definition at line 52 of file Matrix34.h.

Referenced by Identity34().

void Matrix34::SetTranslate const Vector t  )  [inline]
 

Definition at line 216 of file Matrix34.h.

References FALSE, SetIdentity(), Vector::x, Vector::y, and Vector::z.

Referenced by InvertRotateTranslate().

Here is the call graph for this function:

Matrix34 Matrix34::Transpose void   )  const [inline]
 

Definition at line 465 of file Matrix34.h.

References Matrix34().

Referenced by CreateEulerMatrix().

Here is the call graph for this function:


Friends And Related Function Documentation

Matrix34 CreateEulerMatrix const Rotate rotate  )  [friend]
 

Definition at line 155 of file Matrix34.h.

MATRIXEXPORT Matrix34 Identity34 void   )  [friend]
 

Definition at line 205 of file Matrix34.h.

MATRIXEXPORT void MatrixTimesScale Matrix34 a,
const Vector s
[friend]
 

Vector operator * const Vector v,
const Matrix34 m
[friend]
 

Definition at line 131 of file Matrix34.h.

MATRIXEXPORT Matrix34 Rotate2V const Vector from,
const Vector to
[friend]
 

MATRIXEXPORT Matrix34 Rotatef float  angle,
float  x,
float  y,
float  z
[friend]
 

Definition at line 354 of file Matrix34.h.

Matrix34 RotateV float  angle,
const Vector axis
[friend]
 

Definition at line 139 of file Matrix34.h.

MATRIXEXPORT Matrix34 RotateVRadians float  angle,
const Vector axis
[friend]
 

MATRIXEXPORT Matrix34 Scalef float  x,
float  y,
float  z
[friend]
 

Definition at line 342 of file Matrix34.h.

MATRIXEXPORT void ScaleTimesMatrix const Vector s,
Matrix34 a
[friend]
 

MATRIXEXPORT Matrix34 ScaleV const Vector v  )  [friend]
 

Definition at line 349 of file Matrix34.h.

MATRIXEXPORT Matrix34 StandardToVectors const Vector newzdir,
const Vector newydir
[friend]
 

Definition at line 310 of file Matrix34.h.

MATRIXEXPORT Matrix33 ToMatrix33 const Matrix44 m  )  [friend]
 

Definition at line 279 of file Matrix34.h.

MATRIXEXPORT Matrix33 ToMatrix33 const Matrix34 m  )  [friend]
 

Definition at line 272 of file Matrix34.h.

MATRIXEXPORT Matrix34 ToMatrix34 const Matrix33 m  )  [friend]
 

Definition at line 293 of file Matrix34.h.

MATRIXEXPORT Matrix34 ToMatrix34 const Matrix44 m  )  [friend]
 

Definition at line 286 of file Matrix34.h.

Referenced by Inverse().

MATRIXEXPORT Matrix44 ToMatrix44 const Matrix34 m  )  [friend]
 

Definition at line 255 of file Matrix34.h.

MATRIXEXPORT Matrix44 ToMatrix44 const Matrix33 m  )  [friend]
 

Definition at line 263 of file Matrix34.h.

Referenced by Inverse().

void TransformVector const Matrix34 matrix,
Vector p
[friend]
 

Definition at line 159 of file Matrix34.h.

MATRIXEXPORT void TransformVectorNoTranslate const Matrix34 matrix,
Vector p
[friend]
 

Definition at line 359 of file Matrix34.h.

MATRIXEXPORT Matrix34 Translatef float  x,
float  y,
float  z
[friend]
 

Definition at line 330 of file Matrix34.h.

MATRIXEXPORT Matrix34 TranslateV const Vector v  )  [friend]
 

Definition at line 337 of file Matrix34.h.

MATRIXEXPORT void TwoVectorsToAxisAngle const Vector from,
const Vector to,
Vector axis,
float &  radangle
[friend]
 

MATRIXEXPORT Matrix34 VectorsToStandard const Vector becomezdir,
const Vector becomeydir
[friend]
 

Definition at line 300 of file Matrix34.h.

Matrix34 XRotate float  angle  )  [friend]
 

Definition at line 143 of file Matrix34.h.

MATRIXEXPORT Matrix34 XRotateRadians float  anglerad  )  [friend]
 

Definition at line 366 of file Matrix34.h.

MATRIXEXPORT Matrix34 XZYRotate float  xangle,
float  zangle,
float  yangle
[friend]
 

Matrix34 YRotate float  angle  )  [friend]
 

Definition at line 147 of file Matrix34.h.

MATRIXEXPORT Matrix34 YRotateRadians float  anglerad  )  [friend]
 

Definition at line 375 of file Matrix34.h.

MATRIXEXPORT Matrix34 YXRotateRadians float  yangle,
float  xangle
[friend]
 

Referenced by Matrix34().

Matrix34 YXZRotate float  yangle,
float  xangle,
float  zangle
[friend]
 

Definition at line 135 of file Matrix34.h.

Referenced by Matrix34().

MATRIXEXPORT Matrix34 YXZRotateRadians float  yangle,
float  xangle,
float  zangle
[friend]
 

Referenced by Matrix34().

Matrix34 ZRotate float  angle  )  [friend]
 

Definition at line 151 of file Matrix34.h.

MATRIXEXPORT Matrix34 ZRotateRadians float  anglerad  )  [friend]
 

Definition at line 384 of file Matrix34.h.


Member Data Documentation

Vector4 Matrix34::v[3] [protected]
 

Definition at line 29 of file Matrix34.h.


The documentation for this class was generated from the following file:
This A:M SDK v12.0 documentation is maintained by Hash Inc. Please address any comments concerning this documentation to AMReports. If you have any information, knowledge, or documentation to share with the A:M developer community, please post them on the Hash SDK forum.

Generated on Thu Oct 27 11:47:00 2005 with doxygen 1.4.5 written by Dimitri van Heesch, © 1997-2001