$search

mat4 Struct Reference

#include <tgMathlib.h>

List of all members.

Public Member Functions

float det () const
void identity ()
mat4 inverse () const
void look_at (const float *eye, const float *dir, const float *up)
void look_at (const vec3 &eye, const vec3 &dir, const vec3 &up)
 mat4 (const mat4 &m)
 mat4 (const float *m)
 mat4 (const mat3 &m)
 mat4 (float x, float y, float z, float angle)
 mat4 (const vec3 &axis, float angle)
 mat4 (float x, float y, float z)
 mat4 (const vec3 &v)
 mat4 ()
 operator const float * () const
 operator float * ()
mat4 operator* (const mat4 &m) const
mat4 operator* (float f) const
vec4 operator* (const vec4 &v) const
vec3 operator* (const vec3 &v) const
mat4operator*= (const mat4 &m)
mat4operator*= (float f)
mat4 operator+ (const mat4 &m) const
mat4operator+= (const mat4 &m)
mat4 operator- (const mat4 &m) const
mat4operator-= (const mat4 &m)
float operator[] (int i) const
float & operator[] (int i)
void perspective (float fov, float aspect, float znear, float zfar)
void reflect (float x, float y, float z, float w)
void reflect (const vec4 &plane)
void rotate (float x, float y, float z, float angle)
void rotate (const vec3 &axis, float angle)
void rotate_x (float angle)
void rotate_y (float angle)
void rotate_z (float angle)
mat4 rotation () const
void scale (float x, float y, float z)
void scale (const vec3 &v)
void translate (float x, float y, float z)
void translate (const vec3 &v)
mat4 transpose () const
mat4 transpose_rotation () const
void zero ()

Public Attributes

float mat [16]

Detailed Description

Definition at line 550 of file tgMathlib.h.


Constructor & Destructor Documentation

mat4::mat4 (  )  [inline]

Definition at line 552 of file tgMathlib.h.

mat4::mat4 ( const vec3 v  )  [inline]

Definition at line 558 of file tgMathlib.h.

mat4::mat4 ( float  x,
float  y,
float  z 
) [inline]

Definition at line 561 of file tgMathlib.h.

mat4::mat4 ( const vec3 axis,
float  angle 
) [inline]

Definition at line 564 of file tgMathlib.h.

mat4::mat4 ( float  x,
float  y,
float  z,
float  angle 
) [inline]

Definition at line 567 of file tgMathlib.h.

mat4::mat4 ( const mat3 m  )  [inline]

Definition at line 570 of file tgMathlib.h.

mat4::mat4 ( const float *  m  )  [inline]

Definition at line 576 of file tgMathlib.h.

mat4::mat4 ( const mat4 m  )  [inline]

Definition at line 582 of file tgMathlib.h.


Member Function Documentation

float mat4::det (  )  const [inline]

Definition at line 685 of file tgMathlib.h.

void mat4::identity (  )  [inline]

Definition at line 724 of file tgMathlib.h.

mat4 mat4::inverse (  )  const [inline]

Definition at line 696 of file tgMathlib.h.

void mat4::look_at ( const float *  eye,
const float *  dir,
const float *  up 
) [inline]

Definition at line 843 of file tgMathlib.h.

void mat4::look_at ( const vec3 eye,
const vec3 dir,
const vec3 up 
) [inline]

Definition at line 827 of file tgMathlib.h.

mat4::operator const float * (  )  const [inline]

Definition at line 655 of file tgMathlib.h.

mat4::operator float * (  )  [inline]

Definition at line 654 of file tgMathlib.h.

mat4 mat4::operator* ( const mat4 m  )  const [inline]

Definition at line 612 of file tgMathlib.h.

mat4 mat4::operator* ( float  f  )  const [inline]

Definition at line 604 of file tgMathlib.h.

vec4 mat4::operator* ( const vec4 v  )  const [inline]

Definition at line 596 of file tgMathlib.h.

vec3 mat4::operator* ( const vec3 v  )  const [inline]

Definition at line 589 of file tgMathlib.h.

mat4& mat4::operator*= ( const mat4 m  )  [inline]

Definition at line 650 of file tgMathlib.h.

mat4& mat4::operator*= ( float  f  )  [inline]

Definition at line 649 of file tgMathlib.h.

mat4 mat4::operator+ ( const mat4 m  )  const [inline]

Definition at line 632 of file tgMathlib.h.

mat4& mat4::operator+= ( const mat4 m  )  [inline]

Definition at line 651 of file tgMathlib.h.

mat4 mat4::operator- ( const mat4 m  )  const [inline]

Definition at line 640 of file tgMathlib.h.

mat4& mat4::operator-= ( const mat4 m  )  [inline]

Definition at line 652 of file tgMathlib.h.

float mat4::operator[] ( int  i  )  const [inline]

Definition at line 658 of file tgMathlib.h.

float& mat4::operator[] ( int  i  )  [inline]

Definition at line 657 of file tgMathlib.h.

void mat4::perspective ( float  fov,
float  aspect,
float  znear,
float  zfar 
) [inline]

Definition at line 814 of file tgMathlib.h.

void mat4::reflect ( float  x,
float  y,
float  z,
float  w 
) [inline]

Definition at line 810 of file tgMathlib.h.

void mat4::reflect ( const vec4 plane  )  [inline]

Definition at line 798 of file tgMathlib.h.

void mat4::rotate ( float  x,
float  y,
float  z,
float  angle 
) [inline]

Definition at line 750 of file tgMathlib.h.

void mat4::rotate ( const vec3 axis,
float  angle 
) [inline]

Definition at line 730 of file tgMathlib.h.

void mat4::rotate_x ( float  angle  )  [inline]

Definition at line 753 of file tgMathlib.h.

void mat4::rotate_y ( float  angle  )  [inline]

Definition at line 762 of file tgMathlib.h.

void mat4::rotate_z ( float  angle  )  [inline]

Definition at line 771 of file tgMathlib.h.

mat4 mat4::rotation (  )  const [inline]

Definition at line 660 of file tgMathlib.h.

void mat4::scale ( float  x,
float  y,
float  z 
) [inline]

Definition at line 786 of file tgMathlib.h.

void mat4::scale ( const vec3 v  )  [inline]

Definition at line 780 of file tgMathlib.h.

void mat4::translate ( float  x,
float  y,
float  z 
) [inline]

Definition at line 795 of file tgMathlib.h.

void mat4::translate ( const vec3 v  )  [inline]

Definition at line 789 of file tgMathlib.h.

mat4 mat4::transpose (  )  const [inline]

Definition at line 668 of file tgMathlib.h.

mat4 mat4::transpose_rotation (  )  const [inline]

Definition at line 676 of file tgMathlib.h.

void mat4::zero (  )  [inline]

Definition at line 718 of file tgMathlib.h.


Member Data Documentation

float mat4::mat[16]

Definition at line 847 of file tgMathlib.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Fri Mar 1 16:57:55 2013