Public Member Functions | Public Attributes
mat3 Struct Reference

#include <tgMathlib.h>

List of all members.

Public Member Functions

float det () const
void fromAngleAxis (float angle, const vec3 &axis)
void fromRotVector (const vec3 &r)
void getAxisAngle (vec3 &axis, float &angle)
void identity ()
mat3 inverse () const
 mat3 ()
 mat3 (const float *m)
 mat3 (const mat3 &m)
 mat3 (const mat4 &m)
 operator const float * () const
 operator float * ()
vec3 operator* (const vec3 &v) const
vec4 operator* (const vec4 &v) const
mat3 operator* (float f) const
mat3 operator* (const mat3 &m) const
mat3operator*= (float f)
mat3operator*= (const mat3 &m)
mat3 operator+ (const mat3 &m) const
mat3operator+= (const mat3 &m)
mat3 operator- (const mat3 &m) const
mat3operator-= (const mat3 &m)
float & operator[] (int i)
float operator[] (int i) const
void orthonormalize ()
void rotate (const vec3 &axis, float angle)
void rotate (float x, float y, float z, float angle)
void rotate_x (float angle)
void rotate_y (float angle)
void rotate_z (float angle)
void scale (const vec3 &v)
void scale (float x, float y, float z)
mat3 transpose () const
void zero ()

Public Attributes

float mat [9]

Detailed Description

Definition at line 316 of file tgMathlib.h.


Constructor & Destructor Documentation

mat3::mat3 ( ) [inline]

Definition at line 318 of file tgMathlib.h.

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

Definition at line 323 of file tgMathlib.h.

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

Definition at line 328 of file tgMathlib.h.

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

Definition at line 850 of file tgMathlib.h.


Member Function Documentation

float mat3::det ( ) const [inline]

Definition at line 403 of file tgMathlib.h.

void mat3::fromAngleAxis ( float  angle,
const vec3 axis 
) [inline]

Definition at line 507 of file tgMathlib.h.

void mat3::fromRotVector ( const vec3 r) [inline]

Definition at line 526 of file tgMathlib.h.

void mat3::getAxisAngle ( vec3 axis,
float &  angle 
) [inline]

Definition at line 533 of file tgMathlib.h.

void mat3::identity ( ) [inline]

Definition at line 433 of file tgMathlib.h.

mat3 mat3::inverse ( ) const [inline]

Definition at line 413 of file tgMathlib.h.

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

Definition at line 391 of file tgMathlib.h.

mat3::operator float * ( ) [inline]

Definition at line 390 of file tgMathlib.h.

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

Definition at line 335 of file tgMathlib.h.

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

Definition at line 342 of file tgMathlib.h.

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

Definition at line 350 of file tgMathlib.h.

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

Definition at line 357 of file tgMathlib.h.

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

Definition at line 385 of file tgMathlib.h.

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

Definition at line 386 of file tgMathlib.h.

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

Definition at line 370 of file tgMathlib.h.

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

Definition at line 387 of file tgMathlib.h.

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

Definition at line 377 of file tgMathlib.h.

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

Definition at line 388 of file tgMathlib.h.

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

Definition at line 393 of file tgMathlib.h.

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

Definition at line 394 of file tgMathlib.h.

void mat3::orthonormalize ( ) [inline]

Definition at line 492 of file tgMathlib.h.

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

Definition at line 438 of file tgMathlib.h.

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

Definition at line 457 of file tgMathlib.h.

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

Definition at line 460 of file tgMathlib.h.

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

Definition at line 468 of file tgMathlib.h.

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

Definition at line 476 of file tgMathlib.h.

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

Definition at line 484 of file tgMathlib.h.

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

Definition at line 489 of file tgMathlib.h.

mat3 mat3::transpose ( ) const [inline]

Definition at line 396 of file tgMathlib.h.

void mat3::zero ( ) [inline]

Definition at line 428 of file tgMathlib.h.


Member Data Documentation

float mat3::mat[9]

Definition at line 541 of file tgMathlib.h.


The documentation for this struct was generated from the following file:


blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Thu Jan 2 2014 11:38:26